Portability | GHC with TypeFamilies and more |
---|---|
Stability | highly unstable |
Maintainer | Stephen Tetley <stephen.tetley@gmail.com> |
Anchor points on shapes.
** WARNING ** this module is an experiment, and may change significantly or even be dropped from future revisions.
- class CenterAnchor t where
- class CardinalAnchor t where
- class CardinalAnchor2 t where
- class TextAnchor t where
- baselineSW :: DUnit t ~ u => t -> Point2 u
- class RadialAnchor t where
- radialAnchor :: DUnit t ~ u => Radian -> t -> Point2 u
Anchors
class CenterAnchor t whereSource
class CardinalAnchor t whereSource
class CardinalAnchor2 t whereSource
class TextAnchor t whereSource
textAnchor
is the Bottom left corner
on the baseline.
baselineSW :: DUnit t ~ u => t -> Point2 uSource
class RadialAnchor t whereSource
Anchor on a border that can be identified with and angle.
radialAnchor :: DUnit t ~ u => Radian -> t -> Point2 uSource