Re: [2/2] gdiplus: Store graphics clipping region in device coordinates.
July 19, 2013
2:55 p.m.
I'm curious what happens if the world transform has some rotation. It seems like transform_rectf would break in that case.
July 2013
3:51 p.m.
New subject: [2/2] gdiplus: Store graphics clipping region in device coordinates.
Vincent Povirk <madewokherd(a)gmail.com> wrote:
I'm curious what happens if the world transform has some rotation. It seems like transform_rectf would break in that case.
It works just fine in the samples I have here, why would it break? -- Dmitry.
3:57 p.m.
New subject: [2/2] gdiplus: Store graphics clipping region in device coordinates.
It works just fine in the samples I have here, why would it break?
If the rotation is a multiple of 90 degrees, the upper-left corner will not be the same point, but you're not making any attempt to use a different corner for the origin of your rectangle. If the rotation is something like 45 degrees, the result can't be expressed as a RectF.
4633
Age (days ago)
4633
Last active (days ago)
2 comments
2 participants
participants (2)
-
Dmitry Timoshkov -
Vincent Povirk