Applies the specified linear transfromation to this path.
Namespace:
Aurigma.GraphicsMill.AdvancedDrawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
public void ApplyTransform(
Matrix matrix
)
Type: System.Drawing.Drawing2D.Matrix
The matrix of the transformation.using (var reader = new JpegReader(@"Images\1.jpg"))
using (var path = Path.Create(reader.ClippingPaths[0], reader.Width, reader.Height))
{
var m = new System.Drawing.Drawing2D.Matrix();
m.Scale(0.5f, 0.5f);
m.Rotate(30);
path.ApplyTransform(m);
}