You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Need a collection of standard shapes. Try to use the existing path mechanisms whenever possible (the existing Box type is a bad example of the sort of thing that should be done, and should be removed and replaced with a path-based version).
An (inexhaustive) list of the shapes that should be available: regular polygons of any number of sides; 45-45-90 triangle; 30-60-90 triangle; stars parameterized by number of points and perhaps other size/shape parameters; rounded rectangles; rounded polygons in general.
The text was updated successfully, but these errors were encountered:
Massive refactoring of Polygons module, and finally remove all polygon
functionality from Shapes. This closes BoundingBox is now Monoidal #2; most of the code in
Polygons is originally based on code written by Dmitry Olshansky
(thanks Dima!).
This is somewhat of a disruptive change since the type of the
'polygon' function has changed. However, I hope users will find the
new version much more expressive.
Next steps:
1. Update all existing examples to compile again.
2. Add a number of functions to the Shapes module to construct
various common shapes using the tools provided by Polygons, to
give users more easy ways to do common things without needing the
full generality of the polygon function.
(Imported from http://code.google.com/p/diagrams/issues/detail?id=2. Original issue from byor...@gmail.com on December 23, 2010, 10:17:07 PM UTC)
Need a collection of standard shapes. Try to use the existing path mechanisms whenever possible (the existing Box type is a bad example of the sort of thing that should be done, and should be removed and replaced with a path-based version).
An (inexhaustive) list of the shapes that should be available: regular polygons of any number of sides; 45-45-90 triangle; 30-60-90 triangle; stars parameterized by number of points and perhaps other size/shape parameters; rounded rectangles; rounded polygons in general.
The text was updated successfully, but these errors were encountered: