Class GlyphItem
public class GlyphItem
- Inheritance
-
GlyphItem
- Inherited Members
Methods
ApplyAttrs(GlyphItemHandle, NonNullableUtf8StringHandle, AttrListHandle)
Calls native method pango_glyph_item_apply_attrs. Version: 1.2
[Version("1.2")]
public static extern SListOwnedHandle ApplyAttrs(GlyphItemHandle glyphItem, NonNullableUtf8StringHandle text, AttrListHandle list)
Parameters
glyphItem
GlyphItemHandleTransfer ownership: None Nullable: False
text
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
list
AttrListHandleTransfer ownership: None Nullable: False
Returns
- SListOwnedHandle
Transfer ownership: Full Nullable: False
Copy(GlyphItemHandle)
Calls native method pango_glyph_item_copy. Version: 1.20
[Version("1.20")]
public static extern GlyphItemOwnedHandle Copy(GlyphItemHandle orig)
Parameters
orig
GlyphItemHandleTransfer ownership: None Nullable: True
Returns
- GlyphItemOwnedHandle
Transfer ownership: Full Nullable: True
Free(GlyphItemHandle)
Calls native method pango_glyph_item_free. Version: 1.6
[Version("1.6")]
public static extern void Free(GlyphItemHandle glyphItem)
Parameters
glyphItem
GlyphItemHandleTransfer ownership: None Nullable: True
GetGType()
Calls native function pango_glyph_item_get_type.
public static extern nuint GetGType()
Returns
- nuint
Transfer ownership: None Nullable: False
GetLogicalWidths(GlyphItemHandle, NonNullableUtf8StringHandle, ref int)
Calls native method pango_glyph_item_get_logical_widths. Version: 1.26
[Version("1.26")]
public static extern void GetLogicalWidths(GlyphItemHandle glyphItem, NonNullableUtf8StringHandle text, ref int logicalWidths)
Parameters
glyphItem
GlyphItemHandleTransfer ownership: None Nullable: False
text
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
logicalWidths
intTransfer ownership: None Nullable: False
LetterSpace(GlyphItemHandle, NonNullableUtf8StringHandle, LogAttrArrayHandle, int)
Calls native method pango_glyph_item_letter_space. Version: 1.6
[Version("1.6")]
public static extern void LetterSpace(GlyphItemHandle glyphItem, NonNullableUtf8StringHandle text, LogAttrArrayHandle logAttrs, int letterSpacing)
Parameters
glyphItem
GlyphItemHandleTransfer ownership: None Nullable: False
text
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
logAttrs
LogAttrArrayHandleTransfer ownership: None Nullable: False
letterSpacing
intTransfer ownership: None Nullable: False
Split(GlyphItemHandle, NonNullableUtf8StringHandle, int)
Calls native method pango_glyph_item_split. Version: 1.2
[Version("1.2")]
public static extern GlyphItemOwnedHandle Split(GlyphItemHandle orig, NonNullableUtf8StringHandle text, int splitIndex)
Parameters
orig
GlyphItemHandleTransfer ownership: None Nullable: False
text
NonNullableUtf8StringHandleTransfer ownership: None Nullable: False
splitIndex
intTransfer ownership: None Nullable: False
Returns
- GlyphItemOwnedHandle
Transfer ownership: Full Nullable: True