summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2001-11-29 23:02:07 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2001-11-29 23:02:07 +0000
commit801b3b6e17fe50fd8b18e779e43a5d87aa10a3a6 (patch)
tree2c1e72119efa82622d7654e1ca3e4f35062d2b11 /pango
parent14602ede735d3f94503e6e2a39a969b22dc01bd9 (diff)
downloadpango-801b3b6e17fe50fd8b18e779e43a5d87aa10a3a6.tar.gz
Documentation updates.
* pango/pango-fontset.c: Documentation updates.
Diffstat (limited to 'pango')
-rw-r--r--pango/pango-fontset.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/pango/pango-fontset.c b/pango/pango-fontset.c
index 69f8003c..cf75ea29 100644
--- a/pango/pango-fontset.c
+++ b/pango/pango-fontset.c
@@ -197,6 +197,13 @@ struct _PangoFontsetSimpleClass
static PangoFontsetClass *simple_parent_class; /* Parent class structure for PangoFontsetSimple */
+/**
+ * pango_fontset_simple_new:
+ * @language: a #PangoLanguage tag
+ * @returns: a newly-allocated #PangoFontsetSimple.
+ *
+ * Creates a new #PangoFontsetSimple for the given language.
+ **/
PangoFontsetSimple *
pango_fontset_simple_new (PangoLanguage *language)
{
@@ -282,6 +289,13 @@ pango_fontset_simple_finalize (GObject *object)
G_OBJECT_CLASS (simple_parent_class)->finalize (object);
}
+/**
+ * pango_fontset_simple_append:
+ * @fontset: a #PangoFontsetSimple.
+ * @font: a #PangoFont.
+ *
+ * Adds a font to the fontset.
+ **/
void
pango_fontset_simple_append (PangoFontsetSimple *fontset,
PangoFont *font)
@@ -290,6 +304,13 @@ pango_fontset_simple_append (PangoFontsetSimple *fontset,
g_ptr_array_add (fontset->coverages, NULL);
}
+/**
+ * pango_fontset_simple_size:
+ * @fontset: a #PangoFontsetSimple.
+ * @returns: the size of @fontset.
+ *
+ * Returns the number of fonts in the fontset.
+ **/
int
pango_fontset_simple_size (PangoFontsetSimple *fontset)
{