Re: [2/2] gdiplus: Store graphics clipping region in device coordinates.
19 Jul
2013
19 Jul
'13
9:55 a.m.
I'm curious what happens if the world transform has some rotation. It seems like transform_rectf would break in that case.
19 Jul
19 Jul
10:51 a.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.
10:57 a.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.
4532
Age (days ago)
4532
Last active (days ago)
2 comments
2 participants
participants (2)
-
Dmitry Timoshkov -
Vincent Povirk