hoodle-render-0.3: Hoodle file renderer

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

Graphics.Hoodle.Render.Background

Description

 

Synopsis

Documentation

popplerGetPageFromDocSource

Arguments

:: Document 
-> Int

page number

-> IO (Maybe Page, Maybe Surface) 

drawRuling :: Double -> Double -> ByteString -> Render ()Source

draw ruling all

drawRuling_InBBox :: BBox -> Double -> Double -> ByteString -> Render ()Source

draw ruling in bbox

renderBkg :: (Background, Dimension) -> Render ()Source

render background without any constraint

cnstrctRBkg_StateT :: Dimension -> Background -> StateT (Maybe Context) IO RBackgroundSource

this has some bugs. need to fix