GetPixel function gdi32
Retrieves the red, green, blue (RGB) color value of the pixel at the specified coordinates.
To learn more, see learn.microsoft.com/windows/win32/api/wingdi/nf-wingdi-getpixel.
Implementation
@pragma('vm:prefer-inline')
COLORREF GetPixel(HDC hdc, int x, int y) => COLORREF(_GetPixel(hdc, x, y));