Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

PinchArea scale in and scale out touch coordinates

$
0
0
Hi I am working on pinch area and i would like to know whether i scaled in or scaled out..i was able to scale in and scale out,bt i want to know wen i scale out the image,I am bit confused with that..i tried to do with pinch.startPoint1 and pinch.startPoint1 and pinch.point1 and pinch.point2 bt of no use and confused. Can anyone help me with this..? My requirement is based on scaling i need to set the camera zoom…so when scaled in i do like: zoomvalue = prevScale + pinch.scale *when scaled out i shud do like: zoomvalue = prevScale – pinch.scale* here i dont know when i am scaling out and i have to find out that Please help me with some valuable answers Thanks in Advance

Viewing all articles
Browse latest Browse all 4972

Latest Images

Trending Articles



Latest Images