Name
ZoomRaster -- A zoomable Raster.
Description
ZoomRaster is a subclass of Raster that implements a zoomable image. It handles translation between logical coordinates and screen coordinates.
Methods
Phase: Using
-
increaseZoom Make the raster bigger.
-
decreaseZoom Make the raster smaller.
- (unsigned)
getZoomFactor Get the current zoom factor.
-
setZoomFactor: (unsigned)
z Set the zoom factor.
-
handleConfigureWidth: (unsigned)
newWidth Height: (unsigned)
newHeight Reconfigures the ZoomRaster when the window is resized.