| Copyright | (C) Frank Staals |
|---|---|
| License | see the LICENSE file |
| Maintainer | Frank Staals |
| Safe Haskell | None |
| Language | GHC2024 |
HGeometry.Miso.Svg.Draw
Description
Draw geometric objects to Svg files through miso.
This uses the newer API common with ipe
Documentation
data Svg model action Source #
The Svg backend; which renders to Svg using Miso
Instances
| (Point_ vertex 2 (NumType vertex), ToMisoString (NumType vertex), EndPoint_ (endPoint vertex), IxValue (endPoint vertex) ~ vertex) => IsDrawable (Svg model action) (LineSegment endPoint vertex) Source # | |||||
Defined in HGeometry.Miso.Svg.Draw Associated Types
Methods draw :: [Attr (Svg model action) (LineSegment endPoint vertex)] -> LineSegment endPoint vertex -> Rendered (Svg model action) Source # | |||||
| ToMisoString r => IsDrawable (Svg model action) (Point 2 r) Source # | |||||
| (Point_ vertex 2 (NumType vertex), ToMisoString (NumType vertex), PolyLine_ (PolyLineF f vertex) vertex) => IsDrawable (Svg model action) (PolyLineF f vertex) Source # | |||||
Defined in HGeometry.Miso.Svg.Draw Associated Types
| |||||
| (Point_ vertex 2 (NumType vertex), ToMisoString (NumType vertex), SimplePolygon_ (SimplePolygonF f vertex) vertex (NumType vertex)) => IsDrawable (Svg model action) (SimplePolygonF f vertex) Source # | |||||
Defined in HGeometry.Miso.Svg.Draw Associated Types
Methods draw :: [Attr (Svg model action) (SimplePolygonF f vertex)] -> SimplePolygonF f vertex -> Rendered (Svg model action) Source # | |||||
| type Rendered (Svg model action) Source # | |||||
Defined in HGeometry.Miso.Svg.Draw | |||||
| type AttrOf (Svg model action) (LineSegment endPoint vertex) Source # | |||||
Defined in HGeometry.Miso.Svg.Draw | |||||
| type AttrOf (Svg model action) (Point 2 r) Source # | |||||
Defined in HGeometry.Miso.Svg.Draw | |||||
| type AttrOf (Svg model action) (PolyLineF f vertex) Source # | |||||
Defined in HGeometry.Miso.Svg.Draw | |||||
| type AttrOf (Svg model action) (SimplePolygonF f vertex) Source # | |||||
Defined in HGeometry.Miso.Svg.Draw | |||||
module Ipe.Draw