Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- boundingBox :: Tree -> (Double, Double, Double, Double)
- svgHeight :: Tree -> Double
- svgWidth :: Tree -> Double
- linePoints :: [LineCommand] -> [RPoint]
- svgBoundingPoints :: Tree -> [RPoint]
Documentation
boundingBox :: Tree -> (Double, Double, Double, Double) Source #
Return bounding box of SVG tree. The four numbers returned are (minimal X-coordinate, minimal Y-coordinate, width, height)
linePoints :: [LineCommand] -> [RPoint] Source #
svgBoundingPoints :: Tree -> [RPoint] Source #