Portability | GHC |
---|---|
Stability | experimental |
Maintainer | Ian-Woo Kim <ianwookim@gmail.com> |
Safe Haskell | None |
Pan-Zoom widget drawing and action
Documentation
widgetCheckPen :: CanvasId -> PointerCoord -> MainCoroutine () -> MainCoroutine ()Source
findZoomXform :: Dimension -> ((Double, Double), (Double, Double), (Double, Double)) -> (Double, (Double, Double))Source
:: PanZoomMode | |
-> CanvasId | |
-> CanvasGeometry | |
-> (Surface, Surface) | |
-> CanvasCoordinate | original widget position |
-> CanvasCoordinate | where pen pressed |
-> UTCTime | |
-> MainCoroutine () |
movingRender :: PanZoomMode -> CanvasId -> CanvasGeometry -> (Surface, Surface) -> CanvasCoordinate -> CanvasCoordinate -> PointerCoord -> MainCoroutine ()Source