|
|
|
|
MGL_getCharMetrics_W
Computes the character metrics for a specific wide character.
Declaration
void MGLAPI MGL_getCharMetrics_W(
wchar_t ch,
metrics_t *metrics)
Prototype In
mgraph.h
Parameters
ch |
Wide character to measure |
metrics |
Place to store the resulting metrics |
Description
This function computes the character metrics for a specific wide 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. This function is the same as MGL_getCharMetrics, but provides support for Unicode wide characters (for far-east languages).
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