enthought / enthought/enable

kiva.agg backend doesn't scale line widths

Open
#390 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
97
Forks
45
PR merge metrics
No merged PRs in 30d

Description

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](https://github.com/enthought/enable/files/4208600/test.pdf)

![test](https://user-images.githubusercontent.com/600761/74589988-3eae7a00-5002-11ea-9ff8-e9574bf6a1b6.png)

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.