From cb9ffbaf27b012052cf0bcfdf703e0d588e4157b Mon Sep 17 00:00:00 2001 From: walterlv <450711383@qq.com> Date: Sat, 31 Jul 2021 01:21:16 +0800 Subject: [PATCH] Fix "Smooth quadratic Bezier curve Command" syntax (#1125) According to the source code of WPF, we can know that the `T` command only receives one parameter which is the `endPoint`. The `controlPoint` argument is automatically calculated by the reflection of the last control point. So the previous version of this doc has error in `T` and I'm fixing it in this pull request. --- .../framework/wpf/graphics-multimedia/path-markup-syntax.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dotnet-desktop-guide/framework/wpf/graphics-multimedia/path-markup-syntax.md b/dotnet-desktop-guide/framework/wpf/graphics-multimedia/path-markup-syntax.md index 1218158..e17ab6e 100644 --- a/dotnet-desktop-guide/framework/wpf/graphics-multimedia/path-markup-syntax.md +++ b/dotnet-desktop-guide/framework/wpf/graphics-multimedia/path-markup-syntax.md @@ -159,11 +159,10 @@ An uppercase `V` indicates that `y` is an absolute value; a lowercase `v` indica |Syntax| |------------| -|`T` `controlPoint` `endPoint`

- or -

`t` `controlPoint` `endPoint`| +|`T` `endPoint`

- or -

`t` `endPoint`| |Term|Description| |----------|-----------------| -|`controlPoint`|

The control point of the curve, which determines the starting and tangent of the curve.| |`endPoint`|

The point to which the curve is drawn.| ### Elliptical Arc Command