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:
Adrian Johnson 2008-10-16 17:22:48 +10:30
parent 6afcd82118
commit 5911c6966d
2 changed files with 2 additions and 2 deletions

View file

@ -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);
}

View file

@ -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;