hgeometry-ipe-0.9.0.0: Reading and Writing ipe7 files.

Safe HaskellNone
LanguageHaskell2010

Data.PlaneGraph.Draw

Synopsis

Documentation

drawPlaneGraph :: forall s v e f r. IpeOut (PlaneGraph s v e f r) Group r Source #

Draws a planegraph using Marks, LineSegments, and simple polygons for vertices, edges, and faces, respectively. Uses the default IpeOuts to draw these elements.

drawPlaneGraphWith :: (Point 2 r -> v -> Maybe (IpeObject r)) -> (LineSegment 2 v r -> e -> Maybe (IpeObject r)) -> (SimplePolygon v r -> f -> Maybe (IpeObject r)) -> IpeOut (PlaneGraph s v e f r) Group r Source #

Draws a planegraph using Marks, LineSegments, and simple polygons for vertices, edges, and faces, respectively.

genericDrawPlaneGraphWith :: ((VertexId' s :+ v) -> IpeObject r) -> ((Dart s :+ e) -> IpeObject r) -> ((FaceId' s :+ f) -> IpeObject r) -> IpeOut (PlaneGraph s v e f r) Group r Source #

Draw a planegraph using the given functions. Fully generic in how we draw the objects.