Any chance of getting an arg for unfilled rects?

BlitzMax Forums/BlitzMax Programming/Any chance of getting an arg for unfilled rects?

Russell(Posted 2009) [#1]
..and ovals and polys? I know it's easy enough to write my own, but it would still be nice.

You know, like
DrawRect(x,y,w,h,filled = True)

or similar.

Take care,
Russell


Armitage 1982(Posted 2009) [#2]
Yeah, once and for all !
The fastest way possible preferably :)

We do have custom functions to achieve this but currently it's duplicate DrawOval() DrawRect() and DrawPoly().
An official DrawTexturedPoly would be really appreciated too !


Zakk(Posted 2009) [#3]
Trying to Draw a hollow Oval with two DrawOvals (one for positive space and one for negative) comes out ugly. For Rects and Polys I would use DrawLine, but this isn't the fastest way possible.