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

int QPainterPath::elementCount (  )  const [inline]

Returns the number of path elements in the painter path.

See also:
ElementType, elementAt(), isEmpty()

Definition at line 337 of file qpainterpath.h.

Referenced by QPainter::drawPath(), elementAt(), QTransform::map(), QMatrix::map(), quadTo(), QPainter::setClipPath(), setElementPositionAt(), and toSubpathPolygons().

    return d_ptr ? d_ptr->elements.size() : 0;

Generated by  Doxygen 1.6.0   Back to index