Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
defaultDPI :: Dpi Source #
replaceUses :: Document -> Document Source #
data LineCommand Source #
LineMove RPoint | |
LineBezier [RPoint] | LineDraw RPoint |
LineEnd |
Instances
Show LineCommand Source # | |
Defined in Reanimate.Svg 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 #
linePoints :: [LineCommand] -> [RPoint] Source #
svgBoundingPoints :: Tree -> [RPoint] Source #
lowerTransformations :: Tree -> Tree Source #
extractPath :: Tree -> [PathCommand] Source #
withTransformations :: [Transformation] -> Tree -> Tree Source #
withFillColorPixel :: PixelRGBA8 -> Tree -> Tree Source #
withClipPathRef :: ElementRef -> Tree -> Tree Source #
mkPathString :: String -> Tree Source #
mkPathText :: Text -> Tree Source #
mkBackground :: String -> Tree Source #
mkBackgroundPixel :: PixelRGBA8 -> Tree Source #