All drawing commands?

BlitzMax Forums/BlitzMax Beginners Area/All drawing commands?

Could someone post all the basic drawing commands?
Just to deal with shapes and such. Is there any way to draw unfilled rectangles and circles?

Look under MAX2D in the help with anything called Drawnnn.
There are no native unfilled draw routines but many workarounds in the forum and the code archives.

heres a rectangle ouline for you:

' -----------------------------------------------------------------------------
' ccDrawRectOutline
' -----------------------------------------------------------------------------
Function ccDrawRectOutline(x,y,w,h)
	DrawLine(x,y,x+w,y,0)
	DrawLine(x+w,y,x+w,y+h,0)
	DrawLine(x+w,y+h,x,y+h,0)
	DrawLine(x,y+h,x,y,0)	
End Function


Look in the code archives under blitzmax graphics routines, I put an unfilled and filled circle/ellipse routine in there, but it doesn't support rotation.

And here's a function I added to the archives for drawing unfilled polygons of almost any shape that can be scaled and rotated correctly.

DrawPoly(), filled or unfilled

Thanks guys. so basically what you're telling me is that I need to make my own drawing functions via line commands.
I can live with that.

Look in the wiki, there is a way to turn off filling so it automatically draws unfilled.