Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ Language Reference - fg_setlinepattern http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
                            fg_setlinepattern

   Usage
   #include <fg.h>
   void far fg_setlinepattern(int line_type,int pattern);

   Description
   Set the pattern for a line.

   line_type       Value between 0 and FG_LINE_MAX-1. Subsequent uses  of
                   this value will use this line pattern.

   pattern         16 bits defining the line pattern. The pattern  starts
                   at  bit 15, goes down to bit 0, and then  repeats.  If
                   fg_drawlinep  is  to  always generate  a  dot  at  the
                   beginning of a line, bit 15 must be a 1.

   Example
   /* A very, very sparse dotted line. */
   fg_setlinepattern(FG_LINE_USER_DEFINED, 0x8000);


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