Import line: | Pango = imports.gi.Pango; |
GIR File: | Pango-1.0.gir |
C documentation: | Pango.GlyphItem |
Struct : | GlyphItem |
Properties | Defined By | |
---|---|---|
glyphs : Pango.GlyphString
|
Pango.GlyphItem | |
item : Pango.Item
|
Pango.GlyphItem |
Method / Constructor | Defined By | |
---|---|---|
new Pango.GlyphItem
()
Create a new Pango.GlyphItem
Create a new Pango.GlyphItem
|
||
copy
()
:
Pango.GlyphItem
Make a deep copy of an existing PangoGlyphItem structure.
Make a deep copy of an existing PangoGlyphItem structure.
be freed with pango_glyph_item_free(), or NULL if orig was NULL.
|
Pango.GlyphItem | |
free
()
:
none
Frees a PangoGlyphItem and resources to which it points.
Frees a PangoGlyphItem and resources to which it points.
|
Pango.GlyphItem | |
Given a PangoGlyphItem and the corresponding
text, determine the screen width corresponding to each character.
Given a PangoGlyphItem and the corresponding
text, determine the screen width corresponding to each character. When multiple characters compose a single cluster, the width of the entire cluster is divided equally among the characters. See also pango_glyph_string_get_logical_widths().
|
Pango.GlyphItem | |
Adds spacing between the graphemes of glyph_item to
give the effect of typographic letter spacing.
Adds spacing between the graphemes of glyph_item to
give the effect of typographic letter spacing.
|
Pango.GlyphItem | |
Modifies orig to cover only the text after split_index, and
returns a new item that covers the text before split_index that used to be in orig.
Modifies orig to cover only the text after split_index, and
returns a new item that covers the text before split_index that used to be in orig. You can think of split_index as the length of the returned item. split_index may not be 0, and it may not be greater than or equal to the length of orig (that is, there must be at least one byte assigned to each item, you can't create a zero-length item). This function is similar in function to pango_item_split() (and uses it internally.) with pango_glyph_item_free().
|
Pango.GlyphItem |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Pango.GlyphItemIter
Method |
Initializes a PangoGlyphItemIter structure to point to the
last cluster in a glyph item. |
Pango.GlyphItemIter
Method |
Initializes a PangoGlyphItemIter structure to point to the
first cluster in a glyph item. |
Pango.Renderer
Method |
Draws the glyphs in glyph_item with the specified PangoRenderer,
embedding the text associated with the glyphs in the output if the output format supports it (PDF for example). |
PangoCairo
Method |
Draws the glyphs in glyph_item in the specified cairo context,
embedding the text associated with the glyphs in the output if the output format supports it (PDF for example), otherwise it acts similar to pango_cairo_show_glyph_string(). |