MGL_getCharMetrics
Computes the character metrics for a specific character.
Declaration
void MGLAPI MGL_getCharMetrics(
char ch,
metrics_t *metrics)
Prototype In
mgraph.h
Parameters
ch |
Character to measure |
metrics |
Place to store the resulting metrics |
Description
This function computes the character metrics for a specific character. The character metrics define specific characters width, height, ascent, descent and other values. These values can then be used to correctly position the character with pixel precise positioning.
All values are defined in pixels and will be as accurate as possible given the current fonts scaling factor (only vector fonts can be scaled).
See Also
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com