Instance Method
zoom(byFactor:andCentrePoint:) zoomViewByFactor:andCentrePoint: zoomViewByFactor_andCentrePoint_
Zooms the view by the given factor and centers the passed point.
Declaration
func zoom(byFactor factor: CGFloat, andCentrePoint p: NSPoint)Declaration
- (void) zoomViewByFactor:(CGFloat) factor andCentrePoint:(NSPoint) p;Declaration
zoomViewByFactor_andCentrePoint_(factor: float, p: NSPoint)Parameters
factorRelative zoom factor
pA point within the view that should be scrolled to the centre of the zoomed view.