Important: The information in this document is obsolete and should not be used for new development.
GetCPixel
To determine the color of an individual pixel, use theGetCPixelprocedure.
PROCEDURE GetCPixel (h,v: Integer; VAR cPix: RGBColor);
h- The horizontal coordinate of the point at the upper-left corner of the pixel.
v- The vertical coordinate of the point at the upper-left corner of the pixel.
cPix- The
RGBColorrecord for the pixel.DESCRIPTION
In thecPixparameter, theGetCPixelprocedure returns the RGB color for the pixel at the location you specify in thehandvparameters.SEE ALSO
You can use theSetCPixelprocedure, described on page 4-64, to change the color of this pixel.