waterfall-cad-svg-0.5.1.1: Declarative CAD/Solid Modeling Library, SVG Support
Safe HaskellNone
LanguageHaskell2010

Waterfall.SVG.ToSVG

Description

Convert Waterfall data into SVG

Synopsis

Documentation

path2DToPathCommands :: Path2D -> [PathCommand] Source #

Convert a Path2D into a list of PathCommands

diagramToSvg :: Diagram -> Document Source #

Convert a Diagram into an SVG document

The diagram paths have the classes "edge", "visible"/"hidden" and "sharp"/"outline"

writeDiagramSVG :: FilePath -> Diagram -> IO () Source #

Write a Diagram, to an SVG file at the specified location