Warning: This site is under construction, most links will be broken.

LightX API -> lxgfx -> lineh

Last modified on Thu, 29th Mar 2007 at 18:36 UTC by zipplet

lxgfx.lineh


procedure lineh(
  surface: tlxhandle;
  x, y, w: tlxposition;
  colour: tlxcolour32
);


Draws a straight horizontal line beginning at x1, y1 and ending w pixels to the right.

surface: tlxhandle
The surface to draw on.

x1, y1, w: tlxposition
The start (x1, y1) and width (w) of the line.

colour: tlxcolour32
The colour to use.

Class: lxgfx