list_sizes


Description:

[ Version ( since = "1.4" ) ]
public virtual void list_sizes (out int[]? sizes)

List the available sizes for a font.

This is only applicable to bitmap fonts. For scalable fonts, stores null at the location pointed to by sizes and 0 at the location pointed to by sizes.length. The sizes returned are in Pango units and are sorted in ascending order.

Parameters:

this

a `PangoFontFace`.

sizes

location to store a pointer to an array of int. This array should be freed with g_free.

n_sizes

location to store the number of elements in sizes




2022 vala-language.org