Not logged inGosu Forums
Forum back to libgosu.org Help Search Register Login
Up Topic Gosu / Gosu Exchange / How can I draw a rectangle that supports transparency?
- By geo Date 2009-09-15 16:36
Hey guys!

Is there a way I could draw a rectangle that is semi-transparent?
- By jlnr (dev) Date 2009-09-15 17:33
Use Window#draw_quad and pass colors that have alpha set to 128 (~50%). If you don't want a filled rectangle, you can use four calls to draw_line.
Up Topic Gosu / Gosu Exchange / How can I draw a rectangle that supports transparency?

Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill