PgCairoFontMap.this

Creates a new #PangoCairoFontMap object of the type suitable to be used with cairo font backend of type @fonttype.

In most cases one should simply use @pango_cairo_font_map_new(), or in fact in most of those cases, just use @pango_cairo_font_map_get_default().

  1. this(PangoCairoFontMap* pangoCairoFontMap, bool ownedRef)
  2. this()
  3. this(cairo_font_type_t fonttype)
    class PgCairoFontMap

Parameters

fonttype cairo_font_type_t

desired #cairo_font_type_t

Return Value

the newly allocated #PangoFontMap of suitable type which should be freed with g_object_unref(), or %NULL if the requested cairo font backend is not supported / compiled in.

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

1.18