mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-05-05 11:08:12 +02:00
Use correct inverse ctm for stroke in meta surface replay
This fixes #9189 Dashed strokes too long in fallback images
This commit is contained in:
parent
6afcd82118
commit
5911c6966d
2 changed files with 2 additions and 2 deletions
|
|
@ -822,7 +822,7 @@ _cairo_meta_surface_replay_internal (cairo_surface_t *surface,
|
|||
if (has_device_transform) {
|
||||
cairo_matrix_multiply (&dev_ctm, &dev_ctm, device_transform);
|
||||
cairo_matrix_multiply (&dev_ctm_inverse,
|
||||
&surface->device_transform_inverse,
|
||||
&target->device_transform_inverse,
|
||||
&dev_ctm_inverse);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -301,7 +301,7 @@ main (void)
|
|||
cairo_test_context_t ctx;
|
||||
cairo_t *cr;
|
||||
cairo_test_status_t ret = CAIRO_TEST_UNTESTED;
|
||||
double ppi[] = { 600., 300., 150., 75., 72, 37.5 };
|
||||
double ppi[] = { 576., 288., 144., 72., 36. };
|
||||
unsigned int i;
|
||||
int ppi_x, ppi_y, num_ppi;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue