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

PortabilityGHC
Stabilityunstable
Maintainerstephen.tetley@gmail.com

Wumpus.Drawing.Text.Base.Label

Description

Annotation labels.

Synopsis

Documentation

label_center_of :: (Floating u, CenterAnchor a, u ~ DUnit a) => BoundedLocRectGraphic u -> LocImage u a -> LocImage u aSource

label_left_of :: (Floating u, CardinalAnchor a, u ~ DUnit a) => BoundedLocRectGraphic u -> LocImage u a -> LocImage u aSource

label_right_of :: (Floating u, CardinalAnchor a, u ~ DUnit a) => BoundedLocRectGraphic u -> LocImage u a -> LocImage u aSource

label_above :: (Floating u, CardinalAnchor a, u ~ DUnit a) => BoundedLocRectGraphic u -> LocImage u a -> LocImage u aSource

label_below :: (Floating u, CardinalAnchor a, u ~ DUnit a) => BoundedLocRectGraphic u -> LocImage u a -> LocImage u aSource

connectorPathLabel :: Floating u => (AbsPath u -> Point2 u) -> RectAddress -> BoundedLocRectGraphic u -> Image u (AbsPath u) -> Image u (AbsPath u)Source

label_midway_of :: (Real u, Floating u) => RectAddress -> BoundedLocRectGraphic u -> Image u (AbsPath u) -> Image u (AbsPath u)Source

label_atstart_of :: (Real u, Floating u) => RectAddress -> BoundedLocRectGraphic u -> Image u (AbsPath u) -> Image u (AbsPath u)Source

label_atend_of :: (Real u, Floating u) => RectAddress -> BoundedLocRectGraphic u -> Image u (AbsPath u) -> Image u (AbsPath u)Source

centerRelative :: (CenterAnchor a, Fractional u, InterpretUnit u, u ~ DUnit a) => (Int, Int) -> a -> Query u (Anchor u)Source

Absolute units.

right_of :: (CenterAnchor a, Fractional u, InterpretUnit u, u ~ DUnit a) => a -> Query u (Anchor u)Source

Value is 1 snap unit right.

This function should be considered obsolete, pending a re-think.

left_of :: (CenterAnchor a, Fractional u, InterpretUnit u, u ~ DUnit a) => a -> Query u (Anchor u)Source

Value is 1 snap move left.

This function should be considered obsolete, pending a re-think.

above_right_of :: (CenterAnchor a, Fractional u, InterpretUnit u, u ~ DUnit a) => a -> Query u (Anchor u)Source

Value is 1 snap move up, 1 snap move right.

This function should be considered obsolete, pending a re-think.

below_right_of :: (CenterAnchor a, Fractional u, InterpretUnit u, u ~ DUnit a) => a -> Query u (Anchor u)Source

Value is 1 snap move below, 1 snap move right.

This function should be considered obsolete, pending a re-think.

above_left_of :: (CenterAnchor a, Fractional u, InterpretUnit u, u ~ DUnit a) => a -> Query u (Anchor u)Source

Value is 1 snap move up, 1 snap move left.

This function should be considered obsolete, pending a re-think.

below_left_of :: (CenterAnchor a, Fractional u, InterpretUnit u, u ~ DUnit a) => a -> Query u (Anchor u)Source

Value is 1 snap move down, 1 snap move left.

This function should be considered obsolete, pending a re-think.