summaryrefslogtreecommitdiff
path: root/src/cairo-font-options.c
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2008-09-16 17:04:38 -0700
committerCarl Worth <cworth@cworth.org>2008-09-18 07:56:43 -0700
commit1b42bc8033bc4682c9688086c08ca3ad306a2ae8 (patch)
treeeac1560981d3ef5831695139cbd81f8d4820a47e /src/cairo-font-options.c
parent0ab14a6b218097721535e1d6d9b3341b7336bb70 (diff)
downloadcairo-1b42bc8033bc4682c9688086c08ca3ad306a2ae8.tar.gz
Make the lcd_filter API private
During the cairo summit it was decided that this API is to freetype- specific to be in the general cairo interface for now. This will likely come back again soon as a cairo_ft-specific interface.
Diffstat (limited to 'src/cairo-font-options.c')
-rw-r--r--src/cairo-font-options.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/cairo-font-options.c b/src/cairo-font-options.c
index b3fb27483..64a89110c 100644
--- a/src/cairo-font-options.c
+++ b/src/cairo-font-options.c
@@ -335,7 +335,7 @@ cairo_font_options_get_subpixel_order (const cairo_font_options_t *options)
}
/**
- * cairo_font_options_set_lcd_filter:
+ * _cairo_font_options_set_lcd_filter:
* @options: a #cairo_font_options_t
* @lcd_filter: the new LCD filter
*
@@ -347,18 +347,17 @@ cairo_font_options_get_subpixel_order (const cairo_font_options_t *options)
* Since: 1.8
**/
void
-cairo_font_options_set_lcd_filter (cairo_font_options_t *options,
- cairo_lcd_filter_t lcd_filter)
+_cairo_font_options_set_lcd_filter (cairo_font_options_t *options,
+ cairo_lcd_filter_t lcd_filter)
{
if (cairo_font_options_status (options))
return;
options->lcd_filter = lcd_filter;
}
-slim_hidden_def (cairo_font_options_set_lcd_filter);
/**
- * cairo_font_options_get_lcd_filter:
+ * _cairo_font_options_get_lcd_filter:
* @options: a #cairo_font_options_t
*
* Gets the LCD filter for the font options object.
@@ -369,7 +368,7 @@ slim_hidden_def (cairo_font_options_set_lcd_filter);
* Since: 1.8
**/
cairo_lcd_filter_t
-cairo_font_options_get_lcd_filter (const cairo_font_options_t *options)
+_cairo_font_options_get_lcd_filter (const cairo_font_options_t *options)
{
if (cairo_font_options_status ((cairo_font_options_t *) options))
return CAIRO_LCD_FILTER_DEFAULT;