summaryrefslogtreecommitdiff
path: root/vapi/pangocairo.vapi
blob: 4e90a058d152048688b3e71ba08e341c44bf9dac (plain)
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
/* pangocairo.vapi generated by vapigen, do not modify. */

[CCode (cprefix = "Pango", lower_case_cprefix = "pango_", gir_namespace = "PangoCairo", gir_version = "1.0")]
namespace Pango {
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public interface CairoFont : Pango.Font {
		public unowned Cairo.ScaledFont get_scaled_font ();
	}
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public interface CairoFontMap : Pango.FontMap {
		public unowned Pango.Context create_context ();
		public static unowned Pango.FontMap get_default ();
		public Cairo.FontType get_font_type ();
		public double get_resolution ();
		public static unowned Pango.FontMap @new ();
		public static unowned Pango.FontMap new_for_font_type (Cairo.FontType fonttype);
		public void set_default ();
		public void set_resolution (double dpi);
	}
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public delegate void CairoShapeRendererFunc (Cairo.Context cr, Pango.AttrShape attr, bool do_path);
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public static unowned Cairo.FontOptions cairo_context_get_font_options (Pango.Context context);
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public static double cairo_context_get_resolution (Pango.Context context);
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public static unowned Pango.CairoShapeRendererFunc cairo_context_get_shape_renderer (Pango.Context context, void* data);
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public static void cairo_context_set_font_options (Pango.Context context, Cairo.FontOptions options);
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public static void cairo_context_set_resolution (Pango.Context context, double dpi);
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public static void cairo_context_set_shape_renderer (Pango.Context context, Pango.CairoShapeRendererFunc func, void* data, GLib.DestroyNotify dnotify);
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public static Pango.Context cairo_create_context (Cairo.Context cr);
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public static Pango.Layout cairo_create_layout (Cairo.Context cr);
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public static void cairo_error_underline_path (Cairo.Context cr, double x, double y, double width, double height);
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public static void cairo_glyph_string_path (Cairo.Context cr, Pango.Font font, Pango.GlyphString glyphs);
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public static void cairo_layout_line_path (Cairo.Context cr, Pango.LayoutLine line);
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public static void cairo_layout_path (Cairo.Context cr, Pango.Layout layout);
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public static void cairo_show_error_underline (Cairo.Context cr, double x, double y, double width, double height);
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public static void cairo_show_glyph_item (Cairo.Context cr, string text, Pango.GlyphItem glyph_item);
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public static void cairo_show_glyph_string (Cairo.Context cr, Pango.Font font, Pango.GlyphString glyphs);
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public static void cairo_show_layout (Cairo.Context cr, Pango.Layout layout);
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public static void cairo_show_layout_line (Cairo.Context cr, Pango.LayoutLine line);
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public static void cairo_update_context (Cairo.Context cr, Pango.Context context);
	[CCode (cheader_filename = "pango/pangocairo.h")]
	public static void cairo_update_layout (Cairo.Context cr, Pango.Layout layout);
}