Portability | GHC |
---|---|
Stability | unstable |
Maintainer | stephen.tetley@gmail.com |
Direction zero (left-to-right) measured text that supports radial inclination. Caveat - rendering at any inclination other than the horizontal may not look good in PostScript or SVG.
** WARNING ** - the API for this module needs some polish.
- type LocRectTextLine u = RectAddress -> LocImage u (BoundingBox u)
- type LocTextLine u = LocImage u (BoundingBox u)
- type TextObject u = PosObject u
- textline :: (Fractional u, InterpretUnit u) => String -> LocRectTextLine u
- bllTextline :: (Floating u, InterpretUnit u) => String -> LocTextLine u
- blcTextline :: (Floating u, InterpretUnit u) => String -> LocTextLine u
- ccTextline :: (Floating u, InterpretUnit u) => String -> LocTextLine u
- multiAlignLeft :: (Real u, Floating u, InterpretUnit u) => String -> LocRectTextLine u
- multiAlignCenter :: (Real u, Floating u, InterpretUnit u) => String -> LocRectTextLine u
- multiAlignRight :: (Real u, Floating u, InterpretUnit u) => String -> LocRectTextLine u
- rtextline :: (Real u, Floating u, Ord u, InterpretUnit u) => Radian -> String -> LocRectTextLine u
- rescTextline :: (Real u, Floating u, Ord u, InterpretUnit u) => Radian -> EscapedText -> LocRectTextLine u
Documentation
type LocRectTextLine u = RectAddress -> LocImage u (BoundingBox u)Source
type LocTextLine u = LocImage u (BoundingBox u)Source
type TextObject u = PosObject uSource
textline :: (Fractional u, InterpretUnit u) => String -> LocRectTextLine uSource
Draw a single line of text.
bllTextline :: (Floating u, InterpretUnit u) => String -> LocTextLine uSource
blcTextline :: (Floating u, InterpretUnit u) => String -> LocTextLine uSource
ccTextline :: (Floating u, InterpretUnit u) => String -> LocTextLine uSource
multiAlignLeft :: (Real u, Floating u, InterpretUnit u) => String -> LocRectTextLine uSource
multiAlignCenter :: (Real u, Floating u, InterpretUnit u) => String -> LocRectTextLine uSource
multiAlignRight :: (Real u, Floating u, InterpretUnit u) => String -> LocRectTextLine uSource
rtextline :: (Real u, Floating u, Ord u, InterpretUnit u) => Radian -> String -> LocRectTextLine uSource
rescTextline :: (Real u, Floating u, Ord u, InterpretUnit u) => Radian -> EscapedText -> LocRectTextLine uSource