public override Element TransformGeometry (Transform transform) { var clone = (Path)Clone (); var tt = transform * Transform; clone.Transform = Transform.Identity; var startPoint = Point.Zero; var prevPoint = startPoint; foreach (var op in clone.Operations) { if (op is MoveTo) { startPoint = transform.TransformPoint (op.EndPoint); } op.TransformGeometry (prevPoint, tt); prevPoint = op.GetEndPoint (startPoint); } return clone; }
public override void TransformGeometry (Point prevPoint, Transform transform) { Point = transform.TransformPoint (Point); }
public override void TransformGeometry (Point prevPoint, Transform transform) { Point = transform.TransformPoint (Point); Control1 = transform.TransformPoint (Control1); Control2 = transform.TransformPoint (Control2); }