Skip to content

Commit 8c61561

Browse files
author
mhugent
committedJan 22, 2010
sync sip file for symbolv2rendercontext
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@12820 c8812cc2-4d05-0410-92ff-de0c093fc19c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed
 

‎python/core/symbology-ng-core.sip

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ class QgsSymbolV2RenderContext
453453
%End
454454

455455
public:
456-
QgsSymbolV2RenderContext( QgsRenderContext& c, QgsSymbolV2::OutputUnit u);
456+
QgsSymbolV2RenderContext( QgsRenderContext& c, QgsSymbolV2::OutputUnit u , qreal alpha = 1.0 );
457457
~QgsSymbolV2RenderContext();
458458

459459
QgsRenderContext& renderContext();
@@ -462,6 +462,9 @@ class QgsSymbolV2RenderContext
462462
QgsSymbolV2::OutputUnit outputUnit() const;
463463
void setOutputUnit( QgsSymbolV2::OutputUnit u );
464464

465+
qreal alpha() const;
466+
void setAlpha( qreal alpha );
467+
465468
double outputLineWidth(double width) const;
466469
double outputPixelSize(double size) const;
467470
};

0 commit comments

Comments
 (0)
Please sign in to comment.