diff options
Diffstat (limited to 'pango/pango-glyph-item.h')
-rw-r--r-- | pango/pango-glyph-item.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/pango/pango-glyph-item.h b/pango/pango-glyph-item.h index 6c2f9249..fd8951d2 100644 --- a/pango/pango-glyph-item.h +++ b/pango/pango-glyph-item.h @@ -33,6 +33,12 @@ G_BEGIN_DECLS * PangoGlyphItem: * @item: corresponding `PangoItem` * @glyphs: corresponding `PangoGlyphString` + * @y_offset: shift of the baseline, relative to the baseline + * of the containing line. Positive values shift upwards + * @start_x_offset: horizontal displacement to apply before the + * glyph item. Positive values shift right + * @end_x_offset: horizontal displacement to apply after th + * glyph item. Positive values shift right * * A `PangoGlyphItem` is a pair of a `PangoItem` and the glyphs * resulting from shaping the items text. @@ -45,8 +51,11 @@ typedef struct _PangoGlyphItem PangoGlyphItem; struct _PangoGlyphItem { - PangoItem *item; + PangoItem *item; PangoGlyphString *glyphs; + int y_offset; + int start_x_offset; + int end_x_offset; }; #define PANGO_TYPE_GLYPH_ITEM (pango_glyph_item_get_type ()) |