RMenum rmTextGetExtents (const char *string,
int fontEnum,
int sizeEnum,
int boldEnum,
int italicEnum,
int *widthReturn,
int *heightReturn,
const RMpipe *renderPipe)
const char *string - a character string (input). int fontEnum - an integer value specifying a font family. May be one
of RM_FONT_SERIF, RM_FONT_SANS, RM_FONT_MONO, RM_FONT_SYMBOL or
RM_FONT_DINGBATS (input). int sizeEnum - an integer font size enumerator. May be one of
RM_FONT_XXS, RM_FONT_XS, RM_FONT_S, RM_FONT_M, RM_FONT_L,
RM_FONT_XL, RM_FONT_XXL. int boldEnum, italicEnum - integer values indicating whether or not
to the text string is in boldface or italicized. Valid values are
RM_TRUE or RM_FALSE (input). int *widthReturn, *heightReturn - pointers to integers. The width and
height of the rendered text string is returned in through these
parameters. Values of NULL are acceptable (return). const RMpipe *renderPipe - a handle to an RMpipe (input).
librm library source file: rmxtext.c