CImage::GetPixel
Retrieves the color of the pixel at the location specified by x and y.
COLORREF GetPixel(
int x,
int y
) const throw( );
Parameters
x
The x-coordinate of the pixel.y
The y-coordinate of the pixel.
Return Value
The red, green, blue (RGB) value of the pixel. If the pixel is outside of the current clipping region, the return value is CLR_INVALID.
Requirements
Header: atlimage.h