From 2da2220da7dc02df776c2c3e222cd7286e489086 Mon Sep 17 00:00:00 2001
From: Markus Sauermann <6299227+Sauermann@users.noreply.github.com>
Date: Fri, 7 Oct 2022 12:17:10 +0200
Subject: Include the following-viewport-transform into CanvasLayer transforms
The following-viewport-transform was missing from several calculations
---
doc/classes/CanvasItem.xml | 6 +++---
doc/classes/CanvasLayer.xml | 6 ++++++
2 files changed, 9 insertions(+), 3 deletions(-)
(limited to 'doc')
diff --git a/doc/classes/CanvasItem.xml b/doc/classes/CanvasItem.xml
index d74f49c897..09efc06f50 100644
--- a/doc/classes/CanvasItem.xml
+++ b/doc/classes/CanvasItem.xml
@@ -404,7 +404,7 @@
- Returns the transform matrix of this item's canvas.
+ Returns the transform from the coordinate system of the canvas, this item is in, to the [Viewport]s coordinate system.
@@ -422,7 +422,7 @@
- Returns the global transform matrix of this item in relation to the canvas.
+ Returns the transform from the local coordinate system of this [CanvasItem] to the [Viewport]s coordinate system.
@@ -453,7 +453,7 @@
- Returns this item's transform in relation to the viewport.
+ Returns the transform from the coordinate system of the canvas, this item is in, to the [Viewport]s embedders coordinate system.
diff --git a/doc/classes/CanvasLayer.xml b/doc/classes/CanvasLayer.xml
index 50c0860d1f..777b3ed26c 100644
--- a/doc/classes/CanvasLayer.xml
+++ b/doc/classes/CanvasLayer.xml
@@ -18,6 +18,12 @@
Returns the RID of the canvas used by this layer.
+
+
+
+ Returns the transform from the [CanvasLayer]s coordinate system to the [Viewport]s coordinate system.
+
+
--
cgit v1.2.3