XGetPixel

XGetPixel The XGetPixel() function returns the specified pixel from the named image. The pixel value is returned 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. c_ulong XGetPixel(XImage* ximage, int x, int y)
  2. c_ulong XGetPixel(XImage* ximage, int x, int y)
    version(!XUTIL_DEFINE_FUNCTIONS)
    extern (C) nothrow
    c_ulong
    XGetPixel
    (,
    int x
    ,
    int y
    )

Parameters

ximage XImage*

Specifies the image.

x int

Specify the x coordinate.

y int

Specify the y coordinate.

See Also

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

Meta