Click or drag to resize

Matrix.FromScaleAt Method (Single, Single, Single, Single)

Creates a new matrix with a scale at the specified point

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static IMatrix FromScaleAt(
	float scaleX,
	float scaleY,
	float centerX,
	float centerY
)

Parameters

scaleX
Type: System.Single
The amount to multiply coordinates along the x axis
scaleY
Type: System.Single
The amount to multiply coordinates along the y axis
centerX
Type: System.Single
X co-ordinate of the point to scale from
centerY
Type: System.Single
Y co-ordinate of the point to scale from

Return Value

Type: IMatrix
A new matrix with a scale transform
See Also