Hi,
I have just found the startX and startY properties of the TouchPoint in QML.
http://qt-project.org/doc/qt-5/qml-qtquick-touchpoint.html#startX-prop
Documentation says:
These properties hold the starting position of the touch point.
The problem is that when I write those values to the console they always come
as zero.
onTouchUpdated: {
for (var i=0;i<touchPoints.length; i++)
{
var touch = touchPoints[i];
console.log("x: " + touch.x + " start x: " + touch.startX +
" y: " + touch.y + " start y: " + touch.startY)
}
}
qml: x: 456.99609375 start x: 0 y: 169.99609375 start y: 0
Am I missing something or is this a bug?
Regards,
Nuno Santos_______________________________________________
Interest mailing list
[email protected]
http://lists.qt-project.org/mailman/listinfo/interest