Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- The Library for Clipper - <b>l_tsize()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                                 L_TSIZE()


Syntax:        L_TSIZE(<expN>)


Purpose:       To specify size of text for use by functions which put
               text on the screen in graphics mode.




Arguments:     <expN> is the code for the text size; 0 indicates the
               smallest size of text, 1 indicates medium text and 2
               the largest size of text.


Returns:       Nothing.


Usage:         Call this function before calling any of the graphics
               functions which put graphics text on the screen in
               order to specify the size of text to be displayed.


Examples:      string = "Planet Software"       && initialize string
               h_v = 1                          && horizontal text
               startx = 100                     && x coord of start of text
               starty = 100                     && y coord of start of text
               fgd = 4                          && red foreground
               bkgd = 15                        && white background

               L_TSIZE(2)                       && set size of text
               L_GMODE(13)                      && set graphics mode
                                                && write text on screen
               L_TEXT(string,h_v,startx,starty,fgd,bkgd)


Language:      C

See Also: L_HBAR() L_HSBAR() L_TEXT() L_VBAR() L_VSBAR()

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