leafer-ui icon indicating copy to clipboard operation
leafer-ui copied to clipboard

自定义编辑工具的onScaleWithDrag事件中获取到page 坐标不准确

Open leidao opened this issue 5 months ago • 6 comments

代码链接:https://cloudstudio.net/a/20803058263158784?channel=share&sharetype=URL 在实现自定义的Line的编辑功能时,画布如果有了缩放和平移,获取到的page坐标不准确,获取坐标方法在下图 image

请问我该怎么获取到画布缩放/平移后的准确的page坐标

leidao avatar Sep 06 '24 07:09 leidao