Copyright | (c) 2011-2014 Ian-Woo Kim |
---|---|
License | BSD3 |
Maintainer | Ian-Woo Kim <ianwookim@gmail.com> |
Stability | experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell98 |
- rItmsInActiveLyr :: Page SelectMode -> Either [RItem] (TAlterHitted RItem)
- changeItemBy :: ((Double, Double) -> (Double, Double)) -> RItem -> RItem
- changeStrokeBy :: ((Double, Double) -> (Double, Double)) -> BBoxed Stroke -> BBoxed Stroke
- changeImageBy :: ((Double, Double) -> (Double, Double)) -> BBoxed Image -> BBoxed Image
- changeSVGBy :: ((Double, Double) -> (Double, Double)) -> BBoxed SVG -> BBoxed SVG
- changeLinkBy :: ((Double, Double) -> (Double, Double)) -> BBoxed Link -> BBoxed Link
- changeAnchorBy :: ((Double, Double) -> (Double, Double)) -> BBoxed Anchor -> BBoxed Anchor
- changeSelectionBy :: ((Double, Double) -> (Double, Double)) -> Page SelectMode -> Page SelectMode
- changeSelectionByOffset :: (Double, Double) -> Page SelectMode -> Page SelectMode
- offsetFunc :: (Double, Double) -> (Double, Double) -> (Double, Double)
- replaceSelection :: RItem -> Page SelectMode -> Page SelectMode
Documentation
rItmsInActiveLyr :: Page SelectMode -> Either [RItem] (TAlterHitted RItem) Source #
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