MGL_getFontMetrics

Returns the currently active font metrics.

Declaration

void MGLAPI MGL_getFontMetrics(
    metrics_t *m)

Prototype In

mgraph.h

Description

This function computes the font metrics for the current font. The metrics are computed in pixels and will be as accurate as possible given the current font's scaling factor (only vector fonts can be scaled however).

See Also

MGL_getCharMetrics

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