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

Fix artifacts when rendering filled line symbol (backport) #60578

Merged
merged 5 commits into from
Feb 14, 2025

Conversation

nyalldawson
Copy link
Collaborator

Manual backport of #60554

This overload avoids creating a QgsGeometry if we only have a
QgsAbstractGeometry pointer object to convert

(cherry picked from commit 97f6dc5)
These methods directly work with GEOS geometries and avoid the
forced conversions to/from QgsAbstractGeometry objects, and are
intended for use in chained operations where the intermediate conversions
are not required.

(cherry picked from commit ecf57ef)
Use geos to calculate the buffered line instead of Qt's path stroker,
as the later results in artifacts when line segments pass close
to other segments

Fixes qgis#59689

(cherry picked from commit f0110d6)
@nyalldawson nyalldawson added the Backport Is a backport of another pull request label Feb 13, 2025
@github-actions github-actions bot added this to the 3.40.4 milestone Feb 13, 2025
Copy link

github-actions bot commented Feb 13, 2025

🪟 Windows builds

Download Windows builds of this PR for testing.
Debug symbols for this build are available here.
(Built from commit 68143dc)

🪟 Windows Qt6 builds

Download Windows Qt6 builds of this PR for testing.
(Built from commit 68143dc)

@nyalldawson nyalldawson merged commit 18de3ad into qgis:release-3_40 Feb 14, 2025
32 checks passed
@nyalldawson nyalldawson deleted the backport_60554 branch February 14, 2025 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backport Is a backport of another pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants