Rich2 / openstrat

Cross Platform Scala 2d graphics (but 3d compatible), basic geometry, maps, Earth maps, hex-tiling and strategy library(s).
https://richstrat.com
Apache License 2.0
22 stars 8 forks source link

Graphics and Geometry version 4 #120

Closed Rich2 closed 4 years ago

Rich2 commented 4 years ago

So this design version builds on the previous design outlined in #119. It keeps the facets and child graphics of the previous ShapeGraphics, but these may be renamed as CompoundGraphics. It introduces or to some extent reintroduces simple GraphicElems, so bringing back the simple Graphics types of the earlier design. The error or deficiency in the version 1 and 2 design was creating compound GraphicElems though trait / class inheritance. The redesign of the transformation type class hierarchy introduced in version 2 is kept and will be completed under this umbrella issue..

Rich2 commented 4 years ago

So I'm folding this into #122 as explained in the header.