MGL_setTextSize

Sets the current text scaling factors

Declaration

void MGLAPI MGL_setTextSize(
    int numerx,
    int denomx,
    int numery,
    int denomy)

Prototype In

mgraph.h

Parameters

numerx

x scaling numerator value

denomx

x scaling denominator value

numery

y scaling numerator value

denomy

y scaling denominator value

 

Description

Sets 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:

         unscaled * numer
scaled = ----------------
              denom

Note:    MGL can only scale vectored fonts.

See Also

MGL_getTextSize

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