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_edfill()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
PAT_EDFILL()
   Modifies the pre-defined fill patterns.

   Syntax
         PAT_EDFILL(nPatternNo,aPattern[8] [,nFgColor] [,nBgColor])

   Arguments
         nPatternNo    Internal pattern number. (2-10)
         aPattern[8]   Array representing and 8x8 matrix of on and off bits.
         nFgColor      Color of foreground for pattern. [default figure color]
         nBgColor      Color of background for pattern. [default transparent]

   Description
         The internal fill patterns for bars, pie slices, etc. can be
         modified with PAT_EDFILL(). Each pattern is an eight element array
         representing an 8x8 matrix of off and on bits. To change a pattern
         you would load an 8 element array with the decimal equivalent of
         the binary number with the bit pattern that you wish to use. The
         bits that are set in the bit pattern are displayed.

         By default, the fill color is the same as the color of the figure.
         The background of the palette is transparent by default. The
         nFgColor changes the foregound color for the pattern. The nBgColor
         changes the background color of the pattern. If you change these
         values and wish to return them to their default state, set
         nFgColor and nBgColor to 0.

See Also: PAT_SETFIL()

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