summaryrefslogtreecommitdiff
path: root/test/pixman-rotate.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-05-03 08:33:32 +0000
committerCarl Worth <cworth@cworth.org>2005-05-03 08:33:32 +0000
commit05ccd7685420be7c7213e68462e1fcc4c01bad3c (patch)
tree1a78808e9128fc08b6424c537899ba98e3048a3c /test/pixman-rotate.c
parent8283381f120c0d5a4d3d770a541a576974cfdf89 (diff)
downloadcairo-05ccd7685420be7c7213e68462e1fcc4c01bad3c.tar.gz
Originally 2005-04-20 Carl Worth <cworth@cworth.org>
Remove cairo_show_surface. Add new cairo_set_source_surface. Remove _cairo_gstate_show_surface. Replace calls to cairo_show_surface with cairo_set_source_surface; cairo_paint. Fix messages to prefer - over _. Fix documentation. Three new tests to exercise set_source_surface more completely, (two of these are expected failures dues to outstanding bugs).
Diffstat (limited to 'test/pixman-rotate.c')
-rw-r--r--test/pixman-rotate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/pixman-rotate.c b/test/pixman-rotate.c
index 624bc2f38..e45c5cf23 100644
--- a/test/pixman-rotate.c
+++ b/test/pixman-rotate.c
@@ -58,7 +58,8 @@ draw (cairo_t *cr, int width, int height)
cairo_translate (cr, WIDTH, HEIGHT);
#endif
- cairo_show_surface (cr, stamp, WIDTH + 2, HEIGHT + 2);
+ cairo_set_source_surface (cr, stamp, 0, 0);
+ cairo_paint (cr);
cairo_show_page (cr);