hoodle-core-0.13.0.0: Core library for hoodle

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

Hoodle.View.Draw

Description

 

Synopsis

Documentation

type family DrawingFunction v :: * -> *Source

getViewableBBoxSource

Arguments

:: CanvasGeometry 
-> Maybe BBox

in desktop coordinate

-> IntersectBBox 

virtualDoubleBufferDraw :: MonadIO m => Surface -> Surface -> Render () -> Render () -> m ()Source

double buffering within two image surfaces

doubleBufferDraw :: (DrawWindow, Maybe Surface) -> CanvasGeometry -> Render () -> Render a -> IntersectBBox -> IO (Maybe a)Source

common routine for double buffering

emphasisPageRender :: CanvasGeometry -> (PageNum, Page EditMode) -> Render ()Source

highlight current page

emphasisNotifiedRender :: CanvasGeometry -> (PageNum, BBox, RItem) -> Render ()Source

highlight notified item (like link)