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.

version(linux && !XUTIL_DEFINE_FUNCTIONS)
@nogc
int
XAddPixel
(
XImage* ximage
,
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