diff options
author | Carl Worth <cworth@cworth.org> | 2005-05-06 13:23:41 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2005-05-06 13:23:41 +0000 |
commit | d6fc5ee5e97f60972ec80fcfc52f0cf8b780d2a9 (patch) | |
tree | 9adec3ec1e637a1cca92ba8e36f3aac661217d74 /test/scale-source-surface-paint.c | |
parent | cea1de7579fad18ca6c9ec9bb29660970ec283b3 (diff) | |
download | cairo-d6fc5ee5e97f60972ec80fcfc52f0cf8b780d2a9.tar.gz |
Remove cairo_set_target_surface and all other backend-specific cairo_set_target functions. Require a cairo_surface_t* to call cairo_create.
Port to use new cairo_create interface.
Rewrite all tests that were using cairo_set_target_surface to instead create a temporary cairo_t, (eventually to be replaced with cairo_begin_group).
Diffstat (limited to 'test/scale-source-surface-paint.c')
-rw-r--r-- | test/scale-source-surface-paint.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/test/scale-source-surface-paint.c b/test/scale-source-surface-paint.c index 4b722b418..7b1cc3824 100644 --- a/test/scale-source-surface-paint.c +++ b/test/scale-source-surface-paint.c @@ -42,7 +42,6 @@ draw (cairo_t *cr, int width, int height) 0xff00ff00, 0xff00ff00, 0xff0000ff, 0xff0000ff, 0xff00ff00, 0xff00ff00, 0xff0000ff, 0xff0000ff }; - int i; surface = cairo_image_surface_create_for_data ((unsigned char *) data, CAIRO_FORMAT_ARGB32, 4, 4, 16); |