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 theGetCPixel
procedure.
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
RGBColor
record for the pixel.DESCRIPTION
In thecPix
parameter, theGetCPixel
procedure returns the RGB color for the pixel at the location you specify in theh
andv
parameters.SEE ALSO
You can use theSetCPixel
procedure, described on page 4-64, to change the color of this pixel.