Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- dBsee 4.6 - The Library - <b>dfloadraw()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
dfLoadRaw()
Load and display a .RAW image
------------------------------------------------------------------------------
Syntax:

     dfLoadRaw( <cImage>, [<nInkey>],;
              [<lChangeMode>], [<nX>], [<nY>] ) --> lLoad

Parameters:

     <cImage>   Image file name or Image buffer
     <nInkey>   Seconds to wait. If 0 wait until a key was press. DEFAULT 0
     <lChangeMode> If .t. set the graphic mode
     <nX>       X offset. DEFAULT 0
     <nY>       Y offset. DEFAULT 0

Returns:

     <lLoad> returns .T. if loaded with success

Description:

     Load and displays an image with a .RAW format (graphics image). .RAW
     images have a variable resolution and 256 colors.

Example:

     LOCAL cImage
     
     // Load an image in dBsee
     dfLoadRaw( "PICTURE.RAW" ) // Load the image
     
     // Load an image in dBsee
     cImage := MEMOREAD("PICTURE.RAW")
     dfLoadRaw( cImage ) // Load the image

See also:

     dfDacRest(), dfDacSet()

See Also: dfDacRest() dfDacSet()

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