hoodle-core-0.11: 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