MGL_textHeight

Returns the height of the current font in pixels.

Declaration

int MGLAPI MGL_textHeight(void)

Prototype In

mgraph.h

Return Value

Height of the current font in pixels

Description

Returns the height of the currently active font in pixels. This includes any scaling transformations that are applied to the font and will be as accurate as possible at the resolution of the display device.

See Also

MGL_textWidth, MGL_drawStr, MGL_getCharMetrics, MGL_getFontMetrics

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