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

DrawOperation inflates bounds by Pen Thickness (needs moving) #3907

Closed
danwalmsley opened this issue May 8, 2020 · 0 comments
Closed

DrawOperation inflates bounds by Pen Thickness (needs moving) #3907

danwalmsley opened this issue May 8, 2020 · 0 comments
Assignees

Comments

@danwalmsley
Copy link
Member

https://github.com/AvaloniaUI/Avalonia/blob/master/src/Avalonia.Visuals/Rendering/SceneGraph/DrawOperation.cs#L14

This inflate call assumes that pen thickness may not have already been taken into account, some of the operations like GeomeryNode let skia tell us the bounds and it seems this will be inflating them when it isnt necessary.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants