XAddPixel

XAddPixel The XAddPixel() function adds a constant value to every pixel in an image. It is useful when you have a base pixel value from allocating color resources and need to manipulate the image to that form.

  1. int XAddPixel(XImage* ximage, c_long value)
  2. int XAddPixel(XImage* ximage, c_long value)
    version(!XUTIL_DEFINE_FUNCTIONS)
    extern (C) nothrow
    int
    XAddPixel
    (,
    c_long value
    )

Parameters

ximage XImage*

Specifies the image.

value c_long

Specifies the constant value that is to be added.

See Also

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

Meta