mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Ellipse marker support for color expressions (Fix #9114)
This commit is contained in:
parent
f665ddc81d
commit
c1d2798f47
@ -195,12 +195,12 @@ void QgsEllipseSymbolLayerV2::renderPoint( const QPointF& point, QgsSymbolV2Rend
|
||||
if ( fillColorExpression )
|
||||
{
|
||||
QString colorString = fillColorExpression->evaluate( const_cast<QgsFeature*>( context.feature() ) ).toString();
|
||||
mBrush.setColor( QColor( colorString ) );
|
||||
mBrush.setColor( QColor( QgsSymbolLayerV2Utils::decodeColor( colorString ) ) );
|
||||
}
|
||||
if ( outlineColorExpression )
|
||||
{
|
||||
QString colorString = outlineColorExpression->evaluate( const_cast<QgsFeature*>( context.feature() ) ).toString();
|
||||
mPen.setColor( QColor( colorString ) );
|
||||
mPen.setColor( QColor( QgsSymbolLayerV2Utils::decodeColor( colorString ) ) );
|
||||
}
|
||||
if ( widthExpression || heightExpression || symbolNameExpression )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user