-
Notifications
You must be signed in to change notification settings - Fork 44
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
kiva.agg backend doesn't scale line widths #390
Comments
I think I might know how to fix this in If this can be fixed, then the solution will involve wrapping the |
OK. I've fixed this in enable/kiva/agg/src/kiva_compiled_path.h Lines 29 to 42 in 8bc13b1
Basically what's going on in |
This also affects HiDPI mode with the agg backend: lines are half the width they should be with the agg backend. |
|
When rendering with the QPainter backend, or other backends like the PDF backend, scaling is applied to rendered lines, so they get wider (seed the PDF below, which the rectangle has been scaled by (2, 1) vs. the same image rendered with the agg backend.
test.pdf
This inconsistency will possibly create problems as appearance may be different on different backends, or may be problematic when trying to save a report including a Chaco plot or similar.
The text was updated successfully, but these errors were encountered: