How is Masking done?

BlitzMax Forums/BlitzMax Beginners Area/How is Masking done?

Can you draw a black (or other colour set to transparent mask) circle image and then use a setscale loop to increase/decrease the size of the image?