Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.3 . Guide To CA-Clipper - <b>ggetpixel()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 GGETPIXEL()
 Get color information for a pixel
------------------------------------------------------------------------------
 Syntax

     GGETPIXEL(<nX>, <nY>) --> nColor

 Arguments

     <nX> is a numeric value representing the position on the X-axis
     (row).

     <nY> is a numeric value representing the position on the Y-axis
     (column).

 Returns

     GGETPIXEL() returns the value of a specific pixel.

 Description

     GGETPIXEL() can be used to get the color of a specific pixel.

 Examples

     .  The following example retrieves the color of pixel at X-
        coordinate 100 and Y-coordinate 100:

        nColor := GGETPIXEL(100, 100)

 Files   Library is LLIBG.LIB, header file is Llibg.ch.


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