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>pat_setlin()</b> g_exam07 http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
PAT_SETLIN()                                                        G_EXAM07
   Selects a pattern to be used by line drawing functions.

   Syntax
         PAT_SETLIN(nPatternNo [,nNewPattern])

   Arguments
         nPatternNo     Internal line pattern number. (1-10)
                        +------------------------------------+
                        |           LINE PATTERNS            |
                        -------------------------------------|
                        |Number|Line Patterns    | Hex value |
                        -------+-----------------+-----------|
                        |0     |1111111111111111 |   FFFF    |
                        |1     |1000100010001000 |   8888    |
                        |2     |1111000011110000 |   F0F0    |
                        |3     |1111110011111100 |   FCFC    |
                        |4     |1010101010101010 |   AAAA    |
                        |5     |1111011011110110 |   FCCC    |
                        |6     |1100110011001100 |   CCCC    |
                        |7     |1000000010000000 |   8080    |
                        |8     |1111111010111010 |   FEBA    |
                        |9     |1111110011001100 |   FF33    |
                        |10    |1000000000000000 |   8000    |
                        +------------------------------------+

         nNewPattern - integer value where each bit represents the
                       pattern.

   Description
         PAT_SETLIN() allows you to select one of 10 built in line patterns. A
         line pattern is a 16 bit bitmask where each bit set is drawn. It can
         be used with any function that draws a figure.

See Also: FLINE() PLINE() SET_LN_PAT()

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