[]
        
(Showing Draft Content)

GrapeCity.Documents.Common.Matrix.Scale

Scale Method

Scale(double)

Applies the scaling transformation.

Declaration
public Matrix Scale(double scaleFactor)
Parameters
Type Name Description
double scaleFactor

The value to scale by on the X and Y axes.

Returns
Type Description
Matrix

The scaled matrix.

Scale(double, double)

Applies the scaling transformation.

Declaration
public Matrix Scale(double sx, double sy)
Parameters
Type Name Description
double sx

The value to scale by on the X axis.

double sy

The value to scale by on the Y axis.

Returns
Type Description
Matrix

The scaled matrix.

Scale(double, double, PointF)

Applies the scaling transformation that is offset by a given center point.

Declaration
public Matrix Scale(double sx, double sy, PointF centerPoint)
Parameters
Type Name Description
double sx

The value to scale by on the X axis.

double sy

The value to scale by on the Y axis.

PointF centerPoint

The center offset.

Returns
Type Description
Matrix

The scaled matrix.

Scale(double, double, double, double)

Applies the scaling transformation that is offset by a given center point.

Declaration
public Matrix Scale(double sx, double sy, double cx, double cy)
Parameters
Type Name Description
double sx

The value to scale by on the X axis.

double sy

The value to scale by on the Y axis.

double cx

X-coordinate of the center offset.

double cy

Y-coordinate of the center offset.

Returns
Type Description
Matrix

The scaled matrix.