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

LightX API -> lxgfx -> fill

Last modified on Thu, 29th Mar 2007 at 17:57 UTC by zipplet

lxgfx.fill


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


Draws a filled box at the given co-ordinates at the given height. It draws up to and including the entire defined region.

surface: tlxhandle
The surface to draw on.

x, y, w, h: tlxposition
The rectangle to fill on the destination surface.

colour: tlxcolour32
The colour to fill with.

Class: lxgfx