Home | All Classes | Grouped Classes | Index | Search
Adds images separated with pure alpha (within trans_limit).
void add_alphaclipped_frames( CL_PixelBuffer* provider, int xpos = 0, int ypos = 0, float trans_limit = 0.05f, bool delete_provider = false);
Parameters:
Detailed description:
The alpha clipper will cut out frames from an image based on the transparency in the picture. It first determines the height of a row by searching for the first line that it considers completely transparent. Then it finds the width of each frame on this line by looking for columns that are completely transparency.
See also:
CL_SpriteDescription | CL_PixelBuffer