Copyright | (c) 2011 diagrams-lib team (see LICENSE) |
---|---|
License | BSD-style (see LICENSE) |
Maintainer | diagrams-discuss@googlegroups.com |
Safe Haskell | None |
Language | Haskell2010 |
A simple Show-based diagrams backend, for testing purposes.
- data ShowBackend = ShowBackend
- renderTransf :: forall v. (Num (Scalar v), HasLinearMap v, Show (Scalar v)) => Transformation v -> Doc
- renderMat :: Show a => [[a]] -> Doc
Documentation
data ShowBackend Source
Token for identifying this backend.
HasLinearMap v => Backend ShowBackend v | |
(Show v, OrderedField (Scalar v), InnerSpace v, HasLinearMap v) => Renderable (Trail v) ShowBackend | |
(Show v, OrderedField (Scalar v), InnerSpace v, HasLinearMap v) => Renderable (Path v) ShowBackend | |
Monoid (Render ShowBackend v) | |
(Show v, HasLinearMap v) => Renderable (Segment o v) ShowBackend | |
data Options ShowBackend = SBOpt | |
data Render ShowBackend = SR Doc | |
type Result ShowBackend v = String |
renderTransf :: forall v. (Num (Scalar v), HasLinearMap v, Show (Scalar v)) => Transformation v -> Doc Source