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

void QPainterPath::cubicTo ( qreal  c1X,
qreal  c1Y,
qreal  c2X,
qreal  c2Y,
qreal  endPointX,
qreal  endPointY 
) [inline]

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Adds a cubic Bezier curve between the current position and the end point ({endPointX}, {endPointY}) with control points specified by ({c1X}, {c1Y}) and ({c2X}, {c2Y}).

Definition at line 281 of file qpainterpath.h.

References cubicTo().

{
    cubicTo(QPointF(ctrlPt1x, ctrlPt1y), QPointF(ctrlPt2x, ctrlPt2y),
            QPointF(endPtx, endPty));
}


Generated by  Doxygen 1.6.0   Back to index