summaryrefslogtreecommitdiff
path: root/vapi/cogl-pango-1.0.vapi
blob: a28bd76bc7bc7dd55e13cfa58d791f733b940b2a (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
/* cogl-pango-1.0.vapi generated by vapigen, do not modify. */

[CCode (cprefix = "CoglPango", gir_namespace = "CoglPango", gir_version = "1.0", lower_case_cprefix = "cogl_pango_")]
namespace CoglPango {
	[CCode (cheader_filename = "cogl-pango/cogl-pango.h", type_id = "cogl_pango_renderer_get_type ()")]
	public class Renderer : Pango.Renderer {
		[CCode (has_construct_function = false)]
		protected Renderer ();
		[NoAccessorMethod]
		public void* context { construct; }
	}
	[CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
	public interface FontMap : Pango.CairoFontMap, GLib.Object {
		[Version (since = "1.0")]
		public void clear_glyph_cache ();
		public Pango.Context create_context ();
		[Version (since = "1.0")]
		public unowned Pango.Renderer get_renderer ();
		[Version (since = "1.0")]
		public Cogl.Bool get_use_mipmapping ();
		[Version (since = "1.14")]
		public static Pango.FontMap @new ();
		[Version (since = "1.14")]
		public void set_resolution (double dpi);
		[Version (since = "1.0")]
		public void set_use_mipmapping (Cogl.Bool value);
	}
	[CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
	[Version (since = "1.0")]
	public static void ensure_glyph_cache_for_layout (Pango.Layout layout);
	[CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
	[Version (deprecated = true, deprecated_since = "1.16", since = "1.0")]
	public static void render_layout (Pango.Layout layout, int x, int y, Cogl.Color color, int flags);
	[CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
	[Version (deprecated = true, deprecated_since = "1.16", since = "1.0")]
	public static void render_layout_line (Pango.LayoutLine line, int x, int y, Cogl.Color color);
	[CCode (cheader_filename = "cogl-pango/cogl-pango.h")]
	[Version (deprecated = true, deprecated_since = "1.16", since = "1.0")]
	public static void render_layout_subpixel (Pango.Layout layout, int x, int y, Cogl.Color color, int flags);
}