I believe it should have been return { x: (x - bbox.left) \* (canvas.width / bbox.width), y: (y - bbox.top) \* (canvas.height / bbox.height) }; instead of(missing brackets) return { x: x - bbox.left \* (canvas.width / bbox.width), y: y - bbox.top \* (canvas.height / bbox.height) }; in windowToCanvas method of example.js in example-1.5. Upendra
Activity
patentfox commentedon Sep 29, 2023
+1