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

void QPainterPath::closeSubpath (  ) 

Closes the current subpath by drawing a line to the beginning of the subpath, automatically starting a new path. The current point of the new path is (0, 0).

If the subpath does not contain any elements, this function does nothing.

See also:
moveTo(), {QPainterPath::Composing a QPainterPath}{Composing a QPainterPath}

Definition at line 566 of file qpainterpath.cpp.

References isEmpty().

Referenced by addRoundRect(), QPainter::drawChord(), QPainter::drawConvexPolygon(), QPainter::drawPie(), QPainter::drawPolygon(), QCommonStyle::drawPrimitive(), QGraphicsView::items(), QGraphicsScene::items(), QGraphicsView::mouseMoveEvent(), and QGraphicsView::render().

#ifdef QPP_DEBUG
    if (isEmpty())


Generated by  Doxygen 1.6.0   Back to index