[cairo-commit] src/win32
Adrian Johnson
ajohnson at kemper.freedesktop.org
Sun Sep 14 05:36:57 PDT 2014
src/win32/cairo-win32-printing-surface.c | 1 +
1 file changed, 1 insertion(+)
New commits:
commit 0aa43ed886c0f8468a21a470f2f024bd4d8a4513
Author: Adrian Johnson <ajohnson at redneon.com>
Date: Sun Sep 14 22:02:12 2014 +0930
win32 printing: fix image scale when GDI scale is not identity
diff --git a/src/win32/cairo-win32-printing-surface.c b/src/win32/cairo-win32-printing-surface.c
index c0a096c..6005cb5 100644
--- a/src/win32/cairo-win32-printing-surface.c
+++ b/src/win32/cairo-win32-printing-surface.c
@@ -726,6 +726,7 @@ _cairo_win32_printing_surface_paint_image_pattern (cairo_win32_printing_surface_
/* _cairo_pattern_set_matrix guarantees invertibility */
assert (status == CAIRO_STATUS_SUCCESS);
+ cairo_matrix_multiply (&m, &m, &surface->ctm);
cairo_matrix_multiply (&m, &m, &surface->gdi_ctm);
SaveDC (surface->win32.dc);
_cairo_matrix_to_win32_xform (&m, &xform);
More information about the cairo-commit
mailing list