next up previous contents
Nächste Seite: j_ getimage Aufwärts: Functions Vorherige Seite: j_ getheight   Inhalt


j_ getimagesource


Synopsis
int j_getimagesource ( int obj , int x , int y , int w , int h , int* r , int* g , int* b );

Argumente

obj : int
x : int
y : int
w : int
h : int
r : int*
g : int*
b : int*

Beschreibung

Die Funktion liefert einen Ausschnitt vom Punkt (x, y) der Breite w und der Höhe h zurück. Der Bildinhalt wird als rot-, grün- und blau- Kanal in den Arrays r,g,b abgelegt.

Zielkomponenten

Canvas, Image



Merten Joost 2003-02-26