1 /* pangocairo.vapi generated by vapigen, do not modify. */
3 [CCode (cprefix = "Pango", lower_case_cprefix = "pango_", gir_namespace = "PangoCairo", gir_version = "1.0")]
5 [CCode (cheader_filename = "pango/pangocairo.h")]
6 public interface CairoFont : Pango.Font {
7 public unowned Cairo.ScaledFont get_scaled_font ();
9 [CCode (cheader_filename = "pango/pangocairo.h")]
10 public interface CairoFontMap : Pango.FontMap {
11 public unowned Pango.Context create_context ();
12 public static unowned Pango.FontMap get_default ();
13 public Cairo.FontType get_font_type ();
14 public double get_resolution ();
15 public static unowned Pango.FontMap @new ();
16 public static unowned Pango.FontMap new_for_font_type (Cairo.FontType fonttype);
17 public void set_default ();
18 public void set_resolution (double dpi);
20 [CCode (cheader_filename = "pango/pangocairo.h")]
21 public delegate void CairoShapeRendererFunc (Cairo.Context cr, Pango.AttrShape attr, bool do_path);
22 [CCode (cheader_filename = "pango/pangocairo.h")]
23 public static unowned Cairo.FontOptions cairo_context_get_font_options (Pango.Context context);
24 [CCode (cheader_filename = "pango/pangocairo.h")]
25 public static double cairo_context_get_resolution (Pango.Context context);
26 [CCode (cheader_filename = "pango/pangocairo.h")]
27 public static unowned Pango.CairoShapeRendererFunc cairo_context_get_shape_renderer (Pango.Context context);
28 [CCode (cheader_filename = "pango/pangocairo.h")]
29 public static void cairo_context_set_font_options (Pango.Context context, Cairo.FontOptions options);
30 [CCode (cheader_filename = "pango/pangocairo.h")]
31 public static void cairo_context_set_resolution (Pango.Context context, double dpi);
32 [CCode (cheader_filename = "pango/pangocairo.h")]
33 public static void cairo_context_set_shape_renderer (Pango.Context context, owned Pango.CairoShapeRendererFunc func);
34 [CCode (cheader_filename = "pango/pangocairo.h")]
35 public static Pango.Context cairo_create_context (Cairo.Context cr);
36 [CCode (cheader_filename = "pango/pangocairo.h")]
37 public static Pango.Layout cairo_create_layout (Cairo.Context cr);
38 [CCode (cheader_filename = "pango/pangocairo.h")]
39 public static void cairo_error_underline_path (Cairo.Context cr, double x, double y, double width, double height);
40 [CCode (cheader_filename = "pango/pangocairo.h")]
41 public static void cairo_glyph_string_path (Cairo.Context cr, Pango.Font font, Pango.GlyphString glyphs);
42 [CCode (cheader_filename = "pango/pangocairo.h")]
43 public static void cairo_layout_line_path (Cairo.Context cr, Pango.LayoutLine line);
44 [CCode (cheader_filename = "pango/pangocairo.h")]
45 public static void cairo_layout_path (Cairo.Context cr, Pango.Layout layout);
46 [CCode (cheader_filename = "pango/pangocairo.h")]
47 public static void cairo_show_error_underline (Cairo.Context cr, double x, double y, double width, double height);
48 [CCode (cheader_filename = "pango/pangocairo.h")]
49 public static void cairo_show_glyph_item (Cairo.Context cr, string text, Pango.GlyphItem glyph_item);
50 [CCode (cheader_filename = "pango/pangocairo.h")]
51 public static void cairo_show_glyph_string (Cairo.Context cr, Pango.Font font, Pango.GlyphString glyphs);
52 [CCode (cheader_filename = "pango/pangocairo.h")]
53 public static void cairo_show_layout (Cairo.Context cr, Pango.Layout layout);
54 [CCode (cheader_filename = "pango/pangocairo.h")]
55 public static void cairo_show_layout_line (Cairo.Context cr, Pango.LayoutLine line);
56 [CCode (cheader_filename = "pango/pangocairo.h")]
57 public static void cairo_update_context (Cairo.Context cr, Pango.Context context);
58 [CCode (cheader_filename = "pango/pangocairo.h")]
59 public static void cairo_update_layout (Cairo.Context cr, Pango.Layout layout);