DrawOval outline

BlitzMax Forums/BlitzMax Programming/DrawOval outline

Tibit(Posted 2006) [#1]
Like in B3D, how can I draw a oval outlined?

Drawoval( x, y, w, h, fill? )

I need it to work on both directx and opengl, any ideas?


ImaginaryHuman(Posted 2006) [#2]
Here is an unfilled ellipse routine:

http://www.blitzbasic.com/codearcs/codearcs.php?code=1477

You can use whatever you like to plot the points around the ellipse, and this code uses Max2D Plot so it will work with GL or DX.