From 1ef79cd6e62fe48bd0ac18cdbad9f7ef350145b0 Mon Sep 17 00:00:00 2001 From: Juan Linietsky Date: Thu, 2 Apr 2015 16:52:34 -0300 Subject: [PATCH] Updated tutorial_canvas_transforms (markdown) --- tutorial_canvas_transforms.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tutorial_canvas_transforms.md b/tutorial_canvas_transforms.md index 1e276f3..94bcc1b 100644 --- a/tutorial_canvas_transforms.md +++ b/tutorial_canvas_transforms.md @@ -16,7 +16,9 @@ Viewports also have a Global Canvas transform (also a [Matrix32](class_matrix32) ### Stretch Transform -Finally, viewports have a _Stretch Transform_, which is used when resizing or stretching the screen. This transform is used internally by the [stretch modes](tutorial_multires), but can also be requested to the viewport. +Finally, viewports have a _Stretch Transform_, which is used when resizing or stretching the screen. This transform is used internally by the [stretch modes](tutorial_multires), but can also be requested to the viewport. + +Input events received in the [Node._input_event(ev)](class_node#_input_event) callback are multiplied by this transform, but lack the ones above. To convert InputEvent coordinates to local CanvasItem coordinates, the [CanvasItem.make_input_local(ev)](class_canvasitem#make_input_local) function was added for convenience. ### Transform Order