- (void)handleConfigureWidth: (unsigned)newWidthHeight: (unsigned)newHeight Reconfigures the ZoomRaster when the window is resized.
- setZoomFactor: (unsigned)z Set the zoom factor.
- (void)fillCenteredRectangleX0: (int)x0Y0: (int)y0X1: (int)x1Y1: (int)y1Color: (Color)color Special method for ZoomRasters. Like fillRectangleX0:Y0:X1:Y1:Color: in Raster, it will fill a rectangle of given geometry and color. This method makes sure that zooming the window does not change the logical position of the rectangle in relation to the logical coordinates. In other words, if a rectangle includes point (10,10) at one zoom factors, then that same point is included for all zoom factors.
- (unsigned)getZoomFactor Get the current zoom factor.