wumpus-basic-0.13.0: Common drawing utilities built on wumpus-core.

PortabilityGHC
Stabilityunstable
Maintainerstephen.tetley@gmail.com

Wumpus.Basic.Text.LRText

Description

Left-to-right measured text. The text uses glyph metrics so it can be positioned accurately.

Synopsis

Documentation

multiAlignLeft :: (Fractional u, Ord u, FromPtSize u) => String -> BoundedLocGraphic uSource

Draw multi-line text, aligned to the left.

The input string is split on newline with the Prelude function lines. The supplied point is the center of the text.

multiAlignCenter :: (Fractional u, Ord u, FromPtSize u) => String -> BoundedLocGraphic uSource

Draw multi-line text, aligned on the horizontal center.

The input string is split on newline with the Prelude function lines. The supplied point is the center of the text.

multiAlignRight :: (Fractional u, Ord u, FromPtSize u) => String -> BoundedLocGraphic uSource

Draw multi-line text, aligned to the right.

The input string is split on newline with the Prelude function lines. The supplied point is the center of the text.