I want to draw curves with padding(Rounding the corners). I searched but nothing found. Is there any information about this?
This is how to i draw curves in qwt:
    QwtPlotCurve *curve =  new QwtPlotCurve;
    curve->setPen(QColor(color),width);
    QPolygonF p;
    p<<QPointF(x1,x2)<<QPointF(x1,x2);
    curve->setSamples(p);
    curve->attach(this);
Thanks for help.
                        
Set special attribute:
Not fitted:
Fitted: