Safe Haskell | None |
---|---|
Language | Haskell2010 |
FreeType.Rasterific.Basic
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 | |
Show TextOutline # | |
Defined in FreeType.Rasterific.Basic Methods showsPrec :: Int -> TextOutline -> ShowS # show :: TextOutline -> String # showList :: [TextOutline] -> ShowS # | |
Geometry TextOutline # | |
Defined in FreeType.Rasterific.Basic Methods 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
.