convert_to_item_space


Description:

public void convert_to_item_space (CanvasItem item, ref double x, ref double y)

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.