I’m looking for a good way to antialias a bitmap i’m generating with actionscript3. My goal would be to achieve this processing from scratch.
I read a lot on the subject but the most common algorithm are looking too heavy to work properly within my swf, because i’m using a scale2x algorithm to smooth the edges of my shape. It doesn’t have to be colorfull, since my shape is black and white !
Any hint would be appreciated, thanks 🙂
Xiaolin Wu’s line algorithm is what you could use. It is fast and easy to implement.