mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-04-17 13:50:50 +02:00
win32 printing: fix image scale when GDI scale is not identity
This commit is contained in:
parent
5243541f82
commit
0bb3d86645
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue