get_rgbaT_get_rgbaGetRgbaGetRgba (Operator)

Name

get_rgbaT_get_rgbaGetRgbaGetRgba — Abfragen der aktuellen Farbe in RGBA-Kodierung.

Signatur

get_rgba( : : WindowHandle : Red, Green, Blue, Alpha)

Herror T_get_rgba(const Htuple WindowHandle, Htuple* Red, Htuple* Green, Htuple* Blue, Htuple* Alpha)

void GetRgba(const HTuple& WindowHandle, HTuple* Red, HTuple* Green, HTuple* Blue, HTuple* Alpha)

void HWindow::GetRgba(HTuple* Red, HTuple* Green, HTuple* Blue, HTuple* Alpha) const

static void HOperatorSet.GetRgba(HTuple windowHandle, out HTuple red, out HTuple green, out HTuple blue, out HTuple alpha)

void HWindow.GetRgba(out HTuple red, out HTuple green, out HTuple blue, out HTuple alpha)

Beschreibung

get_rgbaget_rgbaGetRgbaGetRgbaGetRgba gibt die Ausgabefarben bzw. Grauwerte für das Ausgabefenster an. Diese sind durch die drei Farbanteile: rot, grün und blau und den Alphawert AlphaAlphaAlphaAlphaalpha beschrieben. Die Werte die man mit get_rgbaget_rgbaGetRgbaGetRgbaGetRgba erhält, können mit set_rgbaset_rgbaSetRgbaSetRgbaSetRgba wieder gesetzt werden.

Achtung

get_rgbaget_rgbaGetRgbaGetRgbaGetRgba benötigt die Bibliothek libcanvas, die auf Embedded-Systemen möglicherweise nicht verfügbar ist.

Ausführungsinformationen

Parameter

WindowHandleWindowHandleWindowHandleWindowHandlewindowHandle (input_control)  window HWindow, HTupleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Fenster-Handle.

RedRedRedRedred (output_control)  integer-array HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Rotanteil der aktuellen Farbe.

GreenGreenGreenGreengreen (output_control)  integer-array HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Grünanteil der aktuellen Farbe.

BlueBlueBlueBlueblue (output_control)  integer-array HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Blauanteil der aktuellen Farbe.

AlphaAlphaAlphaAlphaalpha (output_control)  integer-array HTupleHTupleHtuple (integer) (int / long) (Hlong) (Hlong)

Alphawert der aktuellen Farbe.

Ergebnis

get_rgbaget_rgbaGetRgbaGetRgbaGetRgba liefert den Wert 2 (H_MSG_TRUE), falls das Fenster gültig ist. Ansonsten wird eine Fehlerbehandlung durchgeführt.

Nachfolger

set_rgbaset_rgbaSetRgbaSetRgbaSetRgba, disp_objdisp_objDispObjDispObjDispObj

Siehe auch

set_rgbaset_rgbaSetRgbaSetRgbaSetRgba

Modul

Foundation