summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-04-02 06:00:32 +0000
committerCarl Worth <cworth@cworth.org>2005-04-02 06:00:32 +0000
commit5778c77382f3a81b77aca1d224d0ad7626bcd5d2 (patch)
tree2b2dc18ff061c28f3bb5a434190e14430e306bad /src
parent9e405876e86ce004cd69b87a10c1bf7ce7d1b436 (diff)
Use the current point to offset just the destination, not the source and destination. With this fix, cairo_show_surface should work with the current point at places other than the origin.
Move move-to-show-surface off the expected failure list. Add comment indicating that bug is resolved. Don't use diff to compare images, just imagediff.
Diffstat (limited to 'src')
-rw-r--r--src/cairo-gstate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cairo-gstate.c b/src/cairo-gstate.c
index c8d8427e..e794fb4a 100644
--- a/src/cairo-gstate.c
+++ b/src/cairo-gstate.c
@@ -2111,7 +2111,7 @@ _cairo_gstate_show_surface (cairo_gstate_t *gstate,
&pattern.base,
&clip_pattern.base,
gstate->surface,
- extents.x, extents.y,
+ 0, 0,
0, 0,
extents.x, extents.y,
extents.width, extents.height);
@@ -2132,7 +2132,7 @@ _cairo_gstate_show_surface (cairo_gstate_t *gstate,
&pattern.base,
NULL,
gstate->surface,
- extents.x, extents.y,
+ 0, 0,
0, 0,
extents.x, extents.y,
extents.width, extents.height);