hoodle-types-0.2.1: Data types for programs for hoodle file format

PortabilityGHC
Stabilityexperimental
MaintainerIan-Woo Kim <ianwookim@gmail.com>
Safe HaskellNone

Data.Hoodle.BBox

Description

 

Synopsis

Documentation

data BBox Source

bounding box type

Constructors

BBox 

class GetBBoxable a whereSource

Methods

getBBox :: a -> BBoxSource

Instances

data BBoxed a Source

Constructors

BBoxed 

Fields

bbxed_content :: a
 
bbxed_bbx :: BBox
 

Instances

Eq a => Eq (BBoxed a) 
Ord a => Ord (BBoxed a) 
Show a => Show (BBoxed a) 
GetBBoxable (BBoxed a) 

xformBBox :: ((Double, Double) -> (Double, Double)) -> BBox -> BBoxSource

general transform BBox

inflate :: BBox -> Double -> BBoxSource

inflate bbox by amount r

data ULMaybe a Source

Constructors

Bottom 
Middle a 
Top 

Instances

Eq a => Eq (ULMaybe a) 
Show a => Show (ULMaybe a) 

class Maybeable a whereSource

Associated Types

type ElemType a :: *Source