12 Commits

Author SHA1 Message Date
Juho Ervasti
bb737f3cac Disallow negative buffer 2024-12-10 09:56:33 +10:00
JuhoErvasti
98d20ee479 Add tests for rendering with extent buffer 2024-12-10 09:56:33 +10:00
Nyall Dawson
3983c1f2a1 Some qt6 test mask updates 2024-01-22 12:54:32 +10:00
Nyall Dawson
e5eb082a81 Add API to set specific symbol to render for selected features in
a vector layer

If set, then that symbol will be used for selected features. Allows
eg selected lines to be rendered in a thicker line style vs
non-selected lines for improved visibility.
2023-07-29 18:36:11 +10:00
Nyall Dawson
8931268c74 Add API to set selected feature color for vector layers 2023-07-29 18:36:11 +10:00
Nyall Dawson
849819cd0d [api] Allow reference scale for vector layer renderer to be set
Gives a means of setting the reference scale for a vector layer
renderer, so that symbol sizes in the rendered layer will be
scaled accordingly depending on the actual scale of the
rendered map.
2021-06-29 07:33:35 +10:00
Nyall Dawson
828c16117b Add tests 2020-12-28 04:21:04 +10:00
Nyall Dawson
040dd56b80 Use direct QPainterPaths when clipping map renders using a QPainter based clip
Allows correct clipping to multipolygons, polygons with holes, etc
2020-07-03 15:24:32 +10:00
Nyall Dawson
5cbdc4c896 Ensure feature clipping occurs for render only, and doesn't affect
feature geometry when used in rule based renderers and other
geometry dependent rendering options
2020-07-02 12:07:51 +10:00
Nyall Dawson
0e67b65f8d Apply painter clip regions when rendering vector layers 2020-07-02 12:07:51 +10:00
Nyall Dawson
291dbe8cba Apply clipping regions with Intersect mode during vector layer rendering 2020-07-02 12:07:51 +10:00
Nyall Dawson
e4150b2354 Respect clipping intersects regions when rendering vector layers 2020-07-02 12:07:51 +10:00