Table of Contents

Method ZoomAboutLogicalPoint

Namespace
SkiaSharp.Extended
Assembly
SkiaSharp.Extended.dll

ZoomAboutLogicalPoint(double, double, double)

Zooms about a logical point. The point under the cursor stays fixed on screen. This is the core zoom algorithm from Silverlight's MultiScaleImage.ZoomAboutLogicalPoint.

public void ZoomAboutLogicalPoint(double factor, double logicalX, double logicalY)

Parameters

factor double

Multiplicative zoom factor. >1 = zoom in, <1 = zoom out.

logicalX double

Logical X of the anchor point.

logicalY double

Logical Y of the anchor point.