Method
Pango.FontFace.list_sizes
Declaration [src]
void
pango_font_face_list_sizes (
PangoFontFace* face,
int** sizes,
int* n_sizes
)
Description [src]
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 n_sizes
. The sizes returned are in Pango units and are sorted
in ascending order.
Available since: | 1.4 |
Parameters
sizes |
An array of int* |
location to store a pointer to an array of int. This array
should be freed with |
|
Direction: out | |
The length of the array is in the n_sizes argument | |
The called function takes ownership of the data, and is responsible for freeing it | |
n_sizes |
int* |
location to store the number of elements in |
|
Direction: out | |
The called function takes ownership of the data, and is responsible for freeing it |