SetPixel function Null safety gdi32

int SetPixel(
  1. int hdc,
  2. int x,
  3. int y,
  4. int color
)

The SetPixel function sets the pixel at the specified coordinates to the specified color.

COLORREF SetPixel(
  HDC      hdc,
  int      x,
  int      y,
  COLORREF color
);

Implementation

int SetPixel(int hdc, int x, int y, int color) => _SetPixel(hdc, x, y, color);