Operators |
get_window_pointer3 — Access to a window's pixel data.
get_window_pointer3( : : WindowHandle : ImageRed, ImageGreen, ImageBlue, Width, Height)
get_window_pointer3 enables (in some window systems) the direct access to the bitmap. Result values are the three pointers on the color extracts of a 24-bit window (ImageRed, ImageGreen, ImageBlue), as well as the window size (Width, Height). In the language C the type of the image points is unsigned char.
get_window_pointer3 is usable only for window type 'pixmap'.
Window handle.
Pointer on red channel of pixel data.
Pointer on green channel of pixel data.
Pointer on blue channel of pixel data.
Length of an image line.
Number of image lines.
If a window of type 'pixmap' exists and it is valid get_window_pointer3 returns 2 (H_MSG_TRUE). If necessary an exception is raised.
Foundation
Operators |