Portability | GHC |
---|---|
Stability | highly unstable |
Maintainer | Stephen Tetley <stephen.tetley@gmail.com> |
Plaintext is a bit like a shape but does not generate a path and cannot be scaled (it can be rotated or translated).
** WARNING ** - the types of Shapes and Plaintext are not ideal and are pending revision.
Documentation
data PlaintextAnchor u Source
(Real u, Floating u) => RadialAnchor (PlaintextAnchor u) | |
(Real u, Floating u) => CardinalAnchor2 (PlaintextAnchor u) | |
(Real u, Floating u) => CardinalAnchor (PlaintextAnchor u) | |
(Real u, Floating u) => CenterAnchor (PlaintextAnchor u) |
type DPlaintext = Plaintext DoubleSource
drawText :: (Real u, Floating u, FromPtSize u) => Plaintext u -> Image u (PlaintextAnchor u)Source