@@ -709,7 +709,7 @@ void QgsArrowSymbolLayer::renderPolyline( const QPolygonF& points, QgsSymbolV2Re
709
709
QPointF pd ( points.back () );
710
710
711
711
QPolygonF poly = curvedArrow ( po, pm, pd, mScaledArrowStartWidth , mScaledArrowWidth , mScaledHeadLength , mScaledHeadThickness , mComputedHeadType , mComputedArrowType , mScaledOffset );
712
- mSymbol ->renderPolygon ( poly, /* rings */ nullptr , context.feature (), context.renderContext () );
712
+ mSymbol ->renderPolygon ( poly, /* rings */ nullptr , context.feature (), context.renderContext (), - 1 , context. selected () );
713
713
}
714
714
// straight arrow
715
715
else if ( points.size () == 2 )
@@ -720,7 +720,7 @@ void QgsArrowSymbolLayer::renderPolyline( const QPolygonF& points, QgsSymbolV2Re
720
720
QPointF pd ( points.at ( 1 ) );
721
721
722
722
QPolygonF poly = straightArrow ( po, pd, mScaledArrowStartWidth , mScaledArrowWidth , mScaledHeadLength , mScaledHeadThickness , mComputedHeadType , mComputedArrowType , mScaledOffset );
723
- mSymbol ->renderPolygon ( poly, /* rings */ nullptr , context.feature (), context.renderContext () );
723
+ mSymbol ->renderPolygon ( poly, /* rings */ nullptr , context.feature (), context.renderContext (), - 1 , context. selected () );
724
724
}
725
725
}
726
726
else
@@ -740,7 +740,7 @@ void QgsArrowSymbolLayer::renderPolyline( const QPolygonF& points, QgsSymbolV2Re
740
740
QPointF pd ( points.at ( pIdx + 2 ) );
741
741
742
742
QPolygonF poly = curvedArrow ( po, pm, pd, mScaledArrowStartWidth , mScaledArrowWidth , mScaledHeadLength , mScaledHeadThickness , mComputedHeadType , mComputedArrowType , mScaledOffset );
743
- mSymbol ->renderPolygon ( poly, /* rings */ nullptr , context.feature (), context.renderContext () );
743
+ mSymbol ->renderPolygon ( poly, /* rings */ nullptr , context.feature (), context.renderContext (), - 1 , context. selected () );
744
744
}
745
745
// straight arrow
746
746
else if ( points.size () - pIdx == 2 )
@@ -751,7 +751,7 @@ void QgsArrowSymbolLayer::renderPolyline( const QPolygonF& points, QgsSymbolV2Re
751
751
QPointF pd ( points.at ( pIdx + 1 ) );
752
752
753
753
QPolygonF poly = straightArrow ( po, pd, mScaledArrowStartWidth , mScaledArrowWidth , mScaledHeadLength , mScaledHeadThickness , mComputedHeadType , mComputedArrowType , mScaledOffset );
754
- mSymbol ->renderPolygon ( poly, /* rings */ nullptr , context.feature (), context.renderContext () );
754
+ mSymbol ->renderPolygon ( poly, /* rings */ nullptr , context.feature (), context.renderContext (), - 1 , context. selected () );
755
755
}
756
756
}
757
757
}
@@ -770,7 +770,7 @@ void QgsArrowSymbolLayer::renderPolyline( const QPolygonF& points, QgsSymbolV2Re
770
770
QPointF pd ( points.back () );
771
771
772
772
QPolygonF poly = straightArrow ( po, pd, mScaledArrowStartWidth , mScaledArrowWidth , mScaledHeadLength , mScaledHeadThickness , mComputedHeadType , mComputedArrowType , mScaledOffset );
773
- mSymbol ->renderPolygon ( poly, /* rings */ nullptr , context.feature (), context.renderContext () );
773
+ mSymbol ->renderPolygon ( poly, /* rings */ nullptr , context.feature (), context.renderContext (), - 1 , context. selected () );
774
774
}
775
775
}
776
776
else
@@ -787,7 +787,7 @@ void QgsArrowSymbolLayer::renderPolyline( const QPolygonF& points, QgsSymbolV2Re
787
787
QPointF pd ( points.at ( pIdx + 1 ) );
788
788
789
789
QPolygonF poly = straightArrow ( po, pd, mScaledArrowStartWidth , mScaledArrowWidth , mScaledHeadLength , mScaledHeadThickness , mComputedHeadType , mComputedArrowType , mScaledOffset );
790
- mSymbol ->renderPolygon ( poly, /* rings */ nullptr , context.feature (), context.renderContext () );
790
+ mSymbol ->renderPolygon ( poly, /* rings */ nullptr , context.feature (), context.renderContext (), - 1 , context. selected () );
791
791
}
792
792
}
793
793
}
0 commit comments