Salut, De quel langage et de quel système s'agit-il ? Voila ce que dit winhelp sur:
SetPixel sets the pixel at the specified coordinates to the specified color.
COLORREF SetPixel(
HDC hdc, ; handle of device context int X, // x-coordinate of pixel int Y, // y-coordinate of pixel COLORREF crColor // pixel color );
Parameters
hdc, Il faut l'obtenir par GETDC ou similaire
X, Specifies the x-coordinate, in logical units, of the point to be set.
Y, Specifies the y-coordinate, in logical units, of the point to be set.
crColor, Specifies the color to be used to paint the point. ToutEnMasm
|