Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- type CmdM a = State RPoint a
- data LineCommand
- lineToPath :: [LineCommand] -> [PathCommand]
- lineToPoints :: Int -> [LineCommand] -> [RPoint]
- partialLine :: Double -> [LineCommand] -> [LineCommand]
- adjustLineLength :: Double -> RPoint -> LineCommand -> LineCommand
- lineLength :: LineCommand -> CmdM Double
- toLineCommands :: [PathCommand] -> [LineCommand]
- cmdToControlPoint :: LineCommand -> Maybe RPoint
- mkStraightLine :: RPoint -> LineCommand
- toLineCommand :: RPoint -> Maybe RPoint -> PathCommand -> CmdM [LineCommand]
- calculateVectorAngle :: Double -> Double -> Double -> Double -> Double
- convertSvgArc :: RPoint -> Coord -> Coord -> Coord -> Bool -> Bool -> RPoint -> [LineCommand]
- partialBezierPoints :: [RPoint] -> Double -> Double -> [RPoint]
- interpolatePathCommands :: Double -> [PathCommand] -> [PathCommand]
- partialSvg :: Double -> Tree -> Tree
Documentation
data LineCommand Source #
Instances
Show LineCommand Source # | |
Defined in Reanimate.Svg.LineCommand showsPrec :: Int -> LineCommand -> ShowS # show :: LineCommand -> String # showList :: [LineCommand] -> ShowS # |
lineToPath :: [LineCommand] -> [PathCommand] Source #
lineToPoints :: Int -> [LineCommand] -> [RPoint] Source #
partialLine :: Double -> [LineCommand] -> [LineCommand] Source #
adjustLineLength :: Double -> RPoint -> LineCommand -> LineCommand Source #
lineLength :: LineCommand -> CmdM Double Source #
toLineCommands :: [PathCommand] -> [LineCommand] Source #
mkStraightLine :: RPoint -> LineCommand Source #
toLineCommand :: RPoint -> Maybe RPoint -> PathCommand -> CmdM [LineCommand] Source #
convertSvgArc :: RPoint -> Coord -> Coord -> Coord -> Bool -> Bool -> RPoint -> [LineCommand] Source #
interpolatePathCommands :: Double -> [PathCommand] -> [PathCommand] Source #