VG3_fontsize()
Return width, height and horizontal and vertical padding of a font.SYNTAX
void
VG3_fontsize(struct vg3_window *wstruct,
const char *fontfile,
int *rwidth,
int *rheight,
int *rwpadd,
int *rhpadd)
FUNCTION PARAMETERS
wstruct | Window-struct |
fontfile | Fontfile |
rwidth | For returning the width of the font |
rheight | For returning the height of the font |
rwpadd | For returning the horizontal padding (width padding) |
rhpadd | For returning the vertical padding (height padding) |
DESCRIPTION
Return width, height and horizontal and vertical padding of a font.
Refer to struct vg3_text for the format of a fontfile.