hoodle-core-0.11: Core library for hoodle

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

Hoodle.Coroutine.Draw

Description

 

Synopsis

Documentation

invalidate :: CanvasId -> MainCoroutine ()Source

invalidate clear

invalidateInBBoxSource

Arguments

:: Maybe BBox

desktop coord

-> DrawFlag 
-> CanvasId 
-> MainCoroutine () 

invalidateAllInBBoxSource

Arguments

:: Maybe BBox

desktop coordinate

-> DrawFlag 
-> MainCoroutine () 

invalidateCurrent :: MainCoroutine ()Source

Invalidate Current canvas

invalidateTemp :: CanvasId -> Surface -> Render () -> MainCoroutine ()Source

Drawing temporary gadgets

invalidateTempBasePage :: CanvasId -> Surface -> PageNum -> Render () -> MainCoroutine ()Source

Drawing temporary gadgets with coordinate based on base page

chkCvsIdNInvalidate :: CanvasId -> MainCoroutine ()Source

check current canvas id and new active canvas id and invalidate if it's changed.