Portability | GHC |
---|---|
Stability | highly unstable |
Maintainer | stephen.tetley@gmail.com |
Aliases for ContextFun types.
- type DrawingInfo a = CF a
- type LocDrawingInfo u a = LocCF u a
- type LocThetaDrawingInfo u a = LocThetaCF u a
- type ImageAns u a = (a, PrimGraphic u)
- type GraphicAns u = ImageAns u (UNil u)
- type Image u a = CF (ImageAns u a)
- type LocImage u a = LocCF u (ImageAns u a)
- type LocThetaImage u a = LocThetaCF u (ImageAns u a)
- type DImage a = Image Double a
- type DLocImage a = LocImage Double a
- type DLocThetaImage a = LocThetaImage Double a
- hyperlink :: XLink -> Image u a -> Image u a
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 GraphicAns u = ImageAns u (UNil u)Source
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.
type DLocThetaImage a = LocThetaImage Double aSource