Warning: This site is under construction, most links will be broken.
LightX API -> lxgfx -> line
Last modified on Thu, 29th Mar 2007 at 18:33 UTC by zippletlxgfx.line
procedure line(
surface: tlxhandle;
x1, y1, x2, y2: tlxposition;
colour: tlxcolour32
);
Draws a line from x1, y1 to x2, y2 on the given surface.
surface: tlxhandle
The surface to draw on.
x1, y1, x2, y2: tlxposition
The start (x1, y1) and end (x2, y2) co-ordinates of the line.
colour: tlxcolour32
The colour to use.
Class: lxgfx