Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CP][Impeller] Fix stroke curves. (#52978) #53206

Merged

Conversation

jonahwilliams
Copy link
Member

Resolves flutter/flutter#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:
Screenshot 2024-05-21 at 11 18 51�PM

Screenshot 2024-05-21 at 11 19 35�PM

After:
Screenshot 2024-05-21 at 11 17 25�PM

Screenshot 2024-05-21 at 11 16 38�PM

Resolves flutter/flutter#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">
@jonahwilliams jonahwilliams changed the title [Impeller] Fix stroke curves. (#52978) [CP][Impeller] Fix stroke curves. (#52978) Jun 5, 2024
@flutter-dashboard
Copy link

Golden file changes have been found for this pull request. Click here to view and triage (e.g. because this is an intentional change).

If you are still iterating on this change and are not ready to resolve the images on the Flutter Gold dashboard, consider marking this PR as a draft pull request above. You will still be able to view image results on the dashboard, commenting will be silenced, and the check will not try to resolve itself until marked ready for review.

Changes reported for pull request #53206 at sha 9996159

Copy link
Member

@zanderso zanderso left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested by goldens

@itsjustkevin itsjustkevin added the autosubmit Merge PR when tree becomes green via auto submit App label Jul 1, 2024
@auto-submit auto-submit bot merged commit 93d1c74 into flutter:flutter-3.22-candidate.0 Jul 1, 2024
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App e: impeller will affect goldens
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants