summaryrefslogtreecommitdiff
path: root/src/cairo-types-private.h
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2010-10-21 13:52:33 +0200
committerUli Schlachter <psychon@znc.in>2010-10-21 22:20:12 +0200
commit6bfe71124b56b496056b77b3b51eef4d656ccf54 (patch)
treed80c9c2ecf7075367554500505c46283d2af5824 /src/cairo-types-private.h
parentfae88051c18722566d15b96a1b23bfde1844c3ee (diff)
font options: Add private round_glpyh_positions field
Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'src/cairo-types-private.h')
-rw-r--r--src/cairo-types-private.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cairo-types-private.h b/src/cairo-types-private.h
index ac3fda82e..93b035d7c 100644
--- a/src/cairo-types-private.h
+++ b/src/cairo-types-private.h
@@ -161,12 +161,19 @@ typedef enum _cairo_lcd_filter {
CAIRO_LCD_FILTER_FIR5
} cairo_lcd_filter_t;
+typedef enum _cairo_round_glyph_positions {
+ CAIRO_ROUND_GLYPH_POS_DEFAULT,
+ CAIRO_ROUND_GLYPH_POS_ON,
+ CAIRO_ROUND_GLYPH_POS_OFF
+} cairo_round_glyph_positions_t;
+
struct _cairo_font_options {
cairo_antialias_t antialias;
cairo_subpixel_order_t subpixel_order;
cairo_lcd_filter_t lcd_filter;
cairo_hint_style_t hint_style;
cairo_hint_metrics_t hint_metrics;
+ cairo_round_glyph_positions_t round_glyph_positions;
};
/* XXX: Right now, the _cairo_color structure puts unpremultiplied