Hello @all.
I have used the QwtPlotShapeItem with the following program code:
QwtShapteItem.jpgQColor color(225,46,28,58);
QPainterPath Path;
this->PaintCircle(&Path,5, QPointF(0,0));
QwtPlotShapeItem *Item = new QwtPlotShapeItem( "Shape Name" );
Item->setItemAttribute( QwtPlotItem::Legend, true );
Item->setRenderHint( QwtPlotItem::RenderAntialiased, true );
Item->setShape( Path );
Item->setPen( color );
Item->setBrush( color );
Item->attach( Plot );
With this code i get a shape like in the attached picture.
--> The shape filling differ from contour pen.
Can anybody help me to solve this problem?
Bookmarks