Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Flipper 6.0 Help File - <b>font_magni()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FONT_MAGNI()
   Sets the width and height magnification factors.

   Syntax
         nOk = FONT_MAGNI(nHandle,nWidth,nHeight)

   Arguments
         nHandle     Defines the font handle. Any integer in the range of
                     0-31.
         nWidth      Sets the vertical magnify factor.
         nHeight     Sets the horizontal magnify factor.

   Returns
         nOk = FONT_MAGNI(nHandle,@nWdth,@nHeight)
         nOk         Returns a -1 if an error occurred.

   Description
         FONT_MAGNI() sets the width and height magnification factor.
         The bitmapped fonts can only be expanded and the expansion
         method tends to make them look blocky. Each letter can be expanded
         a maximum of 4 times wider and 10 times higher.

                   +---------------------------------------+
                   |Font Type  |Native Size |Max. Expansion|
                   ------------+------------+--------------|
                   |           |Width|Height|Width |Height |
                   ------------+-----+------+------+-------|
                   |Bitmapped  |1    |1     |1 to 4|1 to 10|
                   |Stroke font|100  |100   |   no limit   |
                   +---------------------------------------+

         The stroke fonts can be expanded or reduced in much smaller
         increments. The native size is 100, and the font can be expanded
         or contracted. Values greater than 100 expand the font, and values
         less than 100 reduce the font size. If nWidth and nHeight are passed
         in by reference, then the current width and height will be stored
         to those variables.

See Also: FONT_ALIGN() FONT_COLOR() FONT_ROTAT() FONT_SPACE() FONT_UNDER()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson