How can I draw 1x1 pixel dot?

  • Thread starter Thread starter Hamster
  • Start date Start date
SetPixel
The SetPixel function sets the pixel at the specified
coordinates to the specified color.

COLORREF SetPixel(
HDC hdc, // handle to device context
int X, // x-coordinate of pixel
int Y, // y-coordinate of pixel
COLORREF crColor // pixel color
);
 
Back
Top