PgFontsetSimple

#PangoFontsetSimple is a implementation of the abstract #PangoFontset base class in terms of an array of fonts, which the creator provides when constructing the #PangoFontsetSimple.

Constructors

this
this(PangoFontsetSimple* pangoFontsetSimple, bool ownedRef)

Sets our main struct and passes it to the parent class.

this
this(PgLanguage language)

Creates a new #PangoFontsetSimple for the given language.

Members

Functions

append
void append(PgFont font)

Adds a font to the fontset.

getPgFontsetSimpleStruct
PangoFontsetSimple* getPgFontsetSimpleStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

size
int size()

Returns the number of fonts in the fontset.

Static functions

getType
GType getType()

Variables

pangoFontsetSimple
PangoFontsetSimple* pangoFontsetSimple;

the main Gtk struct

Inherited Members

From PgFontset

pangoFontset
PangoFontset* pangoFontset;

the main Gtk struct

getPgFontsetStruct
PangoFontset* getPgFontsetStruct(bool transferOwnership)

Get the main Gtk struct

getStruct
void* getStruct()

the main Gtk struct as a void*

getType
GType getType()
foreac
void foreac(PangoFontsetForeachFunc func, void* data)

Iterates through all the fonts in a fontset, calling @func for each one. If @func returns %TRUE, that stops the iteration.

getFont
PgFont getFont(uint wc)

Returns the font in the fontset that contains the best glyph for the Unicode character @wc.

getMetrics
PgFontMetrics getMetrics()

Get overall metric information for the fonts in the fontset.

Meta