Portability | GHC |
---|---|
Stability | experimental |
Maintainer | Ian-Woo Kim <ianwookim@gmail.com> |
Safe Haskell | None |
Renderable Hoodle Type
- newtype LyBuf = LyBuf (Maybe Surface)
- type RLayer = GLayer LyBuf [] RItem
- type RPage = GPage RBackground ZipperSelect RLayer
- type RHoodle = GHoodle IntMap RPage
- emptyRLayer :: RLayer
- rLayer2Layer :: RLayer -> Layer
- rPage2Page :: RPage -> Page
- rHoodle2Hoodle :: RHoodle -> Hoodle
- newtype InBBox a = InBBox a
- data InBBoxOption = InBBoxOption (Maybe BBox)
Documentation
type RLayer = GLayer LyBuf [] RItemSource
normal rendering data structure for layer, R for rendering buffer is Surface, container for item = list and StrokeBBox as contained items
type RPage = GPage RBackground ZipperSelect RLayerSource
normal rendering data structure for page background is RBackground and container for layer is IntMap and layer is RLayer
type RHoodle = GHoodle IntMap RPageSource
normal rendering data struture for hoodle container for page is IntMap page is RPage
rLayer2Layer :: RLayer -> LayerSource
project to simple Layer out of RLayer
rPage2Page :: RPage -> PageSource
project to simple Page out of RPage
rHoodle2Hoodle :: RHoodle -> HoodleSource
project to simple Hoodle out of RHoodle
data InBBoxOption Source