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

PortabilityGHC
Stabilityhighly unstable
MaintainerStephen Tetley <stephen.tetley@gmail.com>
Safe HaskellNone

Wumpus.Drawing.Dots.SimpleDots

Contents

Description

Simple dots - no anchor handles.

Use these where you just want to draw Dots, and do not need connectors between them.

The text and char marks need loaded glyph metrics for proper centering.

** WARNING ** - names are expected to change - filled and background-filled marks need a naming convention.

Synopsis

Unit for marks (0.75 the font size)

data MarkSize Source

MarkUnit is a contextual unit like Em and En.

It is 3/4 of the current font size.

smallDisk :: InterpretUnit u => LocGraphic uSource

Filled disk - radius 0.25 MarkSize.

largeDisk :: InterpretUnit u => LocGraphic uSource

Filled disk - radius 1.0 MarkSize.

smallCirc :: InterpretUnit u => LocGraphic uSource

Stroked disk (circle) - radius 0.25 MarkSize.

largeCirc :: InterpretUnit u => LocGraphic uSource

Stroked disk (circle) - radius 1.0 MarkSize.

Dots

dotDisk :: (Fractional u, InterpretUnit u) => LocGraphic uSource

Note disk is filled.