KlassenKlassenKlassenKlassen | | | | Operatoren

get_window_pointer3get_window_pointer3GetWindowPointer3get_window_pointer3GetWindowPointer3GetWindowPointer3 (Operator)

Name

get_window_pointer3get_window_pointer3GetWindowPointer3get_window_pointer3GetWindowPointer3GetWindowPointer3 — Zugreifen auf die Pixeldaten eines Fensters.

Signatur

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)

Beschreibung

get_window_pointer3get_window_pointer3GetWindowPointer3get_window_pointer3GetWindowPointer3GetWindowPointer3 ermöglicht (bei einigen Fenstersystemen) den direkten Zugriff auf die Bitmap. Rückgabewerte sind die drei Zeiger auf die Farbauszüge eines 24-Bit Fensters (ImageRedImageRedImageRedImageRedImageRedimageRed, ImageGreenImageGreenImageGreenImageGreenImageGreenimageGreen,ImageBlueImageBlueImageBlueImageBlueImageBlueimageBlue) sowie die Fenstergröße (WidthWidthWidthWidthWidthwidth,HeightHeightHeightHeightHeightheight). In der Programmiersprache C ist der Typ der Bildpunkte unsigned char.

Achtung

get_window_pointer3get_window_pointer3GetWindowPointer3get_window_pointer3GetWindowPointer3GetWindowPointer3 ist nur für den Fenster-Typ 'pixmap' realisiert.

Parallelisierung

Parameter

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

Fenster-Handle.

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

Zeiger auf den Rotkanal der Pixeldaten.

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

Zeiger auf den Grünkanal der Pixeldaten.

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

Zeiger auf den Blaukanal der Pixeldaten.

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

Länge einer Bildzeile.

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

Anzahl der Bildzeilen.

Ergebnis

get_window_pointer3get_window_pointer3GetWindowPointer3get_window_pointer3GetWindowPointer3GetWindowPointer3 liefert den Wert 2 (H_MSG_TRUE), falls das Fenster vom Typ 'pixmap' existiert und gültig ist. Ansonsten wird eine Fehlerbehandlung durchgeführt.

Vorgänger

open_windowopen_windowOpenWindowopen_windowOpenWindowOpenWindow

Siehe auch

open_windowopen_windowOpenWindowopen_windowOpenWindowOpenWindow, set_window_typeset_window_typeSetWindowTypeset_window_typeSetWindowTypeSetWindowType

Modul

Foundation


KlassenKlassenKlassenKlassen | | | | Operatoren