hoodle-render-0.3: Hoodle file renderer

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

Graphics.Hoodle.Render.Type.Hoodle

Description

Renderable Hoodle Type

Synopsis

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

newtype InBBox a Source

Constructors

InBBox 

Fields

unInBBox :: a
 

newtype InBBoxBkgBuf a Source

Constructors

InBBoxBkgBuf 

Fields

unInBBoxBkgBuf :: a