Revert "gdiplus: Ignore gdiplus page and world transformations when creating a gdi32 clipping region."
dmitry at baikal.ru
Fri Jul 12 03:11:38 CDT 2013
This reverts commit 61dafbb7012061fda7a737daf24340ce927ce2cc.
This should fix the regression reported in the bug 33566. Clip region really
should take into account the graphics transfrom, and the tests confirm that.
I have a set of patches in the work that fixes most of the test failures along
with the clipping problem which 61dafbb7 was supposed to fix in a different
dlls/gdiplus/graphics.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/gdiplus/graphics.c b/dlls/gdiplus/graphics.c
index dcdc29e..e0465ad 100644
@@ -349,7 +349,7 @@ static void gdi_alpha_blend(GpGraphics *graphics, INT dst_x, INT dst_y, INT dst_
static GpStatus get_clip_hrgn(GpGraphics *graphics, HRGN *hrgn)
- return GdipGetRegionHRgn(graphics->clip, NULL, hrgn);
+ return GdipGetRegionHRgn(graphics->clip, graphics, hrgn);
/* Draw non-premultiplied ARGB data to the given graphics object */
More information about the wine-patches