Changeset - 07facfed30c1
[Not reviewed]
Hasan Yavuz Ă–ZDERYA - 9 years ago 2016-09-07 16:06:26
hy@ozderya.net
enabled anti-aliasing
1 file changed with 4 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/plotmanager.cpp
Show inline comments
 
@@ -219,7 +219,10 @@ void PlotManager::_addCurve(QwtPlotCurve
 
    curves.append(curve);
 

	
 
    unsigned index = curves.size()-1;
 
    curve->setPen(Plot::makeColor(index));
 
    auto pen = QPen(Plot::makeColor(index));
 
    pen.setWidth(2);
 
    curve->setPen(pen);
 
    curve->setRenderHint(QwtPlotItem::RenderAntialiased);
 

	
 
    // create the plot for the curve if we are on multi display
 
    Plot* plot;
0 comments (0 inline, 0 general)