I need to implement a kind of graphic editor, where the operator can add "templates" to a plant. I'm using a View Canvas and the operator is supposed to click on the Canvas where he wants the new template to be placed. In the mouse click events I can get the X/Y client/page/screen coordinates, but non of them let me know the coordinates relative to the top/left canvas corner. Is there any way to get those values? Or at least is there a way to know the x/y coordinates of the top/left canvas corner?
Thanks in advance, regards