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

factor

Relative zoom factor

p

A point within the view that should be scrolled to the centre of the zoomed view.