Logo Search packages:      
Sourcecode: kdenlive version File versions  Download package

void BPoint::setH1 ( QPointF  handle1 )

Sets h1 to.

handle1.If handlesLinked is true h2 is updated.

Definition at line 65 of file bpoint.cpp.

References h1, h2, handlesLinked, and p.

Referenced by BezierSplineWidget::slotUpdatePointH1().

    h1 = handle1;
    if (handlesLinked) {
        qreal angle = QLineF(h1, p).angle();
        QLineF l = QLineF(p, h2);
        h2 = l.p2();

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index