[pango] Minor doc fix
- From: Behdad Esfahbod <behdad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Minor doc fix
- Date: Wed, 6 May 2015 00:46:16 +0000 (UTC)
commit 5b3103d6718af6263a8aa4610e7ac56221399215
Author: Behdad Esfahbod <behdad behdad org>
Date: Tue May 5 17:27:23 2015 -0700
Minor doc fix
pango/pango-font.h | 1 +
pango/pango-glyph-item.h | 2 ++
pango/pango-glyph.h | 5 +++++
pango/pango-item.h | 4 ++++
4 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/pango/pango-font.h b/pango/pango-font.h
index 45b0447..6d64d8d 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 61b5ec4..cc87ae1 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 4b25d08..be0f02d 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 4f84dc9..c48f9d6 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.
*/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]