Skip to content

Commit

Permalink
sync sip file for symbolv2rendercontext
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk@12820 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
mhugent committed Jan 22, 2010
1 parent af0f565 commit b1a5fd6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion python/core/symbology-ng-core.sip
Expand Up @@ -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();
Expand All @@ -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;
};
Expand Down

0 comments on commit b1a5fd6

Please sign in to comment.