Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-72630

Wrong value from BezierSpline QEasingCurve

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • None
    • 5.12.0
    • None
    • c54083ff933830a28f43551b9c3b132bfb11492d (qt/qtbase/5.15)

      QEasingCurve ease(QEasingCurve::BezierSpline);
      ease.addCubicBezierSegment(QPointF(0.167,0), QPointF(0.5,1), QPointF(1,1));
      qDebug() << ease.valueForProgress(1.0);

      Prints out 0 instead of the correct 1.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            vgt Eirik Aavitsland
            vgt Eirik Aavitsland
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There is 1 open Gerrit change