font::TextWidth


NAME

TextWidth - Compute width of a string

SYNOPSIS

int font::TextWidth(char *string, int length = 0);

DESCRIPTION

If length is 0 (the default), the length is the number of characters in the string.

SEE ALSO

DIAGNOSTICS