Everything is absolutely fine. The draw stroke and mouse cursor pointer position do not match when trying to draw something after zooming.
Dear Biplob,
Thank you for contacting us and your project.
I was indeed able to reproduce without any difficulty.
I keep you updated.
Best regards,
Olivier
when I am zooming, the mouse cursor pointer and the stroke drawing not matching.
You will see the problem in the attached picture.
I don't get any solution still. Can you please give me an example code of the solution please?
Hey Team,
Can you let us know the resolution for this? We are awaiting response as this is a crucial piece of our development.
Regards,
Shariq A
Dear Sansar,
the issue is tracked internally, but we cannot commit when it will be solved.
Meanwhile, as the source code of the iinkJS is provided, you can have a look and update it according to your needs: https://github.com/MyScript/iinkJS
Best regards,
Olivier
Biplob.asanibir
I tried to add zoom-in and zoom-out on websocket_math_iink demo.
But after increasing the height and width (zooming), the drawing strokes not correctly positioning.
You can find the problem try zooming and drawing something.
Here is my code.
video of the problem: https://clipchamp.com/watch/NhmjqMOKYWA
Live: https://bhnibir.github.io/IinkJs-zoom-problem/
Github: https://github.com/bhNibir/IinkJs-zoom-problem
How to solve this problem?