Skip to main content
All docs
V24.2

DXMatrix.CreateWarpMatrix(RectangleF, RectangleF) Method

Creates a new matrix based on the current matrix and applies a warp transformation.

Namespace: DevExpress.Drawing

Assembly: DevExpress.Drawing.v24.2.dll

Declaration

public static DXMatrix CreateWarpMatrix(
    RectangleF src,
    RectangleF dst
)

Parameters

Name Type Description
src RectangleF

The rectangle that changes into a parallelogram with the shape of the destination rectangle.

dst RectangleF

A parallelogram to which the source rectangle is transformed.

Returns

Type Description
DXMatrix

The resulting transformation matrix.

See Also