Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data TextOutline
- data CurveSegment
- translate :: Point -> TextOutline -> TextOutline
- renderChar :: Face -> Char -> IO TextOutline
- renderCharAt :: Face -> Char -> Point -> IO TextOutline
Documentation
data TextOutline #
Bezier curves rendered from texts.
Instances
Eq TextOutline # | |
Defined in FreeType.Rasterific.Basic (==) :: TextOutline -> TextOutline -> Bool # (/=) :: TextOutline -> TextOutline -> Bool # | |
Show TextOutline # | |
Defined in FreeType.Rasterific.Basic showsPrec :: Int -> TextOutline -> ShowS # show :: TextOutline -> String # showList :: [TextOutline] -> ShowS # | |
Geometry TextOutline # | |
Defined in FreeType.Rasterific.Basic toPrimitives :: TextOutline -> [Primitive] # listToPrims :: Foldable f => f TextOutline -> [Primitive] # |
data CurveSegment #
Instances
translate :: Point -> TextOutline -> TextOutline #
Translate the outline so that the origin lands on the given point.
renderChar :: Face -> Char -> IO TextOutline #
Render the character with its origin still.
renderCharAt :: Face -> Char -> Point -> IO TextOutline #
Render the character and translate the origin.
See renderCharAt
and translate
.