Skip to content

Commit

Permalink
win32 printing: fix image scale when GDI scale is not identity
Browse files Browse the repository at this point in the history
  • Loading branch information
Adrian Johnson committed Sep 14, 2014
1 parent e691d24 commit 0aa43ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/win32/cairo-win32-printing-surface.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0aa43ed

Please sign in to comment.