GraphicsPath.Warp

Warp(PointF[], RectangleF)

Applies a warp transform, defined by a rectangle and a parallelogram, to this GraphicsPath.

public void Warp(PointF[] destPoints, RectangleF srcRect)
ParameterTypeDescription
destPointsPointF[]An array of PointF structures that define a parallelogram to which the rectangle defined by srcRect is transformed. The array can contain either three or four elements. If the array contains three elements, the lower-right corner of the parallelogram is implied by the first three points.
srcRectRectangleFA RectangleF that represents the rectangle that is transformed to the parallelogram defined by destPoints.

See Also


Warp(PointF[], RectangleF, Matrix)

Applies a warp transform, defined by a rectangle and a parallelogram, to this GraphicsPath.

public void Warp(PointF[] destPoints, RectangleF srcRect, Matrix matrix)
ParameterTypeDescription
destPointsPointF[]An array of PointF structures that define a parallelogram to which the rectangle defined by srcRect is transformed. The array can contain either three or four elements. If the array contains three elements, the lower-right corner of the parallelogram is implied by the first three points.
srcRectRectangleFA RectangleF that represents the rectangle that is transformed to the parallelogram defined by destPoints.
matrixMatrixA Matrix that specifies a geometric transform to apply to the path.

See Also


Warp(PointF[], RectangleF, Matrix, WarpMode)

Applies a warp transform, defined by a rectangle and a parallelogram, to this GraphicsPath.

public void Warp(PointF[] destPoints, RectangleF srcRect, Matrix matrix, WarpMode warpMode)
ParameterTypeDescription
destPointsPointF[]An array of PointF structures that defines a parallelogram to which the rectangle defined by srcRect is transformed. The array can contain either three or four elements. If the array contains three elements, the lower-right corner of the parallelogram is implied by the first three points.
srcRectRectangleFA RectangleF that represents the rectangle that is transformed to the parallelogram defined by destPoints.
matrixMatrixA Matrix that specifies a geometric transform to apply to the path.
warpModeWarpModeA WarpMode enumeration that specifies whether this warp operation uses perspective or bilinear mode.

See Also


Warp(PointF[], RectangleF, Matrix, WarpMode, float)

Applies a warp transform, defined by a rectangle and a parallelogram, to this GraphicsPath.

public void Warp(PointF[] destPoints, RectangleF srcRect, Matrix matrix, WarpMode warpMode, 
    float flatness)
ParameterTypeDescription
destPointsPointF[]An array of PointF structures that define a parallelogram to which the rectangle defined by srcRect is transformed. The array can contain either three or four elements. If the array contains three elements, the lower-right corner of the parallelogram is implied by the first three points.
srcRectRectangleFA RectangleF that represents the rectangle that is transformed to the parallelogram defined by destPoints.
matrixMatrixA Matrix that specifies a geometric transform to apply to the path.
warpModeWarpModeA WarpMode enumeration that specifies whether this warp operation uses perspective or bilinear mode.
flatnessSingleA value from 0 through 1 that specifies how flat the resulting path is. For more information, see the Flatten methods.

See Also