Copperbox revision 613.
I've re-implemented the basic operation diamond to use affine transformations.
The code isn't particularly neat yet, but the result is okay. This version translates points then draws the polygon the form so it has the correct line width. The previous attempt drew a square then transformed it - changing the line width as it scaled.
It looks like I'm going to have to work out my types sooner rather than later - e.g. do I want to use the Point2 etc. types that are currently internal for user functions?
Blog Archive
About Me
- Stephen Tetley
- Disambiguating biog as there are a few Stephen Tetley's in the world. I'm neither a cage fighter or yachtsman. I studied Fine Art in the nineties (foundation Bradford 1992, degree Cheltenham 1992 - 95) then Computing part-time at Leeds Met graduating in 2003. I'm the Stephen Tetley on Haskell Cafe and Stackoverflow.