hoodle-core-0.10: Core library for hoodle

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

Hoodle.ModelAction.Select

Description

 

Synopsis

Documentation

makePageSelectModeSource

Arguments

:: Page EditMode

base page

-> TAlterHitted RItem

current selection layer (active layer will be replaced)

-> Page SelectMode

resultant select mode page

start a select mode with alter list selection

deleteSelected :: Page SelectMode -> Page SelectModeSource

get unselected part of page and make an ordinary page

newtype CmpBBox a Source

Constructors

CmpBBox 

Fields

unCmpBBox :: a
 

Instances

separateFS :: [(DI, a)] -> ([a], [a])Source

getDiffBBox :: GetBBoxable a => [a] -> [a] -> [(DI, a)]Source

drawTempSelectImageSource

Arguments

:: CanvasGeometry 
-> TempSelectRender ItmsNImg 
-> Matrix

transformation matrix

-> Render () 

updateTempSelection :: TempSelectRender a -> Render () -> Bool -> IO ()Source

update the content of temp selection. should not be often updated