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

void QPainterPath::arcMoveTo ( const QRectF rectangle,
qreal  angle 

Creates a move to that lies on the arc that occupies the given rectangle at angle.

Angles are specified in degrees. Clockwise arcs can be specified using negative angles.

See also:
moveTo(), arcTo()

Definition at line 898 of file qpainterpath.cpp.

References QRectF::isNull(), and moveTo().

Referenced by addRoundedRect(), addRoundRect(), arcMoveTo(), QPainter::drawArc(), and QPainter::drawChord().

    if (rect.isNull())

    QPointF pt;
    qt_find_ellipse_coords(rect, angle, 0, &pt, 0);

Generated by  Doxygen 1.6.0   Back to index