/// <summary> /// Adds the line to the given <paramref name="path" /> after transforming it by the given /// <paramref name="transform" />. /// </summary> /// <param name="path">The path to add the line to.</param> /// <param name="transform">The transform.</param> /// <param name="reverse">If set to <see langword="true" />, add the line from <see cref="Start" /> to <see cref="End" />.</param> public void AddToPath(IGraphicsPath path, Matrix3x2 transform, bool reverse) { path.AddQuadraticBezier( Vector2.Transform(ControlPoint, transform), Vector2.Transform(reverse ? Start : End, transform)); }