| Home
| Previous
| Next
| Up

MGL_charWidth_W

Returns the width of a wide character in pixels.

Declaration

int MGLAPI MGL_charWidth_W(
wchar_t ch)

Prototype In

mgraph.h

Parameters

ch | Wide character to measure

Return Value

Width of the wide character in pixels (will depend on currently active font)

Description

Return the width of the specified wide character, given the currently active font and attribute settings. This function is the same as MGL_charWidth, but provides support for Unicode wide characters (for far-east languages).

See Also

MGL_textWidth_W, MGL_textHeight, MGL_useFont, MGL_charWidth

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