Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Watcom C/C++ v10.0 : C library - these functions are for the display of fonts compatible with microsoft http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
These functions are for the display of fonts compatible with Microsoft
Windows.  Fonts are contained in files with an extension of .FON.  Before
font based text can be displayed, the fonts must be registered with the
 _registerfonts function, and a font must be selected with the  _setfont
function.

The following functions are defined:

_getfontinfo
    get information about the currently selected font

_getgtextextent
    get the length in pixels of a text string

_getgtextvector
    get the current value of the font text orientation vector

_outgtext
    display a string of text in the current font

_registerfonts
    initialize the font graphics system

_setfont
    select a font from among the registered fonts

_setgtextvector
    set the font text orientation vector

_unregisterfonts
    frees memory allocated by the font graphics system

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