DrawCircle, DrawRect, ... UNFILLED?

Monkey Forums/Monkey Programming/DrawCircle, DrawRect, ... UNFILLED?

Xaron(Posted 2012) [#1]
Hi all,

is there a way to draw an unfilled circle using DrawCircle?

Thanks and cheers!


Paul - Taiphoz(Posted 2012) [#2]
do you need to see behind it, or through it ?

if not just draw two a red one then a black one 1 pixel smaller.


Gerry Quinn(Posted 2012) [#3]
Or 1.5 pixels smaller, if you prefer. Even if you use ints for most things, it can be useful to use floats for circle radii.

DrawCircle() should be called DrawDisc() :-)


invaderJim(Posted 2012) [#4]
Check out Noodle's DrawArcOutline and DrawDonut functions here: http://www.monkeycoder.co.nz/Community/posts.php?topic=2462

Should be what you need :)


Grey Alien(Posted 2012) [#5]
For DrawRect (unfilled) you just have to do it "manually" with 4 lines unfortunately.


Xaron(Posted 2012) [#6]
Thanks guys! Would be nice to have it as an option for a draw commands.