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

void QPainterPathStroker::setWidth ( qreal  width  ) 

Sets the width of the generated outline painter path to width.

The generated outlines will extend approximately 50% of width to each side of the given input path's original outline.

Definition at line 2455 of file qpainterpath.cpp.

{
    Q_D(QPainterPathStroker);
    if (width <= 0)
        width = 1;
    d->stroker.setStrokeWidth(qt_real_to_fixed(width));
}


Generated by  Doxygen 1.6.0   Back to index