Name
get_window_pointer3get_window_pointer3GetWindowPointer3GetWindowPointer3 — Access to a window's pixel data.
Herror get_window_pointer3(const Hlong WindowHandle, Hlong* ImageRed, Hlong* ImageGreen, Hlong* ImageBlue, Hlong* Width, Hlong* Height)
Herror T_get_window_pointer3(const Htuple WindowHandle, Htuple* ImageRed, Htuple* ImageGreen, Htuple* ImageBlue, Htuple* Width, Htuple* Height)
get_window_pointer3get_window_pointer3GetWindowPointer3GetWindowPointer3GetWindowPointer3 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 (ImageRedImageRedImageRedImageRedimageRed, ImageGreenImageGreenImageGreenImageGreenimageGreen,
ImageBlueImageBlueImageBlueImageBlueimageBlue), as well as the window size (WidthWidthWidthWidthwidth,
HeightHeightHeightHeightheight).
In the language C the type of the image points is unsigned char.
get_window_pointer3get_window_pointer3GetWindowPointer3GetWindowPointer3GetWindowPointer3 is usable only for window type
'pixmap'.
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
Pointer on red channel of pixel data.
Pointer on green channel of pixel data.
Pointer on blue channel of pixel data.
If a window of type 'pixmap' exists and it is valid
get_window_pointer3get_window_pointer3GetWindowPointer3GetWindowPointer3GetWindowPointer3 returns 2 (H_MSG_TRUE).
If necessary an exception is raised.
open_windowopen_windowOpenWindowOpenWindowOpenWindow
open_windowopen_windowOpenWindowOpenWindowOpenWindow,
set_window_typeset_window_typeSetWindowTypeSetWindowTypeSetWindowType
Foundation