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

PortabilityGHC
Stabilityunstable
Maintainerstephen.tetley@gmail.com

Wumpus.Drawing.Text.CatText

Description

Left-to-right text.

Synopsis

Documentation

blank :: Num u => CatText uSource

Build a blank CatText with no output and a 0 width vector.

space :: FromPtSize u => CatText uSource

Note - a space character is not draw in the output, instead space advances the width vector by the width of a space in the current font.

string :: FromPtSize u => String -> CatText uSource

Build a CatText from a string.

(<>) :: CatText u -> CatText u -> CatText uSource

Concatenate two CatTexts separated with no spacing.

(<+>) :: FromPtSize u => CatText u -> CatText u -> CatText uSource

Concatenate two CatTexts separated with a space.