Warning: This site is under construction, most links will be broken.
LightX API -> lxgfx -> makemask
Last modified on Fri, 30th Mar 2007 at 02:08 UTC by zippletlxgfx.makemask
procedure makemask(
surface: tlxhandle;
colour: tlxcolour32
);
Alters the alpha channel of all pixels matching the given colour, setting the alpha channel of those pixels to transparent ($00). All other pixels will have their alpha values set to $FF (solid).
surface: tlxhandle
The surface to edit.
colour: tlxcolour32
The colour to change to transparent.
Class: lxgfx