Warning: This site is under construction, most links will be broken.
LightX API -> lxgfx -> maskstretchrect
Last modified on Fri, 30th Mar 2007 at 09:40 UTC by zippletlxgfx.maskstretchrect
procedure maskstretchrect(
dest: tlxhandle;
src: tlxhandle;
x, y: tlxposition;
src_x, src_y, src_w, src_h: tlxposition;
colourkey: tlxcolour32;
scalew, scaleh: tlxposition
);
Draws a portion of pixels from the source surface on top of the destination surface where they don't match the colourkey. The output is stretched by the scale factors.
dest: tlxhandle
The surface to draw on.
src: tlxhandle
The surface to draw onto the destination surface.
x, y: tlxposition
The X, Y co-ordinates to start drawing at on the destination surface.
src_x, src_y, src_w, src_h: tlxposition
The portion of the source surface to draw onto the destination surface.
colourkey: tlxcolour32
Any pixels matching this colour will not be drawn.
scalew, scaleh: tlxposition
The width and height to scale to, in pixels.
Class: lxgfx