Piccolo.NET

PMatrix.ScaleBy Method (Single, Single, Single)

Scale about the specified point. Applies the specified scale vector to this PMatrix object by translating to the given point before prepending the scale vector.

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

Parameters

scale
The value by which to scale this PMatrix along both axes, around the point (x, y).
x
The x-coordinate of the point to scale about.
y
The y-coordinate of the point to scale about.

Remarks

This value will be applied to the current scale value of the matrix. This is not the same as setting the Scale directly.

See Also

PMatrix Class | UMD.HCIL.Piccolo.Util Namespace | PMatrix.ScaleBy Overload List


Web Accessibility