VgaGames4

VgaGames4 - font man-pages

[.. upper level ..]

# vg4->font->maxsize()

Get greatest width and height of a font.

SYNTAX
void vg4->font->maxsize(const struct VG_Font *fntp, int *width, int *height)
FUNCTION PARAMETERS

fntp | Font, or NULL = default font
width | For returning width
height | For returning height

DESCRIPTION
Get greatest width and height of a font. In width the width of the broadest character will be returned. In height the height of the highest character will be returned.