MGL_maxCharWidth

Returns the maximum character width for current font.

Declaration

int MGLAPI MGL_maxCharWidth(void)

Prototype In

mgraph.h

Return Value

Maximum character width for current font.

Description

Returns the maximum character width for the currently active font. You can use this routine to quickly determine if a character will possibly overlap something else on the device surface.

See Also

MGL_getCharMetrics, MGL_getFontMetrics, MGL_textHeight, MGL_textWidth, MGL_charWidth

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com