Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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