** WARNING ** - This module is out-of-date and is due a rethink. Teletype is no longer the recommended drawing style.
- module Wumpus.Microprint.Render
- renderTeletype :: RenderScalingCtx -> DrawWordF -> Teletype a -> Maybe DPicture
- renderTeletypeU :: RenderScalingCtx -> DrawWordF -> Teletype a -> DPicture
- data Teletype a
- data Tile
- type Height = Int
- linebreak :: Teletype ()
- setRGB :: RGBi -> Teletype ()
- char :: Teletype ()
- space :: Teletype ()
Re-export all Microprint.Render
Top level rendering functions
Build a picture from a Teletype drawing.
This function returns Nothing if the picture is empty.
Build a picture from a Teletype - unsafe version.
This function throws a runtime error if the picture is empty.
Re-export some from MicroPrint.DrawMonad
Build a microprint within a monad...
Drawings are made in a teletype fashion emitting a character, space or lineMicroprint-break at each step.
Change the current drawing colour.
Note - it is permissible to change colour mid-word, but this is the same as having a no-space break and forms a new word.
Draw a character - note in the microprint, characters will be concatenated together to make a word.