Must I use DrawPoly to draw a non-filled rect?

BlitzMax Forums/BlitzMax Beginners Area/Must I use DrawPoly to draw a non-filled rect?

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

I think unfilled rect and unfilled oval should've been in the original Max2D, they are pretty standard fare and very simple to do. It's because they're so simple to do, that 4 lines of code IS indeed not much to fuss over, which is why they should've been included.

I uploaded an unfilled oval routine to the code archives under BlitzMax Graphics routines. The only thing it doesn't do is rotate well.

Any even basic graphics library should have Plot, DrawRect, DrawOval, DrawUnfilledRect, DrawUnfilledOval, Point (read the pixel color) and Cls.