Drawing concentric rectangles

BlitzMax Forums/BlitzMax Programming/Drawing concentric rectangles

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.

For rectangles you could use your ellipse calculations.

Because the bounding rectangle of such an ellipse exactly defines the rectangle and its color you are looking for :)

rectangles are just a simplified version of the ellipse, because the only values you calculate are the ones directly on the x and y axis.