-
Notifications
You must be signed in to change notification settings - Fork 711
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
Question: Are differences between UWP/WinUI and WPF path rendering expected? #3077
Labels
area-Shapes
bug
Something isn't working
product-winui3
WinUI 3 issues
team-Rendering
Issue for the Rendering team
Comments
@codendone fyi |
Looks like a bug. Path rendering should be the same between WPF and UWP. |
Correct, rendering should be the same, so this looks like a bug. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
area-Shapes
bug
Something isn't working
product-winui3
WinUI 3 issues
team-Rendering
Issue for the Rendering team
I'm currently working on an app with UIs for both UWP and WPF (long story) and would like to use
Path
s for vector icons.Based on my reading of path markup syntax doc the behavior should be the same as WPF.
In practice, I see very different results; of the vector icons I've tried, about half of them render properly and half don't.
Example:
Path:
M 8.023 1.023 l -8 4.5 8 4.5 8-4.5 z m -5.96 4.5 l 5.96 -3.352 5.96 3.352 -5.96 3.353 z m 13.96 3 l -8 4.5 -8 -4.5 1.02 -.573 6.98 3.926 6.98 -3.926 z m -8 6.353 l 6.98 -3.926 1.02 .573 -7.914 4.452 a .175 .175 0 0 1 -.171 0 L .023 11.523 l 1.02-.573 z
Is this a known limitation of UWP/WinUI or is it a bug?
Solution contains a working example demonstrating the same path on UWP, WInUI 3, and WPF:
PathRepro.zip
In my research I turned up the following issues, but I don't think they answer my question:
The text was updated successfully, but these errors were encountered: