wumpus-basic-0.15.0: Basic objects and system code built on Wumpus-Core.

PortabilityGHC
Stabilityhighly unstable
Maintainerstephen.tetley@gmail.com

Wumpus.Basic.Kernel.Objects.BaseObjects

Contents

Description

Aliases for ContextFun types.

Synopsis

Drawing info

type DrawingInfo a = CF aSource

A query on the DrawingContext.

Alias for CF.

type LocDrawingInfo u a = LocCF u aSource

A query on the DrawingContext respective to the supplied point.

Alias for LocCF.

type LocThetaDrawingInfo u a = LocThetaCF u aSource

A query on the DrawingContext respective to the supplied point and angle.

Alias for LocCF.

Drawing objects

type ImageAns u a = (a, PrimGraphic u)Source

An Image always returns a pair of some polymorphic answer a and a PrimGraphic.

Note a PrimGraphic cannot be empty.

type Image u a = CF (ImageAns u a)Source

Draw a PrimGraphic repsective to the DrawingContext and return some answer a.

type LocImage u a = LocCF u (ImageAns u a)Source

Draw a PrimGraphic respective to the DrawingContext and the supplied point, return some answer a.

type LocThetaImage u a = LocThetaCF u (ImageAns u a)Source

Draw a PrimGraphic respective to the DrawingContext and the supplied point and angle.

hyperlink :: XLink -> Image u a -> Image u aSource