Safe Haskell | None |
---|---|
Language | Haskell2010 |
- unfreeze :: Functor t => t Constant -> t Expr
- toBeziers :: FrozenPath -> [Curve]
- curveSegment :: Point' Double -> Point' Double -> Point' Double -> Point' Double -> Curve
- lineSegment :: Point' Double -> Point' Double -> Curve
- toBeziers' :: FrozenPoint -> [Frozen Segment] -> [Curve]
- fromBeziers :: [Curve] -> FrozenPath
- pathSegments :: Path' t -> [Segment t]
- isCycle :: Segment t -> Bool
- frozenPointElim :: Point' t1 -> (t1 -> t1 -> t) -> t
- splitBezier :: Curve -> (Double, Double, t, t1) -> (Curve, Curve)
- clipOne :: Curve -> [Curve] -> Maybe Curve
- cutAfter' :: [Curve] -> [Curve] -> [Curve]
- cutBefore' :: [Curve] -> [Curve] -> [Curve]
- revBernstein :: Unbox b => Bernsteinp a b -> Bernsteinp a b
- revBeziers :: [Curve] -> [Curve]
- onBeziers :: ([Curve] -> [Curve] -> [Curve]) -> FrozenPath -> FrozenPath -> FrozenPath
- cutAfter :: FrozenPath -> FrozenPath -> FrozenPath
- cutBefore :: FrozenPath -> FrozenPath -> FrozenPath
- type Path = Path' Expr
- polyline :: [Point] -> Path
- polygon :: [Point] -> Path
- circle :: Point -> Expr -> Path
- path :: Monad m => Path -> Diagram lab m ()
- frozenPath' :: Monad m => FrozenPath -> Diagram lab m ()
- stroke :: Monad m => Color -> Diagram lab m a -> Diagram lab m a
- draw :: Monad m => Diagram lab m a -> Diagram lab m a
- noOutline :: PathOptions -> PathOptions
- outline :: Color -> PathOptions -> PathOptions
- fill :: Color -> PathOptions -> PathOptions
- zigzagDecoration :: PathOptions -> PathOptions
- using :: Monad m => (PathOptions -> PathOptions) -> Diagram lab m a -> Diagram lab m a
- ultraThin :: Constant
- veryThin :: Constant
- thin :: Constant
- semiThick :: Constant
- thick :: Constant
- veryThick :: Constant
- ultraThick :: Constant
- solid :: PathOptions -> PathOptions
- dotted :: PathOptions -> PathOptions
- denselyDotted :: PathOptions -> PathOptions
- looselyDotted :: PathOptions -> PathOptions
- dashed :: PathOptions -> PathOptions
- denselyDashed :: PathOptions -> PathOptions
- looselyDashed :: PathOptions -> PathOptions
- dashDotted :: PathOptions -> PathOptions
- denselyDashdotted :: PathOptions -> PathOptions
- looselyDashdotted :: PathOptions -> PathOptions
Documentation
toBeziers :: FrozenPath -> [Curve] Source
toBeziers' :: FrozenPoint -> [Frozen Segment] -> [Curve] Source
fromBeziers :: [Curve] -> FrozenPath Source
pathSegments :: Path' t -> [Segment t] Source
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
.
revBernstein :: Unbox b => Bernsteinp a b -> Bernsteinp a b Source
revBeziers :: [Curve] -> [Curve] Source
onBeziers :: ([Curve] -> [Curve] -> [Curve]) -> FrozenPath -> FrozenPath -> FrozenPath Source
cutAfter :: FrozenPath -> FrozenPath -> FrozenPath Source
cutBefore :: FrozenPath -> FrozenPath -> FrozenPath Source
frozenPath' :: Monad m => FrozenPath -> Diagram lab m () Source
outline :: Color -> PathOptions -> PathOptions Source
fill :: Color -> PathOptions -> PathOptions Source
using :: Monad m => (PathOptions -> PathOptions) -> Diagram lab m a -> Diagram lab m a Source
solid :: PathOptions -> PathOptions Source
dotted :: PathOptions -> PathOptions Source
dashed :: PathOptions -> PathOptions Source