wumpus-basic-0.3.0: Common drawing utilities built on wumpus-core.
Source code
Contents
Index
Wumpus.Basic.Anchors
Portability
GHC with TypeFamilies and more
Stability
highly unstable
Maintainer
Stephen Tetley <stephen.tetley@gmail.com>
Contents
Anchors
Description
Anchor points on "shapes".
* WARNING ** this module is highly experimental, and may change significantly or even be dropped from future revisions.
Synopsis
class
CenterAnchor
t
where
center
::
DUnit
t ~ u => t ->
Point2
u
class
CardinalAnchor
t
where
north
::
DUnit
t ~ u => t ->
Point2
u
south
::
DUnit
t ~ u => t ->
Point2
u
east
::
DUnit
t ~ u => t ->
Point2
u
west
::
DUnit
t ~ u => t ->
Point2
u
class
CardinalAnchor2
t
where
northeast
::
DUnit
t ~ u => t ->
Point2
u
southeast
::
DUnit
t ~ u => t ->
Point2
u
southwest
::
DUnit
t ~ u => t ->
Point2
u
northwest
::
DUnit
t ~ u => t ->
Point2
u
class
TextAnchor
t
where
textAnchor
::
DUnit
t ~ u => t ->
Point2
u
class
RadialAnchor
t
where
radialAnchor
::
DUnit
t ~ u =>
Radian
-> t ->
Point2
u
Anchors
class
CenterAnchor
t
where
Source
Methods
center
::
DUnit
t ~ u => t ->
Point2
u
Source
Instances
CenterAnchor
(
DotAnchor
u)
class
CardinalAnchor
t
where
Source
Methods
north
::
DUnit
t ~ u => t ->
Point2
u
Source
south
::
DUnit
t ~ u => t ->
Point2
u
Source
east
::
DUnit
t ~ u => t ->
Point2
u
Source
west
::
DUnit
t ~ u => t ->
Point2
u
Source
Instances
CardinalAnchor
(
DotAnchor
u)
class
CardinalAnchor2
t
where
Source
Methods
northeast
::
DUnit
t ~ u => t ->
Point2
u
Source
southeast
::
DUnit
t ~ u => t ->
Point2
u
Source
southwest
::
DUnit
t ~ u => t ->
Point2
u
Source
northwest
::
DUnit
t ~ u => t ->
Point2
u
Source
Instances
CardinalAnchor2
(
DotAnchor
u)
class
TextAnchor
t
where
Source
textAnchor
is the Bottom left corner on the baseline.
Methods
textAnchor
::
DUnit
t ~ u => t ->
Point2
u
Source
class
RadialAnchor
t
where
Source
Anchor on a border that can be identified with and angle.
Methods
radialAnchor
::
DUnit
t ~ u =>
Radian
-> t ->
Point2
u
Source
Instances
RadialAnchor
(
DotAnchor
u)
Produced by
Haddock
version 2.6.1