W3C home > Mailing lists > Public > public-svg-wg@w3.org > January to March 2013

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

From: SVG Working Group repository <cam@mcc.id.au>
Date: Wed, 16 Jan 2013 17:26:05 -0800
Message-Id: <hg.a5e74ac61071.1358385965.3034738116371802840@ps58493.dreamhostps.com>
To: public-svg-wg@w3.org
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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:20:16 UTC