puzzle-draw-0.3.0.0: Creating graphics for pencil puzzles.

Safe HaskellNone
LanguageHaskell98

Draw.Draw

Synopsis

Documentation

data Drawers b p s Source #

Constructors

Drawers 

Fields

drawers :: (p -> Diagram b) -> ((p, s) -> Diagram b) -> Drawers b p s Source #

render :: Backend' b => Maybe (CodeDiagrams (Diagram b)) -> PuzzleSol b -> OutputChoice -> Maybe (Diagram b) Source #

Optionally render the puzzle, its solution, or a side-by-side example with puzzle and solution.

data Unit Source #

Constructors

Pixels 
Points