Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
4.7.1
-
None
-
7fd7454805ea091688339111e544cb70f7a24739
Description
For example, the following code returns QPoint(0, 0) for the start and the end point, but it really should return QPoint(100, 100).
#include <QPainterPath>
#include <QDebug>
int main()
{
QPainterPath path;
path.moveTo(100, 100);
path.cubicTo(100, 100, 100, 100, 100, 100);
qDebug() << path.pointAtPercent(0) << path.pointAtPercent(1);
}