WinXDraw_SetImagePixel


WinXDraw_SetImagePixel (hImage, x, y, colour)

Sets a pixel on a bitmap

Parameter Description
hImage The handle to the image to set the pixel on
x The 0 based x coordinate of the pixel
y The 0 based y coordinate of the pixel
colour The colour to set the pixel to

Returns

$$TRUE on success or $$FALSE on fail

Remarks

none

Examples

'Set the upper left hand pixel to black
WinXDraw_SetImagePixel (hImage, 0, 0, 0)

Related Links

Images
WinXDrawImage
WinXDraw_CreateImage
WinXDraw_LoadImage
WinXDraw_SaveImage
WinXDraw_GetImagePixel
WinXDraw_SetConstantAlpha
WinXDraw_SetImageChannel
WinXDraw_GetImageInfo