diff options
author | Noah Levitt <nlevitt@columbia.edu> | 2003-07-25 13:29:17 +0000 |
---|---|---|
committer | Noah Levitt <nlevitt@src.gnome.org> | 2003-07-25 13:29:17 +0000 |
commit | b56f79bbd9f11808c08e2f8bff001bf048ae0b04 (patch) | |
tree | a617e002d90909daa6a1f9ee2944c1ed6168319d /docs/tmpl/glyphs.sgml | |
parent | a730bbb4e4e9ff89a0129aa90f857612d888ff69 (diff) | |
download | pango-b56f79bbd9f11808c08e2f8bff001bf048ae0b04.tar.gz |
Get rid of explicit tables detailing the members of structs, use the
2003-07-25 Noah Levitt <nlevitt@columbia.edu>
* docs/tmpl/engines.sgml:
* docs/tmpl/glyphs.sgml:
* docs/tmpl/main.sgml: Get rid of explicit tables detailing the
members of structs, use the automatic things instead. (#117857)
Diffstat (limited to 'docs/tmpl/glyphs.sgml')
-rw-r--r-- | docs/tmpl/glyphs.sgml | 63 |
1 files changed, 8 insertions, 55 deletions
diff --git a/docs/tmpl/glyphs.sgml b/docs/tmpl/glyphs.sgml index 5b92c72b..ac0583c8 100644 --- a/docs/tmpl/glyphs.sgml +++ b/docs/tmpl/glyphs.sgml @@ -118,34 +118,12 @@ It contains the following fields. <!-- ##### STRUCT PangoGlyphGeometry ##### --> <para> The #PangoGlyphGeometry structure contains width and positioning -information for a single glyph. Distances are in -1/64ths of a point. - -<informaltable pgwide="1" frame="none" role="struct"> -<tgroup cols="2"><colspec colwidth="2*"/><colspec colwidth="8*"/> -<tbody> - -<row> -<entry>#PangoGlyphUnit width;</entry> -<entry>the logical width to use for the the character.</entry> -</row> - -<row> -<entry>#PangoCFont *x_offset;</entry> -<entry>horizontal offset from nominal character position.</entry> -</row> - -<row> -<entry>#PangoCFont *y_offset;</entry> -<entry>vertical offset from nominal character position.</entry> -</row> - -</tbody></tgroup></informaltable> +information for a single glyph. </para> -@width: -@x_offset: -@y_offset: +@width: the logical width to use for the the character. +@x_offset: horizontal offset from nominal character position. +@y_offset: vertical offset from nominal character position. <!-- ##### TYPEDEF PangoGlyphUnit ##### --> <para> @@ -191,37 +169,12 @@ of glyphs with geometry and visual attribute information. The storage for the glyph information is owned by the structure which simplifies memory management. </para> -<para> -#PangoGlyphString contains the following publically -accessible fields -<informaltable pgwide="1" frame="none" role="struct"> -<tgroup cols="2"><colspec colwidth="2*"/><colspec colwidth="8*"/> -<tbody> - -<row> -<entry>gint #num_glyphs;</entry> -<entry>the number of glyphs in the string.</entry> -</row> - -<row> -<entry>PangoGlyphInfo *#glyphs;</entry> -<entry>an array of #PangoGlyphInfo structures of length <structfield>num_glyphs</structfield>.</entry> -</row> - -<row> -<entry>gint *#log_clusters;</entry> -<entry>for each glyph, byte index of the starting character for the +@num_glyphs: the number of glyphs in the string. +@glyphs: an array of #PangoGlyphInfo structures of length <structfield>num_glyphs</structfield>. +@log_clusters: for each glyph, byte index of the starting character for the cluster. The indices are relative to the start of the text -corresponding to the PangoGlyphString.</entry> -</row> - -</tbody></tgroup></informaltable> -</para> - -@num_glyphs: -@glyphs: -@log_clusters: +corresponding to the PangoGlyphString. <!-- ##### STRUCT PangoGlyphItem ##### --> <para> |