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

bool QPainterPath::contains ( const QPainterPath p  )  const

Since:
4.3
Returns true if the given path p is contained within the current path.

Definition at line 3022 of file qpainterpath.cpp.

References isEmpty().

{
    if (isEmpty() || p.isEmpty())
        return false;
    QPathClipper clipper(*this, p);
    return clipper.contains();
}


Generated by  Doxygen 1.6.0   Back to index