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

QPainterPath QPainterPath::simplified (  )  const

Returns a simplified version of this path. This implies merging all subpaths that intersect, and returning a path containing no intersecting edges. Consecutive parallel lines will also be merged. The simplified path will always use the default fill rule, Qt::OddEvenFill.

Definition at line 3049 of file qpainterpath.cpp.

References isEmpty(), and QPainterPath().

        return *this;
    QPathClipper clipper(*this, QPainterPath());
    return clipper.clip(QPathClipper::Simplify);

Generated by  Doxygen 1.6.0   Back to index