summaryrefslogtreecommitdiff
path: root/src/cairo.h
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 /src/cairo.h
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 'src/cairo.h')
-rw-r--r--src/cairo.h17
1 files changed, 10 insertions, 7 deletions
diff --git a/src/cairo.h b/src/cairo.h
index f8ce4dd54..de85566a6 100644
--- a/src/cairo.h
+++ b/src/cairo.h
@@ -228,18 +228,21 @@ cairo_pop_group (cairo_t *cr);
/* Modify state */
-typedef enum cairo_operator {
+typedef enum cairo_operator {
CAIRO_OPERATOR_CLEAR,
- CAIRO_OPERATOR_SRC,
- CAIRO_OPERATOR_DST,
+
+ CAIRO_OPERATOR_SOURCE,
CAIRO_OPERATOR_OVER,
- CAIRO_OPERATOR_OVER_REVERSE,
CAIRO_OPERATOR_IN,
- CAIRO_OPERATOR_IN_REVERSE,
CAIRO_OPERATOR_OUT,
- CAIRO_OPERATOR_OUT_REVERSE,
CAIRO_OPERATOR_ATOP,
- CAIRO_OPERATOR_ATOP_REVERSE,
+
+ CAIRO_OPERATOR_DEST,
+ CAIRO_OPERATOR_DEST_OVER,
+ CAIRO_OPERATOR_DEST_IN,
+ CAIRO_OPERATOR_DEST_OUT,
+ CAIRO_OPERATOR_DEST_ATOP,
+
CAIRO_OPERATOR_XOR,
CAIRO_OPERATOR_ADD,
CAIRO_OPERATOR_SATURATE