teeemcee
2010-08-23 04:57:22 -0700 (Mon, 23 Aug 2010)
708
The ellipse function gives ugly results and I'm sick of it, so I rewrote it, 
taking the opportunity to pull a neglected maths textbook from the shelf.

The new ellipse:
-draws symmetric circles!
-allows sub-pixel specification of centre and radius (something we need)
-its lines are always of minimum thickness, rather than depending on radius
-lets you specify an exact angle and semiminor axis rather than crude x/y 
squish parameters
-doesn't clip against the edge of the screen (which I think was a bug, not a 
feature)
-is absurdly more complicated than Ironhoof's version, but only slightly slower 
(I did not bother to optimise it)

However, only 30% of the crappiness of the Oval tool is due to ellipse.
---
U   wip/allmodex.bas
U   wip/allmodex.bi
U   wip/custom_udts.bi
U   wip/drawing.bas
_______________________________________________
Ohrrpgce mailing list
[email protected]
http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org

Reply via email to