Logo Search packages:      
Sourcecode: qt4-x11 version File versions

void QPainterPathStroker::setCurveThreshold ( qreal  threshold  ) 

Specifies the curve flattening threshold, controlling the granularity with which the generated outlines' curve is drawn.

The default threshold is a well adjusted value (0.25), and normally you should not need to modify it. However, you can make the curve's appearance smoother by decreasing its value.

Definition at line 2539 of file qpainterpath.cpp.

{
    d_func()->stroker.setCurveThreshold(qt_real_to_fixed(threshold));
}


Generated by  Doxygen 1.6.0   Back to index