hoodle-core-0.16: Core library for hoodle

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

Hoodle.View.Coordinate

Description

 

Synopsis

Documentation

makeCanvasGeometry :: PageNum -> PageArrangement vm -> DrawingArea -> IO CanvasGeometry Source #

make a canvas geometry data structure from current status

getCvsOriginInPage :: CanvasGeometry -> Either DesktopCoordinate (PageNum, PageCoordinate) Source #

Get Canvas Origin in Page Coordinate : Right is successful case, Left is unsuccessful case, then return in DesktopCoordinate