summaryrefslogtreecommitdiff
path: root/test/source-surface-scale-paint.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2005-08-01 14:39:01 +0000
committerOwen Taylor <otaylor@redhat.com>2005-08-01 14:39:01 +0000
commit500cc6fed1858d5e9240ce61bbbf00781ae4c097 (patch)
treebd1e3e93f6e26ada5f46dfbd9ac27b736d9d2fd8 /test/source-surface-scale-paint.c
parentc525c684ca712c5c5acd5431ec061bfab364cef5 (diff)
downloadcairo-500cc6fed1858d5e9240ce61bbbf00781ae4c097.tar.gz
src/cairo-gstate.c src/cairo-gstate-private.h: Store the inverse CTM at the time of cairo_gstate_set_source() to "lock" the user space matrix.
Move the source pattern transformation to the outside of _cairo_gstate_clip_and_composite_trapezoids() instead of doing it at the leaves. Change size of output surface for aesthetics. Updated to correspond to the current definition. Remove source-surface-scale-paint. reviewed by: cworth
Diffstat (limited to 'test/source-surface-scale-paint.c')
-rw-r--r--test/source-surface-scale-paint.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/source-surface-scale-paint.c b/test/source-surface-scale-paint.c
index 9862ba594..1af972f23 100644
--- a/test/source-surface-scale-paint.c
+++ b/test/source-surface-scale-paint.c
@@ -28,7 +28,7 @@
cairo_test_t test = {
"source-surface-scale-paint",
"Test call sequence: cairo_set_source_surface; cairo_scale; cairo_paint",
- 12, 12
+ 8, 8
};
static cairo_test_status_t
@@ -59,6 +59,5 @@ draw (cairo_t *cr, int width, int height)
int
main (void)
{
- return cairo_test_expect_failure (&test, draw,
- "cairo_set_source needs user space locking semantics");
+ return cairo_test (&test, draw);
}