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

Stabilityhighly unstable



LocThetaImage and LocThetaGraphic types - these are functional types from the DrawingContext, start point and angle of inclination to a graphic primitive.



data LocThetaImage u a Source

LocThetaImage - function from start point, inclination and DrawingContext to a polymorphic answer and a graphic primitive (PrimW).

type DLocThetaGraphic = LocThetaGraphic DoubleSource

Type specialized version of LocThetaGraphic.

type DLocThetaImage a = LocThetaImage Double aSource

Type specialized version of LocThetaImage.

emptyLocThetaImage :: Monoid a => LocThetaImage u aSource

Having empty at the specific LocThetaImage type is useful.

incline :: InterpretUnit u => LocThetaImage u a -> Radian -> LocImage u aSource

Downcast a LocThetaImage function by applying it to the supplied angle, making a LocImage.

supplyIncline :: InterpretUnit u => Radian -> LocThetaImage u a -> LocImage u aSource

Flipped version of incline