Skip to content
Permalink
Browse files

Update sip binding

  • Loading branch information
pblottiere committed May 16, 2017
1 parent 8773638 commit e2ee1534ed662b923cd24da7a38d93ec8a8a639f
Showing with 8 additions and 0 deletions.
  1. +8 −0 python/core/symbology-ng/qgssymbollayerutils.sip
@@ -90,6 +90,14 @@ class QgsSymbolLayerUtils
*/
static QgsUnitTypes::RenderUnit decodeSldUom( const QString &str, double *scaleFactor );

/** Returns the size scaled in pixels according to the uom attribute.
* \param uom The uom attribute from SLD 1.1 version
* \param size The original size
* \returns the size in pixels
* \since QGIS 3.0
*/
static double sizeInPixelsFromSldUom( const QString &uom, double size );

static QString encodeScaleMethod( QgsSymbol::ScaleMethod scaleMethod );
static QgsSymbol::ScaleMethod decodeScaleMethod( const QString &str );

0 comments on commit e2ee153

Please sign in to comment.