Portability | GHC |
---|---|
Stability | unstable |
Maintainer | stephen.tetley@gmail.com |
Left-to-right measured text that supports radial inclination. Caveat - rendering at any degree other than the horizontal may not look good in PostScript or SVG.
Note - LRText does not use the text_margin
setting from the
DrawingContext
.
** WARNING ** - the API for this module needs some polish.
Documentation
singleLine :: (Real u, Floating u, FromPtSize u) => String -> PosImage u (BoundingBox u)Source
escSingleLine :: (Real u, Floating u, FromPtSize u) => EscapedText -> PosImage u (BoundingBox u)Source
rsingleLine :: (Real u, Floating u, FromPtSize u) => Radian -> String -> PosImage u (BoundingBox u)Source
rescSingleLine :: (Real u, Floating u, FromPtSize u) => Radian -> EscapedText -> PosImage u (BoundingBox u)Source
multiAlignLeft :: (Real u, Floating u, FromPtSize u) => Radian -> String -> PosImage u (BoundingBox u)Source
multiAlignCenter :: (Real u, Floating u, FromPtSize u) => Radian -> String -> PosImage u (BoundingBox u)Source
multiAlignRight :: (Real u, Floating u, FromPtSize u) => Radian -> String -> PosImage u (BoundingBox u)Source
textAlignCenter :: (Real u, Floating u, FromPtSize u) => String -> LocImage u (BoundingBox u)Source
textAlignLeft :: (Real u, Floating u, FromPtSize u) => String -> LocImage u (BoundingBox u)Source
textAlignRight :: (Real u, Floating u, FromPtSize u) => String -> LocImage u (BoundingBox u)Source