[]
        
(Showing Draft Content)

C1.WPF.Extensions.Transform

Transform Method

Transform(Matrix, double, double)

Transforms a point by this matrix.

Declaration
public static Point Transform(this Matrix matrix, double x, double y)
Public Shared Function Transform(matrix As Matrix, x As Double, y As Double) As Point
Parameters
Type Name Description
Matrix matrix

The Matrix defining transformation.

double x

The x coordinate of the point.

double y

The y coordinate of the point.

Returns
Type Description
Point

The result of the transformation for the point.

Transform(Matrix3x2, float, float)

Transforms the point.

Declaration
public static PointF Transform(this Matrix3x2 m, float x, float y)
Public Shared Function Transform(m As Matrix3x2, x As Single, y As Single) As PointF
Parameters
Type Name Description
Matrix3x2 m
float x
float y
Returns
Type Description
PointF

Transform(Matrix3x2, PointF)

Transforms the point.

Declaration
public static PointF Transform(this Matrix3x2 matrix, PointF p)
Public Shared Function Transform(matrix As Matrix3x2, p As PointF) As PointF
Parameters
Type Name Description
Matrix3x2 matrix
PointF p
Returns
Type Description
PointF

Transform(Matrix3x2, RectangleF)

Transforms the rectangle.

Declaration
public static RectWrapper Transform(this Matrix3x2 matrix, RectangleF r)
Public Shared Function Transform(matrix As Matrix3x2, r As RectangleF) As RectWrapper
Parameters
Type Name Description
Matrix3x2 matrix
RectangleF r
Returns
Type Description
RectWrapper