summaryrefslogtreecommitdiff
path: root/test/mask.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2005-05-06 13:26:16 +0000
committerCarl Worth <cworth@cworth.org>2005-05-06 13:26:16 +0000
commita790a2ea79507cae9564006ac32e27a0fcca8d60 (patch)
tree5c32a049ec3b3ed760baa9390809303dc64c3b25 /test/mask.c
parentd6fc5ee5e97f60972ec80fcfc52f0cf8b780d2a9 (diff)
Rename and re-order the cairo_operator_t enum to names that abbreviate less and are easier to understand, (eg. CAIRO_OPERATOR_DEST_OVER instead of CAIRO_OPEERATOR_OVER_REVERSE).
Diffstat (limited to 'test/mask.c')
-rw-r--r--test/mask.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mask.c b/test/mask.c
index d306c26e..c6d602d4 100644
--- a/test/mask.c
+++ b/test/mask.c
@@ -80,7 +80,7 @@ mask_polygon (cairo_t *cr, int x, int y)
cairo_save (cr2);
cairo_set_source_rgba (cr2, 0, 0, 0, 0); /* transparent */
- cairo_set_operator (cr2, CAIRO_OPERATOR_SRC);
+ cairo_set_operator (cr2, CAIRO_OPERATOR_SOURCE);
cairo_paint (cr2);
cairo_restore (cr2);
@@ -212,7 +212,7 @@ draw (cairo_t *cr, int width, int height)
/* Clear area we are going to be drawing onto */
cairo_save (cr2);
cairo_set_source_rgba (cr2, 0, 0, 0, 0); /* transparent */
- cairo_set_operator (cr2, CAIRO_OPERATOR_SRC);
+ cairo_set_operator (cr2, CAIRO_OPERATOR_SOURCE);
cairo_rectangle (cr2, x, y, WIDTH, HEIGHT);
cairo_fill (cr2);
cairo_restore (cr2);