cairo/src/win32
Marc-André Lureau e66e9ac12e win32: fix corrupted drawing
Fix src bitmap coordinates, which origin is bottom-left. This is
apparently a bug in StretchDIBits(), according to some comments on
MSDN API documentation.

The backend used to have this coordinate change in the past:

            if (!StretchDIBits (dst->dc,
                                /* dst x,y,w,h */
                                dst_r.x, dst_r.y + dst_r.height - 1,
                                dst_r.width, - (int) dst_r.height,
                                /* src x,y,w,h */
                                src_r.x, src_extents.height - src_r.y + 1,
                                src_r.width, - (int) src_r.height,
                                src_image->data,
                                &bi,
                                DIB_RGB_COLORS,
                                SRCCOPY))

https://bugs.freedesktop.org/show_bug.cgi?id=61876
2013-04-02 08:39:05 +01:00
..
cairo-win32-debug.c win32: Rebase on the new compositor infrastructure 2012-02-15 14:37:11 +00:00
cairo-win32-device.c win32: Fix is_win98() 2013-02-07 10:02:31 +00:00
cairo-win32-display-surface.c win32: Free the fallback upon finish 2013-02-15 14:08:11 +00:00
cairo-win32-font.c doc: Add "since" tag to documentation 2012-03-29 11:03:18 +02:00
cairo-win32-gdi-compositor.c win32: fix corrupted drawing 2013-04-02 08:39:05 +01:00
cairo-win32-printing-surface.c Split cairo-recording-surface-private into struct+inlines 2012-04-19 12:46:34 +01:00
cairo-win32-private.h win32: Rebase on the new compositor infrastructure 2012-02-15 14:37:11 +00:00
cairo-win32-surface.c doc: Add "since" tag to documentation 2012-03-29 11:03:18 +02:00
cairo-win32-system.c win32: Rebase on the new compositor infrastructure 2012-02-15 14:37:11 +00:00