XPutPixel

XPutPixel 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.

  1. int XPutPixel(XImage* ximage, int x, int y, c_ulong pixel)
  2. int XPutPixel(XImage* ximage, int x, int y, c_ulong pixel)
    version(linux && !XUTIL_DEFINE_FUNCTIONS)
    extern (C) nothrow @nogc
    int
    XPutPixel
    (,
    int x
    ,
    int y
    ,
    c_ulong pixel
    )

Parameters

ximage XImage*

Specifies the image.

x int

Specify the x coordinate.

y int

Specify the y coordinate.

pixel c_ulong

Specifies the new pixel value.

See Also

XAddPixel(), XCreateImage(), XGetPixel(), XPutPixel(), XSubImage(), http://tronche.com/gui/x/xlib/utilities/manipulating-images.html

Meta