get_pixelπ
Short descriptionπ
get_pixel β Get the current color lookup table index.
Warningπ
get_pixel is obsolete and is only provided for
reasons of backward compatibility.
Signatureπ
get_pixel( window WindowHandle, out integer Pixel )
Descriptionπ
get_pixel returns the internal coding of the output
gray value or color, respectively, for the window. If the output mode is
set to color(s) or gray value(s) (see set_color or
set_gray), then the color- or gray values are transformed
for internal use. The internal code is then used for (physical)
screen display. The transformation depends on the mapping
characteristics and the condition of the output device and can be
different in different program runs. Donβt confuse the term βpixelβ
with the term βpixelβ in image processing (the other operator
is get_grayval). Here a pixel is meant to be the
color lookup table index.
With get_pixel it is possible to save the output mode
without knowing whether colors or gray values are
used. Pixel is set with the operator
set_pixel.
Execution informationπ
Execution information
-
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
-
Multithreading scope: global (may be called from any thread).
-
Processed without parallelization.
Parametersπ
WindowHandle (input_control) window β (handle)
Window handle.
Pixel (output_control) integer-array β (integer)
Index of the current color look-up table.
Resultπ
get_part_style returns 2 (H_MSG_TRUE) if the window is valid.
Otherwise an exception is raised.
Combinations with other operatorsπ
Moduleπ
Foundation