1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
|
/* pangocairo.vapi generated by vapigen, do not modify. */
[CCode (cprefix = "Pango", gir_namespace = "PangoCairo", gir_version = "1.0", lower_case_cprefix = "pango_")]
namespace Pango {
[CCode (cheader_filename = "pango/pangocairo.h", type_id = "pango_cairo_font_get_type ()")]
[GIR (name = "Font")]
[Version (since = "1.18")]
public interface CairoFont : Pango.Font {
public unowned Cairo.ScaledFont? get_scaled_font ();
}
[CCode (cheader_filename = "pango/pangocairo.h", type_id = "pango_cairo_font_map_get_type ()")]
[GIR (name = "FontMap")]
[Version (since = "1.10")]
public interface CairoFontMap : Pango.FontMap {
[Version (deprecated = true, deprecated_since = "1.22", since = "1.10")]
public unowned Pango.Context create_context ();
public static unowned Pango.FontMap get_default ();
[Version (since = "1.18")]
public Cairo.FontType get_font_type ();
public double get_resolution ();
public static Pango.FontMap @new ();
[Version (since = "1.18")]
public static Pango.FontMap? new_for_font_type (Cairo.FontType fonttype);
[Version (since = "1.22")]
public static void set_default (Pango.CairoFontMap? fontmap);
public void set_resolution (double dpi);
}
[CCode (cheader_filename = "pango/pangocairo.h", instance_pos = 3.9)]
public delegate void CairoShapeRendererFunc (Cairo.Context cr, Pango.AttrShape attr, bool do_path);
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (since = "1.10")]
public static unowned Cairo.FontOptions? cairo_context_get_font_options (Pango.Context context);
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (since = "1.10")]
public static double cairo_context_get_resolution (Pango.Context context);
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (since = "1.18")]
public static unowned Pango.CairoShapeRendererFunc? cairo_context_get_shape_renderer (Pango.Context context);
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (since = "1.10")]
public static void cairo_context_set_font_options (Pango.Context context, Cairo.FontOptions? options);
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (since = "1.10")]
public static void cairo_context_set_resolution (Pango.Context context, double dpi);
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (since = "1.18")]
public static void cairo_context_set_shape_renderer (Pango.Context context, owned Pango.CairoShapeRendererFunc? func);
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (since = "1.22")]
public static Pango.Context cairo_create_context (Cairo.Context cr);
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (since = "1.10")]
public static Pango.Layout cairo_create_layout (Cairo.Context cr);
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (since = "1.14")]
public static void cairo_error_underline_path (Cairo.Context cr, double x, double y, double width, double height);
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (replacement = "FontMap.get_default", since = "1.10")]
public static unowned Pango.FontMap cairo_font_map_get_default ();
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (replacement = "FontMap.new", since = "1.10")]
public static Pango.FontMap cairo_font_map_new ();
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (replacement = "FontMap.new_for_font_type", since = "1.18")]
public static Pango.FontMap? cairo_font_map_new_for_font_type (Cairo.FontType fonttype);
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (since = "1.10")]
public static void cairo_glyph_string_path (Cairo.Context cr, Pango.Font font, Pango.GlyphString glyphs);
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (since = "1.10")]
public static void cairo_layout_line_path (Cairo.Context cr, Pango.LayoutLine line);
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (since = "1.10")]
public static void cairo_layout_path (Cairo.Context cr, Pango.Layout layout);
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (since = "1.14")]
public static void cairo_show_error_underline (Cairo.Context cr, double x, double y, double width, double height);
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (since = "1.22")]
public static void cairo_show_glyph_item (Cairo.Context cr, string text, Pango.GlyphItem glyph_item);
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (since = "1.10")]
public static void cairo_show_glyph_string (Cairo.Context cr, Pango.Font font, Pango.GlyphString glyphs);
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (since = "1.10")]
public static void cairo_show_layout (Cairo.Context cr, Pango.Layout layout);
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (since = "1.10")]
public static void cairo_show_layout_line (Cairo.Context cr, Pango.LayoutLine line);
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (since = "1.10")]
public static void cairo_update_context (Cairo.Context cr, Pango.Context context);
[CCode (cheader_filename = "pango/pangocairo.h")]
[Version (since = "1.10")]
public static void cairo_update_layout (Cairo.Context cr, Pango.Layout layout);
}
|