wumpus-drawing-0.1.0: High-level drawing objects built on Wumpus-Basic.

PortabilityGHC
Stabilityunstable
Maintainerstephen.tetley@gmail.com

Wumpus.Drawing.Text.LRText

Description

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

** WARNING ** - the API for this module needs work. The current API is not satisfactory for drawing according to a start position (there are other reasonable start positions than the ones currently supported - adding them would explode the number of definitions).

Synopsis

Documentation

baseCenterLine :: (Real u, Floating u, FromPtSize u) => String -> BoundedLocGraphic uSource

Draw 1 line...

Impilict point is baseline-center.

baseLeftLine :: (Real u, Floating u, FromPtSize u) => String -> BoundedLocGraphic uSource

Draw 1 line...

Impilict point is baseline-left.

baseRightLine :: (Real u, Floating u, FromPtSize u) => String -> BoundedLocGraphic uSource

Draw 1 line...

Impilict point is baseline-right.