You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- symbolsForFeature( QgsFeature& feat ) has been removed. The symbolsForFeature( QgsFeature& feat, QgsRenderContext& context ) method should be used instead (previously available as symbolsForFeature2 in PyQGIS bindings).
958
1002
- originalSymbolsForFeature( QgsFeature& feat ) has been removed. The originalSymbolsForFeature( QgsFeature& feat, QgsRenderContext& context ) method should be used instead (previously available as originalSymbolsForFeature2 in PyQGIS bindings).
959
1003
- copyPaintEffect() was removed. copyRendererData() should be used instead.
1004
+
- usedAttributes() now requires a QgsRenderContext argument.
- ct is now a QgsCoordinateTransform object, not a pointer. An invalid QgsCoordinateTransform will
1407
1453
be used instead of a null pointer if no transformation is required.
1408
1454
- prepareGeometry() and geometryRequiresPreparation() now take a QgsCoordinateTransform reference, not a pointer. An invalid QgsCoordinateTransform should be used instead of a null pointer if no transformation is required.
1455
+
- The DataDefinedProperties enum was renamed to Property
@@ -1678,17 +1731,26 @@ parameters or QgsSymbol::OutputUnitList parameters now take QgsUnitTypes::Render
1678
1731
data defined rotation.
1679
1732
- setRenderHints() and renderHints() now accept and return a QgsSymbol::RenderHints flag rather
1680
1733
than an integer value
1734
+
- usedAttributes() now requires a QgsRenderContext argument.
1735
+
- setDataDefinedAngle(), dataDefinedAngle(), setDataDefinedSize(), dataDefinedSize(), setDataDefinedWidth() and dataDefinedWidth()
1736
+
now work with QgsProperty objects instead of QgsDataDefined.
1681
1737
1682
1738
1683
1739
QgsSymbolLayer (renamed from QgsSymbolLayerV2) {#qgis_api_break_3_0_QgsSymbolLayer}
1684
1740
----------------------------------------------
1685
1741
1686
1742
- The deprecated prepareExpressions( const QgsFields* fields, double scale = -1.0 ) method has been removed. Use
1687
1743
the variant which takes QgsSymbolRenderContext instead.
1688
-
- The deprecated methods dataDefinedProperty( const QString& property ) and dataDefinedPropertyString() were removed. Use getDataDefinedProperty() instead.
1689
-
- setDataDefinedProperty( const QString& property, const QString& expressionString ) was removed. Use setDataDefinedProperty( const QString& property, QgsDataDefined* dataDefined ) instead.
1690
-
- evaluateDataDefinedProperty( const QString& property, const QgsFeature* feature ) was removed. Use the variant which takes QgsSymbolRenderContext instead.
1691
-
- expression() was removed. Use getDataDefinedProperty or evaluateDataDefinedProperty instead.
1744
+
- The deprecated methods dataDefinedProperty( const QString& property ) and dataDefinedPropertyString() were removed. Use dataDefinedProperties() instead.
1745
+
- setDataDefinedProperty now requires a QgsSymbolLayer.Property argument instead of the string based key.
0 commit comments