FreeType-Rasterific-0.1.0.0

Safe HaskellNone
LanguageHaskell2010

FreeType.Rasterific.Basic

Synopsis

Documentation

data TextOutline #

Bezier curves rendered from texts.

data CurveSegment #

Instances
Eq CurveSegment # 
Instance details

Defined in FreeType.Rasterific.Basic

Show CurveSegment # 
Instance details

Defined in FreeType.Rasterific.Basic

BezierSegment CurveSegment # 
Instance details

Defined in FreeType.Rasterific.Basic

Associated Types

type BSCoord CurveSegment :: Type #

Primitivable CurveSegment # 
Instance details

Defined in FreeType.Rasterific.Basic

Geometry CurveSegment # 
Instance details

Defined in FreeType.Rasterific.Basic

Monad m => MonadWriter [CurveSegment] (TextRenderT m) # 
Instance details

Defined in FreeType.Rasterific.TextRender

Monad m => MonadRWS [Face] [CurveSegment] PenStatus (TextRenderT m) # 
Instance details

Defined in FreeType.Rasterific.TextRender

type BSCoord CurveSegment # 
Instance details

Defined in FreeType.Rasterific.Basic

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.