MGL_getGlyphWidth

Returns the width of a specified glyph in the specified font.

Declaration

int MGLAPI MGL_getGlyphWidth(
font_t *font,
uchar glyph)

Prototype In

mgraph.h

Parameters

font | Font of interest
glyph | Index of glyph in font file to measure

Return Value

Returns the width of the specified glyph.

See Also

MGL_getGlyphHeight

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