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>pic_to_pcx()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
PIC_TO_PCX()
   Copies a picture captured by FLIPPER into a PCX file.

   Syntax
         nIndex = PIC_TO_PCX(nPICHandle,nIndex,cPCXFile,nN,nX,nY)

   Arguments
         nPICHandle  The name of the picture.
         nIndex      Sets the index position.
         cPCXFile    Sets the picture file name.
         nN          Sets the number of planes. (EGA/VGA 16 color is 4,
                     others 1).
         nX          Sets the screen horizontal resolution. (i.e. 320, 640,
                     720).
         nY          Sets the screen vertical resolution. (i.e. 200, 350,
                     480).

   Returns
         nIndex      Returns a 0 if the function was unsuccessful, otherwise
                     the index number is returned.
         GRMAX_X()   Returns the X resolution.
         GRMAX_Y()   Returns the Y resolution.

   Description
         PIC_TO_PCX() copies a picture captured by FLIPPER into a PCX file
         loadable by a PCX compatible program. The number of bit planes is 4
         for 16 color EGA and VGA, while the other resolutions only have 1 bit
         plane. The X and Y resolution can be returned with GRMAX_X() and
         GRMAX_Y().

See Also: PCX_TO_PIC()

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