summaryrefslogtreecommitdiff
path: root/src/cairo-font-face.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-07-08 13:05:18 +0200
committerBenjamin Otte <otte@redhat.com>2010-07-08 14:27:16 +0200
commitb870cc030d8e0eb6309695e5a101c802f688cf40 (patch)
tree943381b08e5af5a8053d043b1465c0b2340e50a4 /src/cairo-font-face.c
parent65a1e351330106ee0af9f6f0df06b82954341ee6 (diff)
downloadcairo-b870cc030d8e0eb6309695e5a101c802f688cf40.tar.gz
doc: Move tmpl/ docs to inline docs
I did this manually so I could review the docs at the same time. If anyone finds typos or other mistakes I did, please complain to me (or better: fix them).
Diffstat (limited to 'src/cairo-font-face.c')
-rw-r--r--src/cairo-font-face.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/cairo-font-face.c b/src/cairo-font-face.c
index 3d619114f..a66054ead 100644
--- a/src/cairo-font-face.c
+++ b/src/cairo-font-face.c
@@ -41,6 +41,23 @@
#include "cairoint.h"
#include "cairo-error-private.h"
+/**
+ * SECTION:cairo-font-face
+ * @Title: cairo_font_face_t
+ * @Short_Description: Base class for font faces
+ * @See_Also: #cairo_scaled_font_t
+ *
+ * #cairo_font_face_t represents a particular font at a particular weight,
+ * slant, and other characteristic but no size, transformation, or size.
+ *
+ * Font faces are created using <firstterm>font-backend</firstterm>-specific
+ * constructors, typically of the form
+ * cairo_<emphasis>backend</emphasis>_font_face_create(), or implicitly
+ * using the <firstterm>toy</firstterm> text API by way of
+ * cairo_select_font_face(). The resulting face can be accessed using
+ * cairo_get_font_face().
+ */
+
/* #cairo_font_face_t */
const cairo_font_face_t _cairo_font_face_nil = {