int = SetPixel(hdc, X
, Y
, Color
)
Set the color of a single pixel
Parameters
hdc : PyHANDLE
Handle to a device contextX : int
Horizontal posY : int
Vertical posColor : int
RGB color to be set.Return Value
Returns the RGB color actually set, which may be different from the one passed in