From 595d34082784e97ecdf8d4f646a8509103cfd6a6 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Fri, 29 Mar 2019 16:20:29 -0400 Subject: [PATCH 1/3] Add multiplied-out coordinates for canvas transforms Closes https://www.w3.org/Bugs/Public/show_bug.cgi?id=28333. --- source | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) diff --git a/source b/source index 3eca50aa5e6..f8af61a5fc5 100644 --- a/source +++ b/source @@ -56,7 +56,7 @@ .applies td { text-align: center; } .matrix, .matrix td { border: hidden; text-align: right; } - .matrix { margin-left: 2em; } + .matrix, .equations { margin-left: 2em; } .vertical-summary-table tr > th[rowspan="2"]:first-child + th, .vertical-summary-table tr > td[rowspan="2"]:first-child + td { border-bottom: hidden; } @@ -62716,6 +62716,37 @@ try { +
+

Given a matrix of the form created by the transform() and setTransform() methods, i.e.

+ + + + + + + + + + + + + + + + + +
ace
bdf
001
+ +

the resulting transformed coordinates after transform matrix multiplication will be

+ +

+ xnew = a x + c y
+ ynew = b x + d y +

+
+
Image sources for 2D rendering contexts
From 206d65a168e9eed77f4b436633db41fc10d9dfe4 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Fri, 5 Apr 2019 11:02:47 -0400 Subject: [PATCH 2/3] comma --- source | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source b/source index f8af61a5fc5..5a70052b245 100644 --- a/source +++ b/source @@ -62719,7 +62719,7 @@ try {

Given a matrix of the form created by the transform() and setTransform() methods, i.e.

+ data-x="dom-context-2d-setTransform">setTransform() methods, i.e.,

From fb116affa8f6697c632a591d3995255dc47533a1 Mon Sep 17 00:00:00 2001 From: Domenic Denicola Date: Fri, 5 Apr 2019 11:15:39 -0400 Subject: [PATCH 3/3] e and f are translations --- source | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source b/source index 5a70052b245..07a0bec2cf0 100644 --- a/source +++ b/source @@ -62742,8 +62742,8 @@ try {

the resulting transformed coordinates after transform matrix multiplication will be

- xnew = a x + c y
- ynew = b x + d y + xnew = a x + c y + e
+ ynew = b x + d y + f