Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
[FEATURE] Add new variable @geometry_ring_num for data defined
styling when rendering polygon rings The variable is available whenever a polygon outline is being rendered (e.g. as a simple line, marker line, etc). It will be set to 0 for the exterior ring, and 1, 2, 3... for interior rings.
- Loading branch information
Showing
with
142 additions
and 2 deletions.
- +2 −0 python/core/auto_generated/qgsexpressioncontext.sip.in
- +1 −0 src/core/expression/qgsexpression.cpp
- +1 −0 src/core/qgsexpressioncontext.cpp
- +6 −0 src/core/qgsexpressioncontext.h
- +20 −0 src/core/symbology/qgslinesymbollayer.cpp
- +13 −0 src/core/symbology/qgssymbollayer.cpp
- +2 −0 src/gui/symbology/qgslayerpropertieswidget.cpp
- +2 −0 src/gui/symbology/qgssymbollayerwidget.cpp
- +1 −0 src/gui/symbology/qgssymbolslistwidget.cpp
- +67 −2 tests/src/python/test_qgsarrowsymbollayer.py
- +14 −0 tests/src/python/test_qgsmarkerlinesymbollayer.py
- +13 −0 tests/src/python/test_qgssimplelinesymbollayer.py
- BIN tests/testdata/control_images/symbol_arrow/expected_arrow_ring_num/expected_arrow_ring_num.png
- BIN ...ta/control_images/symbol_markerline/expected_markerline_ring_num/expected_markerline_ring_num.png
- BIN ...ta/control_images/symbol_simpleline/expected_simpleline_ring_num/expected_simpleline_ring_num.png
Binary file not shown.
Binary file not shown.
Binary file not shown.