diff options
author | Carl Worth <cworth@cworth.org> | 2005-07-08 10:12:28 +0000 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2005-07-08 10:12:28 +0000 |
commit | 9a2ba48b298c3bf4b462e1030b105efaf9fd015c (patch) | |
tree | e3f9d44c18fbf36a70f9834e7350cb6cceb78641 /test/source-clip.c | |
parent | 9fd2f0a25c4954e839d79de00ff14b1990ae39eb (diff) | |
download | cairo-9a2ba48b298c3bf4b462e1030b105efaf9fd015c.tar.gz |
Give enum tags an underscore prefix to match the style of the struct tags. Add new cairo_content_t and change cairo_surface_create_similar to accept a cairo_content_t rather than a cairo_format_t.
Change surface backend create_similar call to accept a cairo_content_t rather than a cairo_format_t.
Fix all calls into create_similar to pass a cairo_content_t rather than a cairo_format_t.
Diffstat (limited to 'test/source-clip.c')
-rw-r--r-- | test/source-clip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/source-clip.c b/test/source-clip.c index 73be6b432..f479e485a 100644 --- a/test/source-clip.c +++ b/test/source-clip.c @@ -43,7 +43,7 @@ draw (cairo_t *cr, int width, int height) cairo_t *cr2; source_surface = cairo_surface_create_similar (cairo_get_target (cr), - CAIRO_FORMAT_ARGB32, + CAIRO_CONTENT_COLOR_ALPHA, SIZE, SIZE); cr2 = cairo_create (source_surface); |