pango_coverage_copy transfer_ownership="1"
pango_font_description_copy transfer_ownership="1"
pango_font_description_copy_static hidden="1"
+PangoGlyph hidden="1"
pango_glyph_item_copy transfer_ownership="1"
pango_glyph_item_iter_copy transfer_ownership="1"
pango_glyph_string_copy transfer_ownership="1"
+PangoGlyphString.glyphs is_array="1" weak="0" array_length_cname="num_glyphs"
+PangoGlyphString.log_clusters is_array="1" weak="0" array_length_cname="num_glyphs"
pango_item_copy transfer_ownership="1"
pango_layout_copy transfer_ownership="1"
pango_layout_iter_copy transfer_ownership="1"
public unowned Pango.FontMetrics get_metrics ();
}
[Compact]
- [CCode (cheader_filename = "pango/pango.h")]
- public class Glyph {
- }
- [Compact]
[CCode (copy_function = "pango_glyph_item_copy", type_id = "PANGO_TYPE_GLYPH_ITEM", cheader_filename = "pango/pango.h")]
public class GlyphItem {
public weak Pango.GlyphString glyphs;
[Compact]
[CCode (copy_function = "pango_glyph_string_copy", type_id = "PANGO_TYPE_GLYPH_STRING", cheader_filename = "pango/pango.h")]
public class GlyphString {
- public Pango.GlyphInfo glyphs;
- public int log_clusters;
+ [CCode (array_length_cname = "num_glyphs")]
+ public Pango.GlyphInfo[] glyphs;
+ [CCode (array_length_cname = "num_glyphs")]
+ public int[] log_clusters;
public int num_glyphs;
public int space;
[CCode (has_construct_function = false)]
public bool parse (string spec);
public unowned string to_string ();
}
+ [CCode (cheader_filename = "pango/pango.h")]
+ [SimpleType]
+ [IntegerType (rank = 0)]
+ public struct Glyph : uint32 {
+ }
[CCode (type_id = "PANGO_TYPE_GLYPH_GEOMETRY", cheader_filename = "pango/pango.h")]
public struct GlyphGeometry {
public weak Pango.GlyphUnit width;
}
[CCode (type_id = "PANGO_TYPE_GLYPH_INFO", cheader_filename = "pango/pango.h")]
public struct GlyphInfo {
- public weak Pango.Glyph glyph;
+ public Pango.Glyph glyph;
public Pango.GlyphGeometry geometry;
public Pango.GlyphVisAttr attr;
}