summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2015-05-05 17:27:23 -0700
committerBehdad Esfahbod <behdad@behdad.org>2015-05-05 17:45:58 -0700
commit5b3103d6718af6263a8aa4610e7ac56221399215 (patch)
tree851a774a55a771322ebd0a96ab7ada53e28340c7
parentc923660d8f58ccfa43cf158a42460d4efe566de2 (diff)
downloadpango-5b3103d6718af6263a8aa4610e7ac56221399215.tar.gz
Minor doc fix
-rw-r--r--pango/pango-font.h1
-rw-r--r--pango/pango-glyph-item.h2
-rw-r--r--pango/pango-glyph.h5
-rw-r--r--pango/pango-item.h4
4 files changed, 12 insertions, 0 deletions
diff --git a/pango/pango-font.h b/pango/pango-font.h
index 45b04471..6d64d8db 100644
--- a/pango/pango-font.h
+++ b/pango/pango-font.h
@@ -299,6 +299,7 @@ PangoFontMetrics *pango_font_metrics_new (void);
struct _PangoFontMetrics
{
+ /* <private> */
guint ref_count;
int ascent;
diff --git a/pango/pango-glyph-item.h b/pango/pango-glyph-item.h
index 61b5ec47..cc87ae1b 100644
--- a/pango/pango-glyph-item.h
+++ b/pango/pango-glyph-item.h
@@ -31,6 +31,8 @@ G_BEGIN_DECLS
/**
* PangoGlyphItem:
+ * @item: corresponding #PangoItem.
+ * @glyphs: corresponding #PangoGlyphString.
*
* A #PangoGlyphItem is a pair of a #PangoItem and the glyphs
* resulting from shaping the text corresponding to an item.
diff --git a/pango/pango-glyph.h b/pango/pango-glyph.h
index 4b25d084..be0f02dc 100644
--- a/pango/pango-glyph.h
+++ b/pango/pango-glyph.h
@@ -107,6 +107,11 @@ struct _PangoGlyphInfo
*/
/**
* PangoGlyphString:
+ * @num_glyphs: number of the glyphs in this glyph string.
+ * @glyphs: (array length=num_glyphs): array of glyph information
+ * for the glyph string.
+ * @log_clusters: logical cluster info, indexed by the byte index
+ * within the text corresponding to the glyph string.
*
* The #PangoGlyphString structure is used to store strings
* of glyphs with geometry and visual attribute information.
diff --git a/pango/pango-item.h b/pango/pango-item.h
index 4f84dc9b..c48f9d66 100644
--- a/pango/pango-item.h
+++ b/pango/pango-item.h
@@ -82,6 +82,10 @@ struct _PangoAnalysis
/**
* PangoItem:
+ * @offset: byte offset of the start of this item in text.
+ * @length: length of this item in bytes.
+ * @num_chars: number of Unicode characters in the item.
+ * @analysis: analysis results for the item.
*
* The #PangoItem structure stores information about a segment of text.
*/