Unfilled rectangle.
BlitzMax Forums/BlitzMax Beginners Area/Unfilled rectangle.
| ||
Am I being dumb here but there is no way to draw an unfilled rectange except with 4 line commands yes? So it's probably best to make my won function call DrawRectOutline or something? |
| ||
You could use OpenGL and draw a quad ? |
| ||
I'm using the default graphics driver in MAx, that's not open GL is it? |
| ||
Am I being dumb here but there is no way to draw an unfilled rectange except with 4 line commands yes? Last I checked you are correct. If I'm not mistaken, Mark had said he'd do something about this and then never did. |
| ||
just made a function to handle it. In BlitzPlus, Rect was unfilled by default and you just stuck 1 on the end of the function call for filled. |
| ||
There are quite a few topics on this. Mark said it was an easy fix so look out for it soon, oooo, about a year ago... Wiki post with unfilled rect comment |
| ||
glPolygonMode( GL_FRONT_AND_BACK, GL_LINE ) should do it |
| ||
Just doesn't work if you want the option to switch between Direct3D and OpenGL, Sushi. Would make everyone's life easier if OpenGL was the only graphics API and the world was flat, but oh well. |