Antialias edges?

BlitzPlus Forums/BlitzPlus Programming/Antialias edges?

Grey Alien(Posted 2005) [#1]
Anyone got any cool code that allows you to do a draw image but where the background of the image is transparent (ordinary mask) and the edges of the image (say it's a text logo) are antialiased onto whatever you are drawing. This would be the equivalent of "feathering" in paint programs.

I have found some anti-alias code but nothing to do edge detection, guess I could write one but thought I'd ask first.

Thanks for any help!


Arem(Posted 2005) [#2]
The scaleimage command automatically antialiases things. You could use it without any rotation or anything and it should work fine.


Grey Alien(Posted 2005) [#3]
Yeah thanks Arem, I noticed that before. In the end I wrote a routine that uses an Alpha map. It's in the code archives.