Skip to content

Fix the misplacement of rasterized object in DrawingArea in the vectorized backends #30171

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Mr-Milk
Copy link
Contributor

@Mr-Milk Mr-Milk commented Jun 13, 2025

PR summary

This PR is trying to fix a bug when rendering rasterized Artists in DrawingArea, they will be misplaced in the vectorized backend. closes #28549

The fix is done by enforcing correct DPI transformation during rasterization, specifically in the vectorized backends

There is no API change or documentation change associated with this PR.

PR checklist

@Mr-Milk Mr-Milk changed the title Enhance the renderer support of the DrawingArea class by adding DPI correction for rasterized content Fix the misplacement of rasterized object in DrawingArea in the vectorized backends Jun 13, 2025
@Mr-Milk Mr-Milk marked this pull request as ready for review June 13, 2025 12:40
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

Successfully merging this pull request may close these issues.

[Bug]: Rasterized Artists in DrawingArea will be misplaced in the vectorized backend
1 participant