summaryrefslogtreecommitdiff
path: root/src/cairo-quartz-font.c
diff options
context:
space:
mode:
authorVladimir Vukicevic <vladimir@pobox.com>2008-04-01 13:26:00 -0700
committerVladimir Vukicevic <vladimir@h-232.office.mozilla.org>2008-04-01 13:26:00 -0700
commit8ddae11b544c35057a96ca0bdea34b4f473ee261 (patch)
treed227c441b4d8513a19ef3e47378debcd787b5acd /src/cairo-quartz-font.c
parent9a7162cfdf48f47bb8ee0a7c24c55c061e4fbc90 (diff)
[quartz] Update documentation
Diffstat (limited to 'src/cairo-quartz-font.c')
-rw-r--r--src/cairo-quartz-font.c14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/cairo-quartz-font.c b/src/cairo-quartz-font.c
index ae39f2b2..52a54989 100644
--- a/src/cairo-quartz-font.c
+++ b/src/cairo-quartz-font.c
@@ -156,7 +156,16 @@ static const cairo_font_face_backend_t _cairo_quartz_font_face_backend = {
/**
* cairo_quartz_font_face_create_for_cgfont
- * @font: a CGFontRef obtained through other means
+ * @font: a #CGFontRef obtained through a method external to cairo.
+ *
+ * Creates a new font for the Quartz font backend based on a
+ * #CGFontRef. This font can then be used with
+ * cairo_set_font_face() or cairo_scaled_font_create().
+ *
+ * Return value: a newly created #cairo_font_face_t. Free with
+ * cairo_font_face_destroy() when you are done using it.
+ *
+ * Since: 1.6
*/
cairo_font_face_t *
cairo_quartz_font_face_create_for_cgfont (CGFontRef font)
@@ -684,8 +693,9 @@ _cairo_quartz_scaled_font_get_cg_font_ref (cairo_scaled_font_t *abstract_font)
/*
* compat with old ATSUI backend
*/
+
/**
- * cairo_atsui_font_face_create_for_atsu_font_id
+ * cairo_quartz_font_face_create_for_atsu_font_id
* @font_id: an ATSUFontID for the font.
*
* Creates a new font for the Quartz font backend based on an