From b1a5fd657535b8870e00671687d08f1f61d7d654 Mon Sep 17 00:00:00 2001 From: mhugent Date: Fri, 22 Jan 2010 20:02:56 +0000 Subject: [PATCH] sync sip file for symbolv2rendercontext git-svn-id: http://svn.osgeo.org/qgis/trunk@12820 c8812cc2-4d05-0410-92ff-de0c093fc19c --- python/core/symbology-ng-core.sip | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/python/core/symbology-ng-core.sip b/python/core/symbology-ng-core.sip index 45ece6fa0400..e726f742aae5 100644 --- a/python/core/symbology-ng-core.sip +++ b/python/core/symbology-ng-core.sip @@ -453,7 +453,7 @@ class QgsSymbolV2RenderContext %End public: - QgsSymbolV2RenderContext( QgsRenderContext& c, QgsSymbolV2::OutputUnit u); + QgsSymbolV2RenderContext( QgsRenderContext& c, QgsSymbolV2::OutputUnit u , qreal alpha = 1.0 ); ~QgsSymbolV2RenderContext(); QgsRenderContext& renderContext(); @@ -462,6 +462,9 @@ class QgsSymbolV2RenderContext QgsSymbolV2::OutputUnit outputUnit() const; void setOutputUnit( QgsSymbolV2::OutputUnit u ); + qreal alpha() const; + void setAlpha( qreal alpha ); + double outputLineWidth(double width) const; double outputPixelSize(double size) const; };