diff options
author | Carl Worth <cworth@cworth.org> | 2005-07-18 08:04:16 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2005-07-18 08:04:16 +0000 |
commit | 751e059f5c506138c478fbcc2e9dfe8e92aaa3ab (patch) | |
tree | cac7e85528b44e32e2ee196baa3f956f9382d8ab /test/composite-integer-translate-source.c | |
parent | 584954859ead08491cd5ed04aec54aae6b1048b8 (diff) | |
download | cairo-751e059f5c506138c478fbcc2e9dfe8e92aaa3ab.tar.gz |
Note some progress.
New helper function to help create an image surface from a PNG file, while taking the srcdir environment variable into consideration. Rename the pattern creating helper function to match.
Use new cairo_test_create_surface_from_png so that non-srcdir builds work.
Track change in cairo_test_create_pattern_from_png.
Diffstat (limited to 'test/composite-integer-translate-source.c')
-rw-r--r-- | test/composite-integer-translate-source.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/composite-integer-translate-source.c b/test/composite-integer-translate-source.c index a467f089a..d2f39a351 100644 --- a/test/composite-integer-translate-source.c +++ b/test/composite-integer-translate-source.c @@ -18,7 +18,7 @@ draw (cairo_t *cr, int width, int height) { cairo_surface_t *image; - image = cairo_image_surface_create_from_png (png_filename); + image = cairo_test_create_surface_from_png (png_filename); cairo_set_source_rgba (cr, 0, 0, 0, 1); cairo_rectangle (cr, 0, 0, SIZE, SIZE); |