PeachDrawing.Core

PeachDrawing.Core.GraphicsPath

GraphicsPath.Transform(Matrix3x2) Method

Applies an affine transform to every point already added to the path. Because the concrete path stores arcs as Bézier segments (which are closed under affine transforms), this is an exact transform of the whole geometry for any matrix - translate, scale, rotate or skew. Used to bake a clip shape’s own transform into its geometry, since a clip region is built as a single path and cannot use the graphics-state transform (which would apply to the whole clip rather than one contributing shape).

public virtual void Transform(System.Numerics.Matrix3x2 matrix);

Parameters

matrix System.Numerics.Matrix3x2