summaryrefslogtreecommitdiff
path: root/src/cairo-surface-observer-private.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2011-08-30 14:24:12 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2011-08-30 15:17:38 +0100
commit70cd3b473d09e9ad3d803014a904a22639db1a24 (patch)
tree45be818179ce0ce6e95cf2ddeb6e300922889407 /src/cairo-surface-observer-private.h
parent6b1daace578673c72a22a2fac72df9af2312cb10 (diff)
downloadcairo-70cd3b473d09e9ad3d803014a904a22639db1a24.tar.gz
api: Extend cairo_antialias_t to include performace/quality hints
The existing API only described the method to be used for performing rasterisation and unlike other API provided no opportunity for the user to give a hint as to how to trade off performance against speed. So in order to no be overly prescriptive, we extend the NONE/GRAY/SUBPIXEL methods with FAST/GOOD/BEST hints and leave the backend to decide how best to achieve those goals. Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/cairo-surface-observer-private.h')
-rw-r--r--src/cairo-surface-observer-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cairo-surface-observer-private.h b/src/cairo-surface-observer-private.h
index d30a0e1e0..a846a1c26 100644
--- a/src/cairo-surface-observer-private.h
+++ b/src/cairo-surface-observer-private.h
@@ -50,7 +50,7 @@ struct stat {
#define NUM_OPERATORS (CAIRO_OPERATOR_HSL_LUMINOSITY+1)
#define NUM_CAPS (CAIRO_LINE_CAP_SQUARE+1)
#define NUM_JOINS (CAIRO_LINE_JOIN_BEVEL+1)
-#define NUM_ANTIALIAS (CAIRO_ANTIALIAS_SUBPIXEL+1)
+#define NUM_ANTIALIAS (CAIRO_ANTIALIAS_BEST+1)
#define NUM_FILL_RULE (CAIRO_FILL_RULE_EVEN_ODD+1)
struct extents {