Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Changes a single pixel in a bitmap to the specified color.
static void __stdcall SetPixel(
COLORREF* pBits,
int cx,
int cy,
int x,
int y,
COLORREF color
);
Parameters
Parameter |
Description |
[in] pBits |
A pointer to the bit values of the bitmap. |
[in] cx |
The total width of the bitmap. |
[in] cy |
The total height of the bitmap. |
[in] x |
The x-coordinate of the pixel in the bitmap to change. |
[in] y |
The y-coordinate of the pixel in the bitmap to change. |
[in] color |
The new color for the pixel identified by the supplied coordinates. |
Requirements
Header: afxdrawmanager.h