summaryrefslogtreecommitdiff
path: root/src/cairo-surface-fallback.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2006-06-29 19:47:26 +0200
committerCarl Worth <cworth@cworth.org>2006-06-29 21:33:34 +0200
commitbd92eb7f3c58fdcbe05f67b9a879798246c616bc (patch)
tree02ce459db66aaf17344e5ddcad1e5391f62d5367 /src/cairo-surface-fallback.c
parent29caf8915f822778f0e59add7d364a03bcdb8327 (diff)
Move device_transform of path to before floating->fixed conversion.
This is an attempt to fix the following bug: http://bugzilla.gnome.org/show_bug.cgi?id=332266 With the recent rewrite of the device-offset code, which pushed things from the gstate to the surface layer, the 16-bit limitations on coordinates which previously applied to device space only, have lately been applying to user space. This commit moves the device_transform back up above the conversion from floating-point to fixed-point values so that once again the limitation only applies to device space.
Diffstat (limited to 'src/cairo-surface-fallback.c')
-rw-r--r--src/cairo-surface-fallback.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cairo-surface-fallback.c b/src/cairo-surface-fallback.c
index 5f7607a1..090da70a 100644
--- a/src/cairo-surface-fallback.c
+++ b/src/cairo-surface-fallback.c
@@ -991,6 +991,7 @@ _cairo_surface_fallback_snapshot (cairo_surface_t *surface)
image, &image_extra);
snapshot->device_transform = surface->device_transform;
+ snapshot->device_transform_inverse = surface->device_transform_inverse;
snapshot->is_snapshot = TRUE;