hoodle-core-0.16: Core library for hoodle

Copyright(c) 2011-2014 Ian-Woo Kim
LicenseBSD3
MaintainerIan-Woo Kim <ianwookim@gmail.com>
Stabilityexperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell98

Hoodle.ModelAction.Select.Transform

Description

 

Synopsis

Documentation

changeStrokeBy :: ((Double, Double) -> (Double, Double)) -> BBoxed Stroke -> BBoxed Stroke Source #

modify stroke using a function

changeSelectionBy :: ((Double, Double) -> (Double, Double)) -> Page SelectMode -> Page SelectMode Source #

modify the whole selection using a function

changeSelectionByOffset :: (Double, Double) -> Page SelectMode -> Page SelectMode Source #

special case of offset modification

replaceSelection :: RItem -> Page SelectMode -> Page SelectMode Source #

replace selection with one item