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>fpic_get()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
FPIC_GET()
   Captures a screen image and saves it to a file.

   Syntax
         nIndex = FPIC_GET(nX1,nY1,nX2,nY2,nIndex,nPICHandle)

   Arguments
         nX1, nY1    Defines the upper left position on the screen.
         nX2, nY2    Defines the lower right position on the screen.
         nIndex      Sets the index position.
         nPICHandle  Handle of the PIC file.

   Returns
         nIndex      Returns the position in the file where the picture was
                     saved. A -1 is returned if the save was unsuccessful.
         IS_FINDEX(nPICHandle, nIndex)
                     Returns if the index is occupied by an image.
                     0 - no image saved to index.
                     1 - index occupied by image.

   Description
         FPIC_GET() captures a screen image and saves it to a file at the
         indicated nIndex position. If nIndex is 0 then the picture is
         saved to the next open position and the index number is returned.

See Also: FPIC_DEL() FPIC_PACK() FPIC_PUT()

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