next up previous contents
Nächste Seite: j_ drawoval Aufwärts: Functions Vorherige Seite: j_ drawimage   Inhalt


j_ drawline


Synopsis
void j_drawline ( int obj , int x1 , int y1 , int x2 , int y2 );

Argumente

obj : int
x1 : int
y1 : int
x2 : int
y2 : int

Beschreibung

Zeichnet eine Linie in der momentan gesetzten Vordergrundfarbe von Position (x1,y1) nach Position (x2,y2). Nullpunkt des Koordinatensystems ist die linke obere Ecke der Komponenten, die durch obj referenziert wird.

Zielkomponenten

Canvas, Image, Printer

Beispiel

:
canvas = j_canvas(frame,256,50);
j_drawline(canvas,0,0,256,50); 
:

j_drawline.eps



Merten Joost 2003-02-26