Copyright | (c) 2011-2015 Ian-Woo Kim |
---|---|
License | BSD3 |
Maintainer | Ian-Woo Kim <ianwookim@gmail.com> |
Stability | experimental |
Portability | GHC |
Safe Haskell | None |
Language | Haskell98 |
- changePage :: (Int -> Int) -> MainCoroutine ()
- changePageInHoodleModeState :: BackgroundStyle -> Int -> HoodleModeState -> MainCoroutine (Bool, Int, Page EditMode, HoodleModeState)
- canvasZoomUpdateGenRenderCvsId :: MainCoroutine () -> CanvasId -> Maybe ZoomMode -> Maybe (PageNum, PageCoordinate) -> MainCoroutine ()
- canvasZoomUpdateCvsId :: CanvasId -> Maybe ZoomMode -> MainCoroutine ()
- canvasZoomUpdateBufAll :: MainCoroutine ()
- canvasZoomUpdateAll :: MainCoroutine ()
- canvasZoomUpdate :: Maybe ZoomMode -> MainCoroutine ()
- pageZoomChange :: ZoomMode -> MainCoroutine ()
- pageZoomChangeRel :: ZoomModeRel -> MainCoroutine ()
- newPage :: Maybe Dimension -> AddDirection -> MainCoroutine ()
- deleteCurrentPage :: MainCoroutine ()
- deletePageInHoodle :: Hoodle EditMode -> PageNum -> IO (Hoodle EditMode)
- addNewPageInHoodle :: Maybe Dimension -> BackgroundStyle -> AddDirection -> Hoodle EditMode -> Int -> MainCoroutine (Hoodle EditMode)
- newBkg :: BackgroundStyle -> RBackground -> MainCoroutine RBackground
- findPDFBkg :: RHoodle -> Int -> Maybe RBackground
- newPageFromOld :: Page EditMode -> MainCoroutine (Page EditMode)
- updatePageCache :: CanvasGeometry -> (PageNum, Page EditMode) -> Renderer ()
- updateBkgCache :: Dimension -> Dimension -> RBackground -> Renderer ()
- updateLayerCache :: Dimension -> Dimension -> RLayer -> Renderer ()
Documentation
changePage :: (Int -> Int) -> MainCoroutine () Source #
change page of current canvas using a modify function
changePageInHoodleModeState Source #
:: BackgroundStyle | |
-> Int | new page number |
-> HoodleModeState | |
-> MainCoroutine (Bool, Int, Page EditMode, HoodleModeState) |
canvasZoomUpdateGenRenderCvsId :: MainCoroutine () -> CanvasId -> Maybe ZoomMode -> Maybe (PageNum, PageCoordinate) -> MainCoroutine () Source #
canvasZoomUpdateCvsId :: CanvasId -> Maybe ZoomMode -> MainCoroutine () Source #
canvasZoomUpdate :: Maybe ZoomMode -> MainCoroutine () Source #
pageZoomChange :: ZoomMode -> MainCoroutine () Source #
pageZoomChangeRel :: ZoomModeRel -> MainCoroutine () Source #
newPage :: Maybe Dimension -> AddDirection -> MainCoroutine () Source #
deleteCurrentPage :: MainCoroutine () Source #
delete current page of current canvas
deletePageInHoodle :: Hoodle EditMode -> PageNum -> IO (Hoodle EditMode) Source #
delete designated page
addNewPageInHoodle :: Maybe Dimension -> BackgroundStyle -> AddDirection -> Hoodle EditMode -> Int -> MainCoroutine (Hoodle EditMode) Source #
findPDFBkg :: RHoodle -> Int -> Maybe RBackground Source #
newPageFromOld :: Page EditMode -> MainCoroutine (Page EditMode) Source #
updatePageCache :: CanvasGeometry -> (PageNum, Page EditMode) -> Renderer () Source #
updateBkgCache :: Dimension -> Dimension -> RBackground -> Renderer () Source #