wumpus-basic-0.6.0: Common drawing utilities built on wumpus-core.

PortabilityGHC with TypeFamilies and more
Stabilityhighly unstable
MaintainerStephen Tetley <stephen.tetley@gmail.com>

Wumpus.Basic.Graphic.DrawingAttr

Contents

Description

Drawing attributes

Synopsis

Drawing attributes

markHeight :: FromPtSize u => DrawingAttr -> uSource

A Mark is consider to be the height of a lowercase letter in the current font.

textDimensions :: FromPtSize u => String -> DrawingAttr -> (u, u)Source

textDimensions : text -> DrawingAttr -> (width,height)

Line widths

Font properties