convert_to_item_space
Description:
Converts a coordinate from the canvas coordinate space to the given item's coordinate space, applying all transformation matrices including the item's own transformation matrix, if it has one.
Parameters:
this |
a Canvas. |
item |
a CanvasItem. |
x |
a pointer to the x coordinate to convert. |
y |
a pointer to the y coordinate to convert. |