Piccolo.NET

PCamera.ScaleViewBy Method (Single, Single, Single)

Scale the view transform that is applied to the layers viewed by this camera by the given amount about the given point.

public virtual void ScaleViewBy(
   float scale,
   float x,
   float y
);

Parameters

scale
The amount ot scale the view by.
x
The x coordinate of the point to scale about.
y
The y coordinate of the point to scale about.

See Also

PCamera Class | UMD.HCIL.Piccolo Namespace | PCamera.ScaleViewBy Overload List