12 Commits

Author SHA1 Message Date
Nyall Dawson
3474909739 Use QgsPropertys for interpolated line renderer start/end width/color
expressions instead of raw expressions

We can greatly simplify the code by doing so, as all the handling
of preparing and optimising QgsPropertys are done automatically
for symbol layers.
2021-09-21 14:02:58 +10:00
Nyall Dawson
9e68b4542b Interpolated line renderer: don't assume that a feature is available
Instead we should ALWAYS use the provided points for rendering symbol
layers, or the symbol layer will be broken in various circumstances
(e.g. when used outside of a vector layer)

Fixes #45028
2021-09-21 14:02:58 +10:00
Nyall Dawson
cc240e1ca2 Fix a bunch of clazy/clang warnings in interpolated line renderer 2021-09-21 14:02:58 +10:00
Nyall Dawson
cd2a17f779 Create Qgis::SymbolLayerFlags, add flag for symbol layers to prevent
feature clipping to map extent
2021-09-21 14:02:58 +10:00
vcloarec
843eebc6ec do not use hybrid symbol layer type 2021-05-05 09:03:13 +02:00
vcloarec
9a3ad85533 interpolated line symbol layer 2021-05-05 09:03:13 +02:00
Denis Rouzaud
ba8a445850 run sipify 2021-03-22 21:13:52 +01:00
Nyall Dawson
ae42850d08 Sipify 2020-06-11 13:29:59 +10:00
Nyall Dawson
c795ddb1e9 Updates 2020-06-11 13:29:59 +10:00
vcloarec
9fec5262b0 update SIP 2020-06-03 06:10:10 +10:00
vcloarec
aa6d23d540 disable transparency for QgsInterpolatedLineRenderer 2020-05-05 05:53:25 +10:00
Vincent Cloarec
f8fae3cf39
[FEATURE][MESH] 1D mesh width/color varying (#35926)
Introduce a renderer for 1D mesh edges that can vary width over the line. The line can also have different color based on the actual dataset value on the line's point.

Co-authored-by: Peter Petrik <zilolv@gmail.com>
2020-04-24 10:49:24 +02:00