ClassesClassesClassesClasses | | | | Operators

get_pixelT_get_pixelGetPixelget_pixelGetPixelGetPixel (Operator)


get_pixelT_get_pixelGetPixelget_pixelGetPixelGetPixel — Get the current color lookup table index.


get_pixel( : : WindowHandle : Pixel)

Herror T_get_pixel(const Htuple WindowHandle, Htuple* Pixel)

Herror get_pixel(const HTuple& WindowHandle, HTuple* Pixel)

HTuple HWindow::GetPixel() const

void GetPixel(const HTuple& WindowHandle, HTuple* Pixel)

HTuple HWindow::GetPixel() const

void HOperatorSetX.GetPixel(
[in] VARIANT WindowHandle, [out] VARIANT* Pixel)

VARIANT HWindowX.GetPixel()

static void HOperatorSet.GetPixel(HTuple windowHandle, out HTuple pixel)

HTuple HWindow.GetPixel()


get_pixelget_pixelGetPixelget_pixelGetPixelGetPixel 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_colorset_colorSetColorset_colorSetColorSetColor or set_grayset_graySetGrayset_graySetGraySetGray), 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_grayvalget_grayvalGetGrayvalget_grayvalGetGrayvalGetGrayval). Here a pixel is meant to be the color loookup table index.

With get_pixelget_pixelGetPixelget_pixelGetPixelGetPixel it is possible to save the output mode without knowing whether colors or gray values are used. PixelPixelPixelPixelPixelpixel is set with the operator set_pixelset_pixelSetPixelset_pixelSetPixelSetPixel.



WindowHandleWindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHTupleHWindowX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)


PixelPixelPixelPixelPixelpixel (output_control)  integer-array HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Index of the current color look-up table.


get_part_styleget_part_styleGetPartStyleget_part_styleGetPartStyleGetPartStyle returns 2 (H_MSG_TRUE) if the window is valid. Otherwise an exception is raised.

Possible Successors

set_pixelset_pixelSetPixelset_pixelSetPixelSetPixel, disp_regiondisp_regionDispRegiondisp_regionDispRegionDispRegion, disp_imagedisp_imageDispImagedisp_imageDispImageDispImage

See also

set_pixelset_pixelSetPixelset_pixelSetPixelSetPixel, set_fixset_fixSetFixset_fixSetFixSetFix



ClassesClassesClassesClasses | | | | Operators