Skip to content

Commit 9d2871c

Browse files
zcorpansvgeesus
authored andcommitted
Editorial: consistently link pre/post-multiply
1 parent 918d4b7 commit 9d2871c

1 file changed

Lines changed: 30 additions & 29 deletions

File tree

geometry/Overview.bs

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,7 +1482,7 @@ user agents.
14821482
<li><p>Let <var>otherObject</var> be the result of invoking <a>create a <code>DOMMatrix</code>
14831483
from the dictionary</a> <var>other</var>.
14841484

1485-
<li><p>The <var>otherObject</var> matrix gets post-multiplied to the current matrix.
1485+
<li><p>The <var>otherObject</var> matrix gets <a>post-multiplied</a> to the current matrix.
14861486

14871487
<li><p>If <a for=matrix>is 2D</a> of <var>otherObject</var> is <code>false</code>, set <a
14881488
for=matrix>is 2D</a> of the current matrix to <code>false</code>.
@@ -1496,7 +1496,7 @@ user agents.
14961496
<li><p>Let <var>otherObject</var> be the result of invoking <a>create a <code>DOMMatrix</code>
14971497
from the dictionary</a> <var>other</var>.
14981498

1499-
<li><p>The <var>otherObject</var> matrix gets pre-multiplied to the current matrix.
1499+
<li><p>The <var>otherObject</var> matrix gets <a>pre-multiplied</a> to the current matrix.
15001500

15011501
<li><p>If <a for=matrix>is 2D</a> of <var>otherObject</var> is <code>false</code>, set <a
15021502
for=matrix>is 2D</a> of the current matrix to <code>false</code>.
@@ -1507,9 +1507,10 @@ user agents.
15071507
<dt><dfn>translateSelf(<var>tx</var>, <var>ty</var>, <var>tz</var>)</dfn>
15081508
<dd>
15091509
<ol>
1510-
<li><p>Post-multiply a translation transformation on the current matrix. The 3D translation
1511-
matrix is <a href="https://drafts.csswg.org/css-transforms-1/#Translate3dDefined">described</a>
1512-
in CSS Transforms. [[!CSS3-TRANSFORMS]]
1510+
<li><p><a>Post-multiply</a> a translation transformation on the current matrix. The 3D
1511+
translation matrix is <a
1512+
href="https://drafts.csswg.org/css-transforms-1/#Translate3dDefined">described</a> in CSS
1513+
Transforms. [[!CSS3-TRANSFORMS]]
15131514

15141515
<li><p>If <var>tz</var> is specified and not ''0'', set <a for=matrix>is 2D</a> of the current
15151516
matrix to <code>false</code>.
@@ -1526,9 +1527,9 @@ user agents.
15261527

15271528
<li><p>If <var>scaleY</var> is missing, set <var>scaleY</var> to the value of <var>scaleX</var>.
15281529

1529-
<li><p>Post-multiply a non-uniform scale transformation on the current matrix. The 3D scale
1530-
matrix is <a href="https://drafts.csswg.org/css-transforms-1/#Scale3dDefined">described</a> in
1531-
CSS Transforms with <var>sx</var> = <var>scaleX</var>, <var>sy</var> = <var>scaleY</var> and
1530+
<li><p><a>Post-multiply</a> a non-uniform scale transformation on the current matrix. The 3D
1531+
scale matrix is <a href="https://drafts.csswg.org/css-transforms-1/#Scale3dDefined">described</a>
1532+
in CSS Transforms with <var>sx</var> = <var>scaleX</var>, <var>sy</var> = <var>scaleY</var> and
15321533
<var>sz</var> = <var>scaleZ</var>. [[!CSS3-TRANSFORMS]]
15331534

15341535
<li><p>Negate <var>originX</var>, <var>originY</var> and <var>originZ</var>.
@@ -1549,7 +1550,7 @@ user agents.
15491550
<li><p>Apply a {{DOMMatrix/translateSelf()}} transformation to the current matrix with the
15501551
arguments <var>originX</var>, <var>originY</var>, <var>originZ</var>.
15511552

1552-
<li><p>Post-multiply a uniform 3D scale transformation ({{DOMMatrixReadOnly/m11}} =
1553+
<li><p><a>Post-multiply</a> a uniform 3D scale transformation ({{DOMMatrixReadOnly/m11}} =
15531554
{{DOMMatrixReadOnly/m22}} = {{DOMMatrixReadOnly/m33}} = <var>scale</var>) on the current matrix.
15541555
The 3D scale matrix is <a
15551556
href="https://drafts.csswg.org/css-transforms-1/#Scale3dDefined">described</a> in CSS Transforms
@@ -1577,29 +1578,29 @@ user agents.
15771578
<li><p>If <var>rotX</var> or <var>rotY</var> are non-zero, set <a for=matrix>is 2D</a> of the
15781579
current matrix to <code>false</code>.
15791580

1580-
<li><p>Post-multiply a rotation transformation on the current matrix around the vector 0, 0, 1 by
1581-
the specified rotation <var>rotZ</var> in degrees. The 3D rotation matrix is <a
1582-
href="https://drafts.csswg.org/css-transforms-1/#Rotate3dDefined">described</a> in CSS
1583-
Transforms with <var>alpha</var> = <var>rotZ</var> in degrees. [[!CSS3-TRANSFORMS]]
1581+
<li><p><a>Post-multiply</a> a rotation transformation on the current matrix around the vector 0,
1582+
0, 1 by the specified rotation <var>rotZ</var> in degrees. The 3D rotation matrix is <a
1583+
href="https://drafts.csswg.org/css-transforms-1/#Rotate3dDefined">described</a> in CSS Transforms
1584+
with <var>alpha</var> = <var>rotZ</var> in degrees. [[!CSS3-TRANSFORMS]]
15841585

1585-
<li><p>Post-multiply a rotation transformation on the current matrix around the vector 0, 1, 0 by
1586-
the specified rotation <var>rotY</var> in degrees. The 3D rotation matrix is <a
1587-
href="https://drafts.csswg.org/css-transforms-1/#Rotate3dDefined">described</a> in CSS
1588-
Transforms with <var>alpha</var> = <var>rotY</var> in degrees. [[!CSS3-TRANSFORMS]]
1586+
<li><p><a>Post-multiply</a> a rotation transformation on the current matrix around the vector 0,
1587+
1, 0 by the specified rotation <var>rotY</var> in degrees. The 3D rotation matrix is <a
1588+
href="https://drafts.csswg.org/css-transforms-1/#Rotate3dDefined">described</a> in CSS Transforms
1589+
with <var>alpha</var> = <var>rotY</var> in degrees. [[!CSS3-TRANSFORMS]]
15891590

1590-
<li><p>Post-multiply a rotation transformation on the current matrix around the vector 1, 0, 0 by
1591-
the specified rotation <var>rotX</var> in degrees. The 3D rotation matrix is <a
1592-
href="https://drafts.csswg.org/css-transforms-1/#Rotate3dDefined">described</a> in CSS
1593-
Transforms with <var>alpha</var> = <var>rotX</var> in degrees. [[!CSS3-TRANSFORMS]]
1591+
<li><p><a>Post-multiply</a> a rotation transformation on the current matrix around the vector 1,
1592+
0, 0 by the specified rotation <var>rotX</var> in degrees. The 3D rotation matrix is <a
1593+
href="https://drafts.csswg.org/css-transforms-1/#Rotate3dDefined">described</a> in CSS Transforms
1594+
with <var>alpha</var> = <var>rotX</var> in degrees. [[!CSS3-TRANSFORMS]]
15941595

15951596
<li><p>Return the current matrix.
15961597
</ol>
15971598

15981599
<dt><dfn>rotateFromVectorSelf(<var>x</var>, <var>y</var>)</dfn>
15991600
<dd>
16001601
<ol>
1601-
<li><p>Post-multiply a rotation transformation on the current matrix. The rotation angle is
1602-
determined by the angle between the vector (1,0)<sup>T</sup> and
1602+
<li><p><a>Post-multiply</a> a rotation transformation on the current matrix. The rotation angle
1603+
is determined by the angle between the vector (1,0)<sup>T</sup> and
16031604
(<var>x</var>,<var>y</var>)<sup>T</sup> in the clockwise direction. If <var>x</var> and
16041605
<var>y</var> should both be zero, the angle is specified as zero. The 2D rotation matrix is <a
16051606
href="https://drafts.csswg.org/css-transforms-1/#RotateDefined">described</a> in CSS Transforms
@@ -1612,9 +1613,9 @@ user agents.
16121613
<dt><dfn>rotateAxisAngleSelf(<var>x</var>, <var>y</var>, <var>z</var>, <var>angle</var>)</dfn>
16131614
<dd>
16141615
<ol>
1615-
<li><p>Post-multiply a rotation transformation on the current matrix around the specified vector
1616-
<var>x</var>, <var>y</var>, <var>z</var> by the specified rotation <var>angle</var> in degrees.
1617-
The 3D rotation matrix is <a
1616+
<li><p><a>Post-multiply</a> a rotation transformation on the current matrix around the specified
1617+
vector <var>x</var>, <var>y</var>, <var>z</var> by the specified rotation <var>angle</var> in
1618+
degrees. The 3D rotation matrix is <a
16181619
href="https://drafts.csswg.org/css-transforms-1/#Rotate3dDefined">described</a> in CSS Transforms
16191620
with <var>alpha</var> = <var>angle</var> in degrees. [[!CSS3-TRANSFORMS]]
16201621

@@ -1627,7 +1628,7 @@ user agents.
16271628
<dt><dfn>skewXSelf(<var>sx</var>)</dfn>
16281629
<dd>
16291630
<ol>
1630-
<li><p>Post-multiply a skewX transformation on the current matrix by the specified angle
1631+
<li><p><a>Post-multiply</a> a skewX transformation on the current matrix by the specified angle
16311632
<var>sx</var> in degrees. The 2D skewX matrix is <a
16321633
href="https://drafts.csswg.org/css-transforms-1/#SkewXDefined">described</a> in CSS Transforms
16331634
with <var>alpha</var> = <var>sx</var> in degrees. [[!CSS3-TRANSFORMS]]
@@ -1638,7 +1639,7 @@ user agents.
16381639
<dt><dfn>skewYSelf(<var>sy</var>)</dfn>
16391640
<dd>
16401641
<ol>
1641-
<li><p>Post-multiply a skewX transformation on the current matrix by the specified angle
1642+
<li><p><a>Post-multiply</a> a skewX transformation on the current matrix by the specified angle
16421643
<var>sy</var> in degrees. The 2D skewY matrix is <a
16431644
href="https://drafts.csswg.org/css-transforms-1/#SkewYDefined">described</a> in CSS Transforms
16441645
with <var ignore>beta</var> = <var>sy</var> in degrees. [[!CSS3-TRANSFORMS]]
@@ -1682,7 +1683,7 @@ user agents.
16821683
href="https://drafts.csswg.org/css-transforms-1/#mathematical-description">Mathematical
16831684
Description of Transform Functions</a>”. [[!CSS3-TRANSFORMS]]
16841685

1685-
<li><p>Post-multiply all matrices from left to right to a combined 4x4 matrix.
1686+
<li><p><a>Post-multiply</a> all matrices from left to right to a combined 4x4 matrix.
16861687

16871688
<li><p>Set the {{DOMMatrixReadOnly/m11}} to {{DOMMatrixReadOnly/m44}} attributes to the element
16881689
values of the 4x4 matrix in column-major order.

0 commit comments

Comments
 (0)