2020-03-13 01:08:59 +03:00
|
|
|
/* mutter-cogl-pango-6.vapi generated by vapigen, do not modify. */
|
|
|
|
|
|
|
|
[CCode (cprefix = "CoglPango", gir_namespace = "CoglPango", gir_version = "6", lower_case_cprefix = "cogl_pango_")]
|
|
|
|
namespace CoglPango {
|
2020-11-17 14:11:52 +03:00
|
|
|
#if HAS_MUTTER338
|
|
|
|
[CCode (cheader_filename = "cogl-pango.h")]
|
|
|
|
public interface FontMap : Pango.CairoFontMap, GLib.Object {
|
|
|
|
#else
|
2020-06-17 20:50:29 +03:00
|
|
|
[CCode (cheader_filename = "cogl-pango.h", type_id = "pango_font_map_get_type ()")]
|
|
|
|
public class FontMap : Pango.FontMap {
|
2020-03-13 01:08:59 +03:00
|
|
|
[CCode (has_construct_function = false)]
|
2020-06-17 20:50:29 +03:00
|
|
|
protected FontMap ();
|
2020-11-17 14:11:52 +03:00
|
|
|
#endif
|
2020-03-13 01:08:59 +03:00
|
|
|
[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 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 (bool value);
|
|
|
|
}
|
2020-06-17 20:50:29 +03:00
|
|
|
[CCode (cheader_filename = "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; }
|
|
|
|
}
|
2020-03-13 01:08:59 +03:00
|
|
|
[CCode (cheader_filename = "cogl-pango.h")]
|
|
|
|
[Version (since = "1.0")]
|
|
|
|
public static void ensure_glyph_cache_for_layout (Pango.Layout layout);
|
|
|
|
}
|