Warning: This site is under construction, most links will be broken.
LightX API -> lxgfx -> drawstretchalpharect
Last modified on Fri, 30th Mar 2007 at 09:40 UTC by zippletlxgfx.drawstretchalpharect
procedure drawstretchalpharect(
dest: tlxhandle;
src: tlxhandle;
x, y: tlxposition;
globalalpha: single;
alphachannel: boolean;
src_x, src_y, src_w, src_h: tlxposition;
scalew, scaleh: tlxposition
);
Draws a portion of the source surface on top of the destination surface with alpha blending and stretching.
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.
globalalpha: single
Global alpha value. 1 = normal, 0.5 = half transparent, etc.
alphachannel: boolean
Utilise alpha channel in source buffer. If FALSE, this function acts like lxgfx.drawstretchrect except with global alpha.
src_x, src_y, src_w, src_h: tlxposition
The portion of the source surface to draw onto the destination surface.
scalew, scaleh: tlxposition
The width and height to scale to, in pixels.
Class: lxgfx