ClassesClassesClassesClasses | | | | Operators

get_window_pointer3get_window_pointer3GetWindowPointer3get_window_pointer3GetWindowPointer3GetWindowPointer3 (Operator)

Name

get_window_pointer3get_window_pointer3GetWindowPointer3get_window_pointer3GetWindowPointer3GetWindowPointer3 — Access to a window's pixel data.

Signature

get_window_pointer3( : : WindowHandle : ImageRed, ImageGreen, ImageBlue, Width, Height)

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)

Herror get_window_pointer3(const HTuple& WindowHandle, Hlong* ImageRed, Hlong* ImageGreen, Hlong* ImageBlue, Hlong* Width, Hlong* Height)

Hlong HWindow::GetWindowPointer3(HTuple* ImageGreen, HTuple* ImageBlue, HTuple* Width, HTuple* Height) const

void GetWindowPointer3(const HTuple& WindowHandle, HTuple* ImageRed, HTuple* ImageGreen, HTuple* ImageBlue, HTuple* Width, HTuple* Height)

void HWindow::GetWindowPointer3(Hlong* ImageRed, Hlong* ImageGreen, Hlong* ImageBlue, Hlong* Width, Hlong* Height) const

void HOperatorSetX.GetWindowPointer3(
[in] VARIANT WindowHandle, [out] VARIANT* ImageRed, [out] VARIANT* ImageGreen, [out] VARIANT* ImageBlue, [out] VARIANT* Width, [out] VARIANT* Height)

Hlong HWindowX.GetWindowPointer3(
[out] Hlong* ImageGreen, [out] Hlong* ImageBlue, [out] Hlong* Width, [out] Hlong* Height)

static void HOperatorSet.GetWindowPointer3(HTuple windowHandle, out HTuple imageRed, out HTuple imageGreen, out HTuple imageBlue, out HTuple width, out HTuple height)

void HWindow.GetWindowPointer3(out int imageRed, out int imageGreen, out int imageBlue, out int width, out int height)

Description

get_window_pointer3get_window_pointer3GetWindowPointer3get_window_pointer3GetWindowPointer3GetWindowPointer3 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 (ImageRedImageRedImageRedImageRedImageRedimageRed, ImageGreenImageGreenImageGreenImageGreenImageGreenimageGreen, ImageBlueImageBlueImageBlueImageBlueImageBlueimageBlue), as well as the window size (WidthWidthWidthWidthWidthwidth, HeightHeightHeightHeightHeightheight). In the language C the type of the image points is unsigned char.

Attention

get_window_pointer3get_window_pointer3GetWindowPointer3get_window_pointer3GetWindowPointer3GetWindowPointer3 is usable only for window type 'pixmap'.

Parallelization

Parameters

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

Window identifier.

ImageRedImageRedImageRedImageRedImageRedimageRed (output_control)  integer HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Pointer on red channel of pixel data.

ImageGreenImageGreenImageGreenImageGreenImageGreenimageGreen (output_control)  integer HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Pointer on green channel of pixel data.

ImageBlueImageBlueImageBlueImageBlueImageBlueimageBlue (output_control)  integer HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Pointer on blue channel of pixel data.

WidthWidthWidthWidthWidthwidth (output_control)  extent.x HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Length of an image line.

HeightHeightHeightHeightHeightheight (output_control)  extent.y HTupleHTupleHTupleVARIANTHtuple (integer) (int / long) (Hlong) (Hlong) (Hlong) (Hlong)

Number of image lines.

Result

If a window of type 'pixmap' exists and it is valid get_window_pointer3get_window_pointer3GetWindowPointer3get_window_pointer3GetWindowPointer3GetWindowPointer3 returns 2 (H_MSG_TRUE). If necessary an exception is raised.

Possible Predecessors

open_windowopen_windowOpenWindowopen_windowOpenWindowOpenWindow, open_textwindowopen_textwindowOpenTextwindowopen_textwindowOpenTextwindowOpenTextwindow

See also

open_windowopen_windowOpenWindowopen_windowOpenWindowOpenWindow, set_window_typeset_window_typeSetWindowTypeset_window_typeSetWindowTypeSetWindowType

Module

Foundation


ClassesClassesClassesClasses | | | | Operators