Home | All Classes | Grouped Classes | Index | Search
Adds images separated with pure alpha (within trans_limit).
void add_alphaclipped_frames_free( CL_PixelBuffer provider, int xpos = 0, int ypos = 0, float trans_limit = 0.05f);
Parameters:
Detailed description:
The alpha clipper will cut out frames from an image based on the transparency in the picture. It scans the lines horizontally from top to bottom. As soon as a non-transarent pixel is discovered, the clipper finds the bounding box for that region and then moves on.
See also:
CL_PixelBuffer | CL_SpriteDescription