XPutPixel(3X) XLIB FUNCTIONS XPutPixel(3X)NAMEXPutPixel - image utility
SYNTAX
XPutPixel(ximage, x, y, pixel)
XImage *ximage;
int x;
int y;
unsigned long pixel;
ARGUMENTS
ximage Specifies the image.
x
y Specify the x and y coordinates.
pixel Specifies the new pixel value.
DESCRIPTION
The XPutPixel function overwrites the pixel in the named image with the
specified pixel value. The input pixel value must be in normalized
format (that is, the least-significant byte of the long is the least-
significant byte of the pixel). The image must contain the x and y
coordinates.
SEE ALSOXInitImage(3X), XCreateImage(3X), XGetPixel(3X), XSubImage(3X), XAd‐
dPixel(3X), XDestroy(3X)X Version 11 Release 6 XPutPixel(3X)