diagrams-core v0.5 Release Notes
Release Date: 2012-03-09 // about 12 years ago-
๐ New features:
- New
Juxtaposable
class - New
NullBackend
andD
types, for conveniently giving a monomorphic type to diagrams when we don't care which one it is. - #27: Change type of
adjustDia
to return a new options record (with an explicitly filled-in size)
- New
๐ New instances:
Enveloped
,HasOrigin
,Juxtaposable
,HasStyle
, andTransformable
instances forSet
s and tuplesV Double = Double
Juxtaposable
andBoundable
instances forMap
API changes
AnnDiagram
renamed toQDiagram
- #61: terminology change from "bounds" to "envelope"
boundary
->envelopeP
- "bounding region" -> "envelope"
Bounds
->Envelope
Boundable
->Enveloped
getBounds
->getEnvelope
- etc.
- Split out definition of
Point
into separate package (vector-space-points
) - The
Point
constructorP
is no longer exported fromGraphics.Rendering.Diagrams
. See theDiagrams.TwoD.Types
module fromdiagrams-lib
for new tools for working with abstract 2D points. If you really need theP
constructor, importGraphics.Rendering.Diagrams.Points
. - Name-related functions now return "located bounding functions" instead of pairs of points and bounds, to allow for future expansion.
Dependency/version changes:
vector-space
0.8 is now required.- Bump base upper bound to allow 4.5; now tested with GHC 7.4.1.
๐ Bug fixes:
- Bug fix related to empty envelopes