lp-diagrams-1.0: An EDSL for diagrams based based on linear constraints

Safe HaskellNone
LanguageHaskell2010

Graphics.Diagrams.Path

Synopsis

Documentation

frozenPointElim :: Point' t1 -> (t1 -> t1 -> t) -> t Source

cutAfter' :: [Curve] -> [Curve] -> [Curve] Source

cutAfter path area cuts the path after its first intersection with the area.

cutBefore' :: [Curve] -> [Curve] -> [Curve] Source

cutAfter path area cuts the path after its first intersection with the area.

circle :: Point -> Expr -> Path Source

Circle approximated with 4 cubic bezier curves

path :: Monad m => Path -> Diagram lab m () Source

stroke :: Monad m => Color -> Diagram lab m a -> Diagram lab m a Source

draw :: Monad m => Diagram lab m a -> Diagram lab m a Source

using :: Monad m => (PathOptions -> PathOptions) -> Diagram lab m a -> Diagram lab m a Source