PgFontsetSimple

PangoFontsetSimple is a implementation of the abstract PangoFontset base class as an array of fonts.

When creating a PangoFontsetSimple, you have to provide the array of fonts that make up the fontset.

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
alias foreac = foreach_
Undocumented in source.
foreach_
void foreach_(PangoFontsetForeachFunc func, void* data)

Iterates through all the fonts in a fontset, calling @func for each one.

getFont
PgFont getFont(uint wc)

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

getMetrics
PgFontMetrics getMetrics()

Get overall metric information for the fonts in the fontset.

Meta