MGL_getTextSize

Returns the current text scaling factors.

Declaration

void MGLAPI MGL_getTextSize(
    int *numerx,
    int *denomx,
    int *numery,
    int *denomy)

Prototype In

mgraph.h

Parameters

numerx

Place to store the x numerator value

denomx

Place to store the x denominator value

numery

Place to store the y numerator value

denomy

Place to store the y denominator value

 

Description

Returns the current text scaling factors used by MGL. The text size values define an integer scaling factor to be used, where the actual values will be computed using the following formula:

Note:    MGL can only scale vector fonts. Bitmap fonts cannot be scaled.

See Also

MGL_setTextSize

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