svg2: Make SVGMatrix.skew{X,Y} throw an exception on bad values.

details:   https://svgwg.org/hg/svg2/rev/a5e74ac61071
branches:  
changeset: 418:a5e74ac61071
user:      Cameron McCormack <cam@mcc.id.au>
date:      Thu Jan 17 12:25:16 2013 +1100
description:
Make SVGMatrix.skew{X,Y} throw an exception on bad values.

diffstat:

 master/coords.html |  16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diffs (53 lines):

diff --git a/master/coords.html b/master/coords.html
--- a/master/coords.html
+++ b/master/coords.html
@@ -2347,16 +2347,25 @@ returns the resulting matrix.
 </ol>
 </dd>
 <dt class="returns-header">Returns</dt>
 <dd>
 <div> The resulting matrix.
 
 </div>
 </dd>
+
+<dt class="exceptions-header">Exceptions</dt>
+<dd>
+  <dl class="exceptions">
+    <dt class="exception first-child"><a>InvalidAccessError</a></dt>
+    <dd class="exception">Raised when (<var>angle</var> + 90) mod 180 = 0.</dd>
+  </dl>
+</dd>
+
 </dl>
 </dd>
 
 <dt id="__svg__SVGMatrix__skewY" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <b>skewY</b>(float <var>angle</var>)
 </dt>
 <dd class="operation">
 <div>
 Post-multiplies a skewY transformation on the current matrix and
@@ -2377,16 +2386,23 @@ returns the resulting matrix.
 </ol>
 </dd>
 <dt class="returns-header">Returns</dt>
 <dd>
 <div> The resulting matrix.
 
 </div>
 </dd>
+<dt class="exceptions-header">Exceptions</dt>
+<dd>
+  <dl class="exceptions">
+    <dt class="exception first-child"><a>InvalidAccessError</a></dt>
+    <dd class="exception">Raised when (<var>angle</var> + 90) mod 180 = 0.</dd>
+  </dl>
+</dd>
 </dl>
 </dd>
 </dl>
 </dd>
 </dl>
 
 
 <h3 id="InterfaceSVGTransform">Interface SVGTransform</h3>

Received on Thursday, 17 January 2013 01:26:29 UTC