Skip to content

Commit

Permalink
Update sip binding
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere committed May 16, 2017
1 parent 8773638 commit e2ee153
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions python/core/symbology-ng/qgssymbollayerutils.sip
Original file line number Diff line number Diff line change
Expand Up @@ -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 );

Expand Down

0 comments on commit e2ee153

Please sign in to comment.