Brandon DeRosier 5b84b2c85b [Impeller] Fix stroke curves. (flutter/engine#52978)
Resolves https://github.com/flutter/flutter/issues/147139.

Added an explanation inline for why we need to use different direction values depending on whether or not we're capping off the last component of the contour.

Before:
<img width="640" alt="Screenshot 2024-05-21 at 11 18 51 PM" src="https://github.com/flutter/engine/assets/919017/22d9fee7-834f-4cb4-8ed4-578a7c17f7a2">

<img width="121" alt="Screenshot 2024-05-21 at 11 19 35 PM" src="https://github.com/flutter/engine/assets/919017/419029b1-9a5f-4a30-bbb0-83dafc79f7df">

After:
<img width="640" alt="Screenshot 2024-05-21 at 11 17 25 PM" src="https://github.com/flutter/engine/assets/919017/629e30a5-d0c5-4b7a-a3e2-bf715aa4ba78">

<img width="115" alt="Screenshot 2024-05-21 at 11 16 38 PM" src="https://github.com/flutter/engine/assets/919017/12e51892-6009-47d0-a4e5-1f1b017c99e8">
2024-05-23 13:47:36 +00:00
Languages
Dart 75%
C++ 16.5%
Objective-C++ 2.9%
Java 2.8%
Objective-C 0.7%
Other 1.9%