| Copyright | (C) Frank Staals |
|---|---|
| License | see the LICENSE file |
| Maintainer | Frank Staals |
| Safe Haskell | None |
| Language | GHC2024 |
Ipe.Draw
Contents
Description
Class and setup for rendering/drawing
Documentation
class Monoid (Rendered backend) => IsDrawable backend geom where Source #
A class that expresses that something is drawable using a particular backend
Associated Types
type AttrOf backend geom Source #
A GADT that expresses possible attributes for a particular object
Instances
| IsDrawable backend a => IsDrawable backend (NonEmpty a) Source # | |||||
| IsDrawable backend a => IsDrawable backend [a] Source # | |||||
| IsDrawable (Ipe r) (IpeObject r) Source # | |||||
| IsDrawable (Ipe r) (IpeSymbol r) Source # | |||||
| IsDrawable (Ipe r) (Path r) Source # | |||||
| IsDrawable (Ipe r) (Point 2 r) Source # | |||||
| (Point_ vertex 2 r, VertexContainer f vertex, Num r) => IsDrawable (Ipe r) (SimplePolygonF f vertex) Source # | |||||
Defined in Ipe.Draw Associated Types
Methods draw :: [Attr (Ipe r) (SimplePolygonF f vertex)] -> SimplePolygonF f vertex -> Rendered (Ipe r) Source # | |||||
The Ipe backend
The Ipe backend
Instances
| IsDrawable (Ipe r) (IpeObject r) Source # | |||||
| IsDrawable (Ipe r) (IpeSymbol r) Source # | |||||
| IsDrawable (Ipe r) (Path r) Source # | |||||
| IsDrawable (Ipe r) (Point 2 r) Source # | |||||
| (Point_ vertex 2 r, VertexContainer f vertex, Num r) => IsDrawable (Ipe r) (SimplePolygonF f vertex) Source # | |||||
Defined in Ipe.Draw Associated Types
Methods draw :: [Attr (Ipe r) (SimplePolygonF f vertex)] -> SimplePolygonF f vertex -> Rendered (Ipe r) Source # | |||||
| type Rendered (Ipe r) Source # | |||||
| type AttrOf (Ipe r) (IpeObject r) Source # | |||||
| type AttrOf (Ipe r) (IpeSymbol r) Source # | |||||
Defined in Ipe.Draw | |||||
| type AttrOf (Ipe r) (Path r) Source # | |||||
Defined in Ipe.Draw | |||||
| type AttrOf (Ipe r) (Point 2 r) Source # | |||||
Defined in Ipe.Draw | |||||
| type AttrOf (Ipe r) (SimplePolygonF f vertex) Source # | |||||
Defined in Ipe.Draw | |||||