This member function retrieves the RGB color value of the pixel at the point specified by x and y.
COLORREF GetPixel( int x, int y ) const;
COLORREF GetPixel( POINT point ) const;
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CDC Overview, CDC Member Functions, Graphical Drawing Classes, CDC::GetDeviceCaps, CDC::SetPixel, CPoint