how can i get each co-ordinate as we drag stylus on screen and is their any way to store the co-odinate.
how can i get each co-ordinate as we drag stylus on screen and is their any way to store the co-odinate.
To capture drag there is EnableDragEvent() that you will have to call in constructL() and then in HandlePointerEventL() you will receive this event TPointerEvent::EDrag.
These events are only received after button 1 is down. Button1down will provide you with the initial position and EDrag will give you the next pointerposition and when you lift your stylus EButton1Up wil be called.
Regards,
Shafali
Thanks for replying.
I want each x and y coordinate of line from intial point to the point where i left it .
can u tell me any logic to store that point.like in array ,can we fetch each point on array?
you can create an RPointerArray<TPointerEvent> of this type and can store all the pointer position from EButton1Down -> EDrag -> EButton1Up in this order.
Regards,
Shafali