- From: SVG Working Group repository <cam+svgwgrepo@mcc.id.au>
- Date: Thu, 22 May 2014 10:06:29 -0700
- To: public-svg-wg@w3.org
details: https://svgwg.org/hg/svg2/rev/8ac8ae90d60c branches: changeset: 673:8ac8ae90d60c user: Dirk Schulze <dschulze@adobe.com> date: Thu May 22 19:03:10 2014 +0200 description: All appearance of SVGPoint were replaced by DOMPoint or DOMPointReadOnly diffstat: master/changes.html | 2 + master/coords.html | 143 ++++++------------------------------------------ master/definitions.xml | 4 +- master/idlindex.html | 2 + master/painting.html | 14 ++-- master/paths.html | 4 +- master/script.html | 12 ++-- master/struct.html | 18 +++--- master/text.html | 14 ++-- master/types.html | 16 ++-- 10 files changed, 65 insertions(+), 164 deletions(-) diffs (966 lines): diff --git a/master/changes.html b/master/changes.html --- a/master/changes.html +++ b/master/changes.html @@ -61,16 +61,18 @@ have been made.</p> <h3 id="rendering">Rendering Model chapter</h3> <ul> <li>Update rendering model to refer to <a href="http://www.w3.org/TR/compositing/">Compositing and Blending Specification</a>.</li> </ul> <h3 id="types">Basic Data Types and Interfaces chapter</h3> <ul> + <li>All appearance of <a>SVGPoint</a> were replaced by <a>DOMPoint</a> or <a>DOMPointReadOnly</a>.</li> + <li>Removed the SVGStylable and SVGLangSpace interfaces and moved all of their members on to <a>SVGElement</a>.</li> <li>Turned SVGLocatable and SVGTransformable into <a>SVGGraphicsElement</a>, which directly inherits from <a>SVGElement</a>.</li> <li>Added an <a>SVGGraphicsElement</a> interface.</li> <li>Added an <a>SVGGeometryElement</a> interface with isPointInFill and isPointInStroke methods.</li> diff --git a/master/coords.html b/master/coords.html --- a/master/coords.html +++ b/master/coords.html @@ -1700,146 +1700,41 @@ document have had the supplied transform <p>The third example defines the coordinate system completely within the SVG document.</p> <edit:example href="images/coords/geocoord3.svg" link="no" image="no"/> <h2 id="DOMInterfaces">DOM interfaces</h2> -<h3 id="InterfaceSVGPoint">Interface SVGPoint</h3> - -<p>Many of the SVG DOM interfaces refer to objects of class -<a>SVGPoint</a>. An <a>SVGPoint</a> is an (x, y) coordinate pair. When -used in matrix operations, an <a>SVGPoint</a> is treated as a vector of -the form: -</p> - -<pre> -[x] -[y] -[1]</pre> - -<p>If an <a>SVGPoint</a> object is designated as <em>read only</em>, -then attempting to assign to one of its attributes will result in -an exception being thrown.</p> - -<pre class="idl">[<a href="#__svg__SVGPoint__constructor">Constructor</a>, - <a href="#__svg__SVGPoint__constructor1">Constructor</a>(float x, float y)] -interface <b>SVGPoint</b> { - - attribute float <a href="coords.html#__svg__SVGPoint__x">x</a>; - attribute float <a href="coords.html#__svg__SVGPoint__y">y</a>; - - <a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <a href="coords.html#__svg__SVGPoint__matrixTransform">matrixTransform</a>(<a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> matrix); -};</pre> - -<dl class="interface"> - <dt class="operations-header">Constructors:</dt> - <dd> - <dl class="attributes"> - <dt id="__svg__SVGPoint__constructor" class="operation first-child"><b>SVGPoint</b>()</dt> - <dd class="operation"> - <div>Creates a new <a>SVGPoint</a> object with its x and y attributes set to 0.</div> - </dd> - <dt id="__svg__SVGPoint__constructor1" class="operation first-child"><b>SVGPoint</b>(float x, float y)</dt> - <dd class="operation"> - <div>Creates a new <a>SVGPoint</a> object with its x and y attributes set to <var>x</var> and <var>y</var>, respectively.</div> - </dd> - </dl> - </dd> - <dt class="attributes-header">Attributes:</dt> - <dd> - <dl class="attributes"> - <dt id="__svg__SVGPoint__x" class="attribute first-child"><b>x</b><span class="idl-type-parenthetical"> (float)</span></dt> - <dd class="attribute"> - <div>The x coordinate.</div> - <dl class="attribute"> - <dt class="exceptions-header">Exceptions on setting</dt> - <dd> - <dl class="exceptions"> - <dt class="exception"><a class="idlinterface" href="http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-17189187">DOMException</a>, code NO_MODIFICATION_ALLOWED_ERR</dt> - <dd class="exception">Raised if the <a>SVGPoint</a> object is read only.</dd> - </dl> - </dd> - </dl> - </dd> - - <dt id="__svg__SVGPoint__y" class="attribute"><b>y</b><span class="idl-type-parenthetical"> (float)</span></dt> - <dd class="attribute"> - <div>The y coordinate.</div> - <dl class="attribute"> - <dt class="exceptions-header">Exceptions on setting</dt> - <dd> - <dl class="exceptions"> - <dt class="exception"><a class="idlinterface" href="http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-17189187">DOMException</a>, code NO_MODIFICATION_ALLOWED_ERR</dt> - <dd class="exception">Raised if the <a>SVGPoint</a> object is read only.</dd> - </dl> - </dd> - </dl> - </dd> - </dl> - </dd> - - <dt class="operations-header">Operations:</dt> - <dd> - <dl class="attributes"> - <dt id="__svg__SVGPoint__matrixTransform" class="operation first-child"><a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <b>matrixTransform</b>(<a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <var>matrix</var>)</dt> - <dd class="operation"> - <div> - <p>Applies a 2x3 matrix transformation on this <a>SVGPoint</a> object and - returns a new, transformed <a>SVGPoint</a> object:</p> - <pre>newpoint = matrix * thispoint</pre> - </div> - <dl class="operation"> - <dt class="parameters-header">Parameters</dt> - <dd> - <ol class="parameters"> - <li class="parameter first-child"> - <div><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <var>matrix</var></div> - <div>The matrix which is to be applied to this <a>SVGPoint</a> object.</div> - </li> - </ol> - </dd> - <dt class="returns-header">Returns</dt> - <dd> - <div>A new <a>SVGPoint</a> object.</div> - </dd> - </dl> - </dd> - </dl> - </dd> -</dl> - - <h3 id="InterfaceSVGPointList">Interface SVGPointList</h3> -<p>This interface defines a list of SVGPoint objects.</p> +<p>This interface defines a list of DOMPoint objects.</p> <p><a>SVGPointList</a> has the same attributes and methods as other SVGxxxList interfaces. Implementers may consider using a single base class to implement the various SVGxxxList interfaces.</p> <p>The <a href='http://dev.w3.org/2006/webapi/WebIDL/#dfn-supported-property-indices'>supported property indices</a> of an <a>SVGPointList</a> object is all non-negative integers less than the length of the list.</p> <pre class="idl">interface <b>SVGPointList</b> { readonly attribute unsigned long <a href="coords.html#__svg__SVGPointList__length">length</a>; readonly attribute unsigned long <a href="coords.html#__svg__SVGPointList__numberOfItems">numberOfItems</a>; void <a href="coords.html#__svg__SVGPointList__clear">clear</a>(); - <a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <a href="coords.html#__svg__SVGPointList__initialize">initialize</a>(<a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> newItem); - getter <a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <a href="coords.html#__svg__SVGPointList__getItem">getItem</a>(unsigned long index); - <a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <a href="coords.html#__svg__SVGPointList__insertItemBefore">insertItemBefore</a>(<a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> newItem, unsigned long index); - <a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <a href="coords.html#__svg__SVGPointList__replaceItem">replaceItem</a>(<a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> newItem, unsigned long index); - <a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <a href="coords.html#__svg__SVGPointList__removeItem">removeItem</a>(unsigned long index); - <a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <a href="coords.html#__svg__SVGPointList__appendItem">appendItem</a>(<a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> newItem); - <a href="#__svg__SVGPointList__setter">setter</a> void (unsigned long index, <a>SVGPoint</a> newItem); + <a>DOMPoint</a> <a href="coords.html#__svg__SVGPointList__initialize">initialize</a>(<a>DOMPoint</a> newItem); + getter <a>DOMPoint</a> <a href="coords.html#__svg__SVGPointList__getItem">getItem</a>(unsigned long index); + <a>DOMPoint</a> <a href="coords.html#__svg__SVGPointList__insertItemBefore">insertItemBefore</a>(<a>DOMPoint</a> newItem, unsigned long index); + <a>DOMPoint</a> <a href="coords.html#__svg__SVGPointList__replaceItem">replaceItem</a>(<a>DOMPoint</a> newItem, unsigned long index); + <a>DOMPoint</a> <a href="coords.html#__svg__SVGPointList__removeItem">removeItem</a>(unsigned long index); + <a>DOMPoint</a> <a href="coords.html#__svg__SVGPointList__appendItem">appendItem</a>(<a>DOMPoint</a> newItem); + <a href="#__svg__SVGPointList__setter">setter</a> void (unsigned long index, <a>DOMPoint</a> newItem); };</pre> <dl class="interface"> <dt class="attributes-header">Attributes:</dt> <dd> <dl class="attributes"> <dt id="__svg__SVGPointList__length" class="attribute first-child"><b>length</b><span class="idl-type-parenthetical"> (readonly unsigned long)</span></dt> @@ -1878,34 +1773,34 @@ an empty list. cannot be modified. </dd> </dl> </dd> </dl> </dd> -<dt id="__svg__SVGPointList__initialize" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <b>initialize</b>(<a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <var>newItem</var>) +<dt id="__svg__SVGPointList__initialize" class="operation"><a>DOMPoint</a> <b>initialize</b>(<a>DOMPoint</a> <var>newItem</var>) </dt> <dd class="operation"> <div> Clears all existing current items from the list and re-initializes the list to hold the single item specified by the parameter. If the inserted item is already in a list, it is removed from its previous list before it is inserted into this list. The inserted item is the item itself and not a copy. </div> <dl class="operation"> <dt class="parameters-header">Parameters</dt> <dd> <ol class="parameters"> <li class="parameter first-child"> -<div><a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <var>newItem</var></div> +<div><a>DOMPoint</a> <var>newItem</var></div> <div> The item which should become the only member of the list. </div> </li> </ol> </dd> <dt class="returns-header">Returns</dt> <dd> @@ -1923,17 +1818,17 @@ not a copy. cannot be modified. </dd> </dl> </dd> </dl> </dd> -<dt id="__svg__SVGPointList__getItem" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <b>getItem</b>(unsigned long <var>index</var>) +<dt id="__svg__SVGPointList__getItem" class="operation"><a>DOMPoint</a> <b>getItem</b>(unsigned long <var>index</var>) </dt> <dd class="operation"> <div> Returns the specified item from the list. The returned item is the item itself and not a copy. Any changes made to the item are immediately reflected in the list. @@ -1967,17 +1862,17 @@ returned. The first item is number 0. greater than or equal to <a>numberOfItems</a>. </dd> </dl> </dd> </dl> </dd> -<dt id="__svg__SVGPointList__insertItemBefore" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <b>insertItemBefore</b>(<a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <var>newItem</var>, unsigned long <var>index</var>) +<dt id="__svg__SVGPointList__insertItemBefore" class="operation"><a>DOMPoint</a> <b>insertItemBefore</b>(<a>DOMPoint</a> <var>newItem</var>, unsigned long <var>index</var>) </dt> <dd class="operation"> <div> Inserts a new item into the list at the specified position. The first item is number 0. If <var>newItem</var> is already in a list, it is removed from its previous list before it is inserted into this list. The inserted item is the item itself and not a copy. If the item is already in this list, note that the index of the item to insert @@ -1985,17 +1880,17 @@ before is <i>before</i> the removal of t </div> <dl class="operation"> <dt class="parameters-header">Parameters</dt> <dd> <ol class="parameters"> <li class="parameter first-child"> -<div><a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <var>newItem</var></div> +<div><a>DOMPoint</a> <var>newItem</var></div> <div> The item which is to be inserted into the list. </div> </li> <li class="parameter"> <div>unsigned long <var>index</var></div> <div> The index of the item before which the new item is to be inserted. The first item is number 0. If the index is equal to 0, @@ -2023,17 +1918,17 @@ appended to the end of the list. cannot be modified. </dd> </dl> </dd> </dl> </dd> -<dt id="__svg__SVGPointList__replaceItem" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <b>replaceItem</b>(<a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <var>newItem</var>, unsigned long <var>index</var>) +<dt id="__svg__SVGPointList__replaceItem" class="operation"><a>DOMPoint</a> <b>replaceItem</b>(<a>DOMPoint</a> <var>newItem</var>, unsigned long <var>index</var>) </dt> <dd class="operation"> <div> Replaces an existing item in the list with a new item. If <var>newItem</var> is already in a list, it is removed from its previous list before it is inserted into this list. The inserted item is the item itself and not a copy. If the item is already in this list, note that the index of the item to replace is <i>before</i> @@ -2041,17 +1936,17 @@ the removal of the item. </div> <dl class="operation"> <dt class="parameters-header">Parameters</dt> <dd> <ol class="parameters"> <li class="parameter first-child"> -<div><a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <var>newItem</var></div> +<div><a>DOMPoint</a> <var>newItem</var></div> <div> The item which is to be inserted into the list. </div> </li> <li class="parameter"> <div>unsigned long <var>index</var></div> <div> The index of the item which is to be replaced. The first item is number 0. @@ -2083,17 +1978,17 @@ cannot be modified. greater than or equal to <a>numberOfItems</a>. </dd> </dl> </dd> </dl> </dd> -<dt id="__svg__SVGPointList__removeItem" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <b>removeItem</b>(unsigned long <var>index</var>) +<dt id="__svg__SVGPointList__removeItem" class="operation"><a>DOMPoint</a> <b>removeItem</b>(unsigned long <var>index</var>) </dt> <dd class="operation"> <div> Removes an existing item from the list. </div> <dl class="operation"> @@ -2132,33 +2027,33 @@ cannot be modified. greater than or equal to <a>numberOfItems</a>. </dd> </dl> </dd> </dl> </dd> -<dt id="__svg__SVGPointList__appendItem" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <b>appendItem</b>(<a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <var>newItem</var>) +<dt id="__svg__SVGPointList__appendItem" class="operation"><a>DOMPoint</a> <b>appendItem</b>(<a>DOMPoint</a> <var>newItem</var>) </dt> <dd class="operation"> <div> Inserts a new item at the end of the list. If <var>newItem</var> is already in a list, it is removed from its previous list before it is inserted into this list. The inserted item is the item itself and not a copy. </div> <dl class="operation"> <dt class="parameters-header">Parameters</dt> <dd> <ol class="parameters"> <li class="parameter first-child"> -<div><a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <var>newItem</var></div> +<div><a>DOMPoint</a> <var>newItem</var></div> <div> The item which is to be inserted. The first item is number 0. </div> </li> </ol> </dd> <dt class="returns-header">Returns</dt> @@ -2176,17 +2071,17 @@ number 0. <dd class="exception"> Raised when the list cannot be modified. </dd> </dl> </dd> </dl> </dd> -<dt id="__svg__SVGPointList__setter" class="operation"><b>setter</b> void (unsigned long <var>index</var>, <a>SVGPoint</a> <var>newItem</var>)</dt> +<dt id="__svg__SVGPointList__setter" class="operation"><b>setter</b> void (unsigned long <var>index</var>, <a>DOMPoint</a> <var>newItem</var>)</dt> <dd class="operation"><div>Replaces the item at index <var>index</var> with <var>newItem</var>.</div></dd> </dl> </dd> </dl> <h3 id="InterfaceSVGMatrix">Interface SVGMatrix</h3> diff --git a/master/definitions.xml b/master/definitions.xml --- a/master/definitions.xml +++ b/master/definitions.xml @@ -1092,17 +1092,19 @@ <interface name='SVGGeometryElement' href='types.html#InterfaceSVGGeometryElement'/> <interface name='SVGTests' href='types.html#InterfaceSVGTests'/> <interface name='SVGURIReference' href='types.html#InterfaceSVGURIReference'/> <interface name='SVGCSSRule' href='types.html#InterfaceSVGCSSRule'/> <interface name='SVGRenderingIntent' href='types.html#InterfaceSVGRenderingIntent'/> <interface name='SVGAnimatedBoolean' href='types.html#InterfaceSVGAnimatedBoolean'/> <interface name='SVGUnitTypes' href='types.html#InterfaceSVGUnitTypes'/> <interface name='SVGStyleElement' href='styling.html#InterfaceSVGStyleElement'/> - <interface name='SVGPoint' href='coords.html#InterfaceSVGPoint'/> + <interface name='SVGPoint' href='http://www.w3.org/TR/2014/WD-geometry-1-20140522/#dom-dompoint'/> + <interface name='DOMPoint' href='http://www.w3.org/TR/2014/WD-geometry-1-20140522/#dom-dompoint'/> + <interface name='DOMPointReadOnly' href='http://www.w3.org/TR/2014/WD-geometry-1-20140522/#dom-dompointreadonly'/> <interface name='SVGPointList' href='coords.html#InterfaceSVGPointList'/> <interface name='SVGPreserveAspectRatio' href='coords.html#InterfaceSVGPreserveAspectRatio'/> <interface name='SVGAnimatedPreserveAspectRatio' href='coords.html#InterfaceSVGAnimatedPreserveAspectRatio'/> <interface name='SVGPathSeg' href='paths.html#InterfaceSVGPathSeg'/> <interface name="SVGPathSegClosePath" href="paths.html#InterfaceSVGPathSegClosePath"/> <interface name="SVGPathSegMovetoAbs" href="paths.html#InterfaceSVGPathSegMovetoAbs"/> <interface name="SVGPathSegMovetoRel" href="paths.html#InterfaceSVGPathSegMovetoRel"/> <interface name="SVGPathSegLinetoAbs" href="paths.html#InterfaceSVGPathSegLinetoAbs"/> diff --git a/master/idlindex.html b/master/idlindex.html --- a/master/idlindex.html +++ b/master/idlindex.html @@ -13,16 +13,18 @@ <p class="normativity"><em>This appendix is informative, not normative.</em></p> <p>The following is a list of all IDL interfaces defined in this specification:</p> <!-- It would be nice to automatically generate this. --> <ul> + <li><a>DOMPoint</a></li> + <li><a>DOMPointReadOnly</a></li> <li><a>GetSVGDocument</a></li> <li><a>SVGAElement</a></li> <li><a>SVGAltGlyphDefElement</a></li> <li><a>SVGAltGlyphElement</a></li> <li><a>SVGAltGlyphItemElement</a></li> <li><a>SVGAngle</a></li> <li><a>SVGAnimateElement</a></li> <li><a>SVGAnimateMotionElement</a></li> diff --git a/master/painting.html b/master/painting.html --- a/master/painting.html +++ b/master/painting.html @@ -4218,17 +4218,17 @@ can represent any kind of marker, includ <p class="issue">What should we do about liveness? If it is live, we could have it know what index it is for, and always return information about the marker at that index (and return null for the element if that index is no longer valid).</p> <pre class='idl'>interface <b>SVGMarkerInstance</b> { readonly attribute <a>SVGMarkerElement</a> element; readonly attribute float position; - readonly attribute <a>SVGPoint</a> point; + readonly attribute <a>DOMPointReadOnly</a> point; readonly attribute float angle; };</pre> <dl class="interface"> <dt class="attributes-header">Attributes:</dt> <dd> <dl class="attributes"> <dt id="__svg__SVGMarkerInstance__element" class="attribute first-child"><b>element</b><span class="idl-type-parenthetical"> (readonly <a>SVGMarkerElement</a>)</span></dt> @@ -4238,20 +4238,20 @@ that index is no longer valid).</p> element that the relevant marker property referenced. If the marker is a <a>positioned marker</a>, then this will be the child <a>'marker element'</a> element of the <a>markable element</a>.</dd> <dt id="__svg__SVGMarkerInstance__position" class="attribute"><b>position</b><span class="idl-type-parenthetical"> (readonly float)</span></dt> <dd class="attribute">The distance along the <a>equivalent path</a> of the <a>markable element</a> that the marker is positioned at.</dd> - <dt id="__svg__SVGMarkerInstance__point" class="attribute"><b>point</b><span class="idl-type-parenthetical"> (readonly <a>SVGPoint</a>)</span></dt> + <dt id="__svg__SVGMarkerInstance__point" class="attribute"><b>point</b><span class="idl-type-parenthetical"> (readonly <a>DOMPointReadOnly</a>)</span></dt> <dd class="attribute">The point, in the user space of the <a>markable element</a>, that the marker is positioned at. - The <a>SVGPoint</a> object is read only.</dd> + The <a>DOMPointReadOnly</a> object is read only.</dd> <dt id="__svg__SVGMarkerInstance__angle" class="attribute"><b>angle</b><span class="idl-type-parenthetical"> (readonly float)</span></dt> <dd class="attribute">The orientation of the marker relative to a vector pointing in the direction of the positive y-axis of the <a>markable element</a>'s user space.</dd> </dl> </dd> </dl> @@ -4316,46 +4316,46 @@ the length of the list.</p> <p>The <a>SVGMarkableElement</a> interface is implemented on all <a>markable elements</a>, and provides access to the markers that are placed on the element's path.</p> <pre class='idl'>[NoInterfaceObject] interface <b>SVGMarkableElement</b> { readonly attribute <a>SVGMarkerList</a> <a href='#__svg__SVGMarkableElement__markers'>markers</a>; - long <a href='#__svg__SVGMarkableElement__getMarkerIndexFromPoint'>getMarkerIndexFromPoint</a>(<a>SVGPoint</a> point); + long <a href='#__svg__SVGMarkableElement__getMarkerIndexFromPoint'>getMarkerIndexFromPoint</a>(<a>DOMPoint</a> point); };</pre> <dl class="interface"> <dt class="attributes-header">Attributes:</dt> <dd> <dl class="attributes"> <dt id="__svg__SVGMarkableElement__markers" class="attribute first-child"><b>markers</b><span class="idl-type-parenthetical"> (readonly <a>SVGMarkerList</a>)</span></dt> <dd class="attribute">The list of markers on this element.</dd> </dl> </dd> <dt class="operations-header">Operations:</dt> <dd> <dl class="attributes"> - <dt id="__svg__SVGMarkableElement__getMarkerIndexFromPoint" class="operation first-child">long <b>getMarkerIndexFromPoint</b>(<a>SVGPoint</a> point)</dt> + <dt id="__svg__SVGMarkableElement__getMarkerIndexFromPoint" class="operation first-child">long <b>getMarkerIndexFromPoint</b>(<a>DOMPoint</a> point)</dt> <dd class="operation"> Returns the index into the <a>SVGMarkerList</a> of the marker that is at the specified point. Normal hit testing rules apply; the value of the <a>'pointer-events'</a> property on the elements that comprise the markers, as well as its value on this element, is honored, and the top-most marker is selected when there are multiple markers whose content is at the given point. <dl class="operation"> <dt class="parameters-header">Parameters</dt> <dd> <ol class="parameters"> <li class="parameter first-child"> - <div><a>SVGPoint</a> <var>point</var></div> + <div><a>DOMPoint</a> <var>point</var></div> <div>The point to check for intersection with the markers - on this element. The <a>SVGPoint</a> is interpreted as a + on this element. The <a>DOMPoint</a> is interpreted as a point in the user space of this element.</div> </li> </ol> </dd> <dt class="returns-header">Returns</dt> <dd>The index into this element's <a>SVGMarkerList</a> of the marker at the given point, or -1 if there is no such marker.</dd> </dl> diff --git a/master/paths.html b/master/paths.html --- a/master/paths.html +++ b/master/paths.html @@ -2706,17 +2706,17 @@ the same value as <a>normalizedPathSegLi The <a>SVGPathElement</a> interface corresponds to the <a>'path'</a> element. <pre class="idl">interface <b>SVGPathElement</b> : <a>SVGGeometryElement</a> { readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGAnimatedNumber">SVGAnimatedNumber</a> <a href="paths.html#__svg__SVGPathElement__pathLength">pathLength</a>; float <a href="paths.html#__svg__SVGPathElement__getTotalLength">getTotalLength</a>(); - <a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <a href="paths.html#__svg__SVGPathElement__getPointAtLength">getPointAtLength</a>(float distance); + <a>DOMPoint</a> <a href="paths.html#__svg__SVGPathElement__getPointAtLength">getPointAtLength</a>(float distance); unsigned long <a href="paths.html#__svg__SVGPathElement__getPathSegAtLength">getPathSegAtLength</a>(float distance); <a class="idlinterface" href="paths.html#InterfaceSVGPathSegClosePath">SVGPathSegClosePath</a> <a href="paths.html#__svg__SVGPathElement__createSVGPathSegClosePath">createSVGPathSegClosePath</a>(); <a class="idlinterface" href="paths.html#InterfaceSVGPathSegMovetoAbs">SVGPathSegMovetoAbs</a> <a href="paths.html#__svg__SVGPathElement__createSVGPathSegMovetoAbs">createSVGPathSegMovetoAbs</a>(float x, float y); <a class="idlinterface" href="paths.html#InterfaceSVGPathSegMovetoRel">SVGPathSegMovetoRel</a> <a href="paths.html#__svg__SVGPathElement__createSVGPathSegMovetoRel">createSVGPathSegMovetoRel</a>(float x, float y); <a class="idlinterface" href="paths.html#InterfaceSVGPathSegLinetoAbs">SVGPathSegLinetoAbs</a> <a href="paths.html#__svg__SVGPathElement__createSVGPathSegLinetoAbs">createSVGPathSegLinetoAbs</a>(float x, float y); <a class="idlinterface" href="paths.html#InterfaceSVGPathSegLinetoRel">SVGPathSegLinetoRel</a> <a href="paths.html#__svg__SVGPathElement__createSVGPathSegLinetoRel">createSVGPathSegLinetoRel</a>(float x, float y); <a class="idlinterface" href="paths.html#InterfaceSVGPathSegCurvetoCubicAbs">SVGPathSegCurvetoCubicAbs</a> <a href="paths.html#__svg__SVGPathElement__createSVGPathSegCurvetoCubicAbs">createSVGPathSegCurvetoCubicAbs</a>(float x, float y, float x1, float y1, float x2, float y2); <a class="idlinterface" href="paths.html#InterfaceSVGPathSegCurvetoCubicRel">SVGPathSegCurvetoCubicRel</a> <a href="paths.html#__svg__SVGPathElement__createSVGPathSegCurvetoCubicRel">createSVGPathSegCurvetoCubicRel</a>(float x, float y, float x1, float y1, float x2, float y2); @@ -2769,17 +2769,17 @@ in the current user coordinate system. <dd> <div> The total length of the path. </div> </dd> </dl> </dd> -<dt id="__svg__SVGPathElement__getPointAtLength" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <b>getPointAtLength</b>(float <var>distance</var>) +<dt id="__svg__SVGPathElement__getPointAtLength" class="operation"><a>DOMPoint</a> <b>getPointAtLength</b>(float <var>distance</var>) </dt> <dd class="operation"> <div> Returns the (x,y) coordinate in user space which is <var>distance</var> units along the path, utilizing the user agent's distance-along-a-path algorithm. diff --git a/master/script.html b/master/script.html --- a/master/script.html +++ b/master/script.html @@ -483,19 +483,19 @@ element.) </ul> </dd> </dl> <pre class="idl">interface <b>SVGZoomEvent</b> : UIEvent { readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGRect">SVGRect</a> <a href="script.html#__svg__SVGZoomEvent__zoomRectScreen">zoomRectScreen</a>; readonly attribute float <a href="script.html#__svg__SVGZoomEvent__previousScale">previousScale</a>; - readonly attribute <a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <a href="script.html#__svg__SVGZoomEvent__previousTranslate">previousTranslate</a>; + readonly attribute <a>DOMPointReadOnly</a> <a href="script.html#__svg__SVGZoomEvent__previousTranslate">previousTranslate</a>; readonly attribute float <a href="script.html#__svg__SVGZoomEvent__newScale">newScale</a>; - readonly attribute <a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <a href="script.html#__svg__SVGZoomEvent__newTranslate">newTranslate</a>; + readonly attribute <a>DOMPointReadOnly</a> <a href="script.html#__svg__SVGZoomEvent__newTranslate">newTranslate</a>; };</pre><dl class="interface"> <dt class="attributes-header">Attributes:</dt> <dd> <dl class="attributes"> <dt id="__svg__SVGZoomEvent__zoomRectScreen" class="attribute first-child"><b>zoomRectScreen</b><span class="idl-type-parenthetical"> (readonly <a class="idlinterface" href="types.html#InterfaceSVGRect">SVGRect</a>)</span></dt> <dd class="attribute"> <div> @@ -513,49 +513,49 @@ element.) <dd class="attribute"> <div> The scale factor from previous zoom operations that was in place before the zoom operation occurred. </div> </dd> -<dt id="__svg__SVGZoomEvent__previousTranslate" class="attribute"><b>previousTranslate</b><span class="idl-type-parenthetical"> (readonly <a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a>)</span></dt> +<dt id="__svg__SVGZoomEvent__previousTranslate" class="attribute"><b>previousTranslate</b><span class="idl-type-parenthetical"> (readonly <a>DOMPointReadOnly</a>)</span></dt> <dd class="attribute"> <div> <p>The translation values from previous zoom operations that were in place before the zoom operation occurred. </p> -<p>The <a>SVGPoint</a> object is read only. +<p>The <a>DOMPointReadOnly</a> object is read only. </p> </div> </dd> <dt id="__svg__SVGZoomEvent__newScale" class="attribute"><b>newScale</b><span class="idl-type-parenthetical"> (readonly float)</span></dt> <dd class="attribute"> <div> The scale factor that will be in place after the zoom operation has been processed. </div> </dd> -<dt id="__svg__SVGZoomEvent__newTranslate" class="attribute"><b>newTranslate</b><span class="idl-type-parenthetical"> (readonly <a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a>)</span></dt> +<dt id="__svg__SVGZoomEvent__newTranslate" class="attribute"><b>newTranslate</b><span class="idl-type-parenthetical"> (readonly <a>DOMPointReadOnly</a>)</span></dt> <dd class="attribute"> <div> <p>The translation values that will be in place after the zoom operation has been processed. </p> -<p>The <a>SVGPoint</a> object is read only. +<p>The <a>DOMPointReadOnly</a> object is read only. </p> </div> </dd> </dl> </dd> </dl> diff --git a/master/struct.html b/master/struct.html --- a/master/struct.html +++ b/master/struct.html @@ -229,17 +229,17 @@ create SVG fragments.</p> readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGRect">SVGRect</a> <a href="struct.html#__svg__SVGSVGElement__viewport">viewport</a>; readonly attribute float <a href="struct.html#__svg__SVGSVGElement__pixelUnitToMillimeterX">pixelUnitToMillimeterX</a>; readonly attribute float <a href="struct.html#__svg__SVGSVGElement__pixelUnitToMillimeterY">pixelUnitToMillimeterY</a>; readonly attribute float <a href="struct.html#__svg__SVGSVGElement__screenPixelToMillimeterX">screenPixelToMillimeterX</a>; readonly attribute float <a href="struct.html#__svg__SVGSVGElement__screenPixelToMillimeterY">screenPixelToMillimeterY</a>; readonly attribute boolean <a href="struct.html#__svg__SVGSVGElement__useCurrentView">useCurrentView</a>; readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGViewSpec">SVGViewSpec</a> <a href="struct.html#__svg__SVGSVGElement__currentView">currentView</a>; attribute float <a href="struct.html#__svg__SVGSVGElement__currentScale">currentScale</a>; - readonly attribute <a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <a href="struct.html#__svg__SVGSVGElement__currentTranslate">currentTranslate</a>; + readonly attribute <a>DOMPointReadOnly</a> <a href="struct.html#__svg__SVGSVGElement__currentTranslate">currentTranslate</a>; unsigned long <a href="struct.html#__svg__SVGSVGElement__suspendRedraw">suspendRedraw</a>(unsigned long maxWaitMilliseconds); void <a href="struct.html#__svg__SVGSVGElement__unsuspendRedraw">unsuspendRedraw</a>(unsigned long suspendHandleID); void <a href="struct.html#__svg__SVGSVGElement__unsuspendRedrawAll">unsuspendRedrawAll</a>(); void <a href="struct.html#__svg__SVGSVGElement__forceRedraw">forceRedraw</a>(); void <a href="struct.html#__svg__SVGSVGElement__pauseAnimations">pauseAnimations</a>(); void <a href="struct.html#__svg__SVGSVGElement__unpauseAnimations">unpauseAnimations</a>(); boolean <a href="struct.html#__svg__SVGSVGElement__animationsPaused">animationsPaused</a>(); @@ -250,17 +250,17 @@ create SVG fragments.</p> <a class="idlinterface" href="http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-536297177">NodeList</a> <a href="struct.html#__svg__SVGSVGElement__getEnclosureList">getEnclosureList</a>(<a class="idlinterface" href="types.html#InterfaceSVGRect">SVGRect</a> rect, <a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a> referenceElement); boolean <a href="struct.html#__svg__SVGSVGElement__checkIntersection">checkIntersection</a>(<a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a> element, <a class="idlinterface" href="types.html#InterfaceSVGRect">SVGRect</a> rect); boolean <a href="struct.html#__svg__SVGSVGElement__checkEnclosure">checkEnclosure</a>(<a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a> element, <a class="idlinterface" href="types.html#InterfaceSVGRect">SVGRect</a> rect); void <a href="struct.html#__svg__SVGSVGElement__deselectAll">deselectAll</a>(); <a class="idlinterface" href="types.html#InterfaceSVGNumber">SVGNumber</a> <a href="struct.html#__svg__SVGSVGElement__createSVGNumber">createSVGNumber</a>(); <a class="idlinterface" href="types.html#InterfaceSVGLength">SVGLength</a> <a href="struct.html#__svg__SVGSVGElement__createSVGLength">createSVGLength</a>(); <a class="idlinterface" href="types.html#InterfaceSVGAngle">SVGAngle</a> <a href="struct.html#__svg__SVGSVGElement__createSVGAngle">createSVGAngle</a>(); - <a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <a href="struct.html#__svg__SVGSVGElement__createSVGPoint">createSVGPoint</a>(); + <a>DOMPoint</a> <a href="struct.html#__svg__SVGSVGElement__createSVGPoint">createSVGPoint</a>(); <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <a href="struct.html#__svg__SVGSVGElement__createSVGMatrix">createSVGMatrix</a>(); <a class="idlinterface" href="types.html#InterfaceSVGRect">SVGRect</a> <a href="struct.html#__svg__SVGSVGElement__createSVGRect">createSVGRect</a>(); <a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a> <a href="struct.html#__svg__SVGSVGElement__createSVGTransform">createSVGTransform</a>(); <a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a> <a href="struct.html#__svg__SVGSVGElement__createSVGTransformFromMatrix">createSVGTransformFromMatrix</a>(<a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> matrix); <a class="idlinterface" href="http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-745549614">Element</a> <a href="struct.html#__svg__SVGSVGElement__getElementById">getElementById</a>(DOMString elementId); }; @@ -2361,17 +2361,17 @@ Shouldn't the former be on Window and th readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGRect">SVGRect</a> <a href="struct.html#__svg__SVGSVGElement__viewport">viewport</a>; readonly attribute float <a href="struct.html#__svg__SVGSVGElement__pixelUnitToMillimeterX">pixelUnitToMillimeterX</a>; readonly attribute float <a href="struct.html#__svg__SVGSVGElement__pixelUnitToMillimeterY">pixelUnitToMillimeterY</a>; readonly attribute float <a href="struct.html#__svg__SVGSVGElement__screenPixelToMillimeterX">screenPixelToMillimeterX</a>; readonly attribute float <a href="struct.html#__svg__SVGSVGElement__screenPixelToMillimeterY">screenPixelToMillimeterY</a>; readonly attribute boolean <a href="struct.html#__svg__SVGSVGElement__useCurrentView">useCurrentView</a>; readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGViewSpec">SVGViewSpec</a> <a href="struct.html#__svg__SVGSVGElement__currentView">currentView</a>; attribute float <a href="struct.html#__svg__SVGSVGElement__currentScale">currentScale</a>; - readonly attribute <a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <a href="struct.html#__svg__SVGSVGElement__currentTranslate">currentTranslate</a>; + readonly attribute <a>DOMPointReadOnly</a> <a href="struct.html#__svg__SVGSVGElement__currentTranslate">currentTranslate</a>; unsigned long <a href="struct.html#__svg__SVGSVGElement__suspendRedraw">suspendRedraw</a>(unsigned long maxWaitMilliseconds); void <a href="struct.html#__svg__SVGSVGElement__unsuspendRedraw">unsuspendRedraw</a>(unsigned long suspendHandleID); void <a href="struct.html#__svg__SVGSVGElement__unsuspendRedrawAll">unsuspendRedrawAll</a>(); void <a href="struct.html#__svg__SVGSVGElement__forceRedraw">forceRedraw</a>(); void <a href="struct.html#__svg__SVGSVGElement__pauseAnimations">pauseAnimations</a>(); void <a href="struct.html#__svg__SVGSVGElement__unpauseAnimations">unpauseAnimations</a>(); boolean <a href="struct.html#__svg__SVGSVGElement__animationsPaused">animationsPaused</a>(); @@ -2382,17 +2382,17 @@ Shouldn't the former be on Window and th <a class="idlinterface" href="http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-536297177">NodeList</a> <a href="struct.html#__svg__SVGSVGElement__getEnclosureList">getEnclosureList</a>(<a class="idlinterface" href="types.html#InterfaceSVGRect">SVGRect</a> rect, <a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a> referenceElement); boolean <a href="struct.html#__svg__SVGSVGElement__checkIntersection">checkIntersection</a>(<a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a> element, <a class="idlinterface" href="types.html#InterfaceSVGRect">SVGRect</a> rect); boolean <a href="struct.html#__svg__SVGSVGElement__checkEnclosure">checkEnclosure</a>(<a class="idlinterface" href="types.html#InterfaceSVGElement">SVGElement</a> element, <a class="idlinterface" href="types.html#InterfaceSVGRect">SVGRect</a> rect); void <a href="struct.html#__svg__SVGSVGElement__deselectAll">deselectAll</a>(); <a class="idlinterface" href="types.html#InterfaceSVGNumber">SVGNumber</a> <a href="struct.html#__svg__SVGSVGElement__createSVGNumber">createSVGNumber</a>(); <a class="idlinterface" href="types.html#InterfaceSVGLength">SVGLength</a> <a href="struct.html#__svg__SVGSVGElement__createSVGLength">createSVGLength</a>(); <a class="idlinterface" href="types.html#InterfaceSVGAngle">SVGAngle</a> <a href="struct.html#__svg__SVGSVGElement__createSVGAngle">createSVGAngle</a>(); - <a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <a href="struct.html#__svg__SVGSVGElement__createSVGPoint">createSVGPoint</a>(); + <a>DOMPoint</a> <a href="struct.html#__svg__SVGSVGElement__createSVGPoint">createSVGPoint</a>(); <a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <a href="struct.html#__svg__SVGSVGElement__createSVGMatrix">createSVGMatrix</a>(); <a class="idlinterface" href="types.html#InterfaceSVGRect">SVGRect</a> <a href="struct.html#__svg__SVGSVGElement__createSVGRect">createSVGRect</a>(); <a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a> <a href="struct.html#__svg__SVGSVGElement__createSVGTransform">createSVGTransform</a>(); <a class="idlinterface" href="coords.html#InterfaceSVGTransform">SVGTransform</a> <a href="struct.html#__svg__SVGSVGElement__createSVGTransformFromMatrix">createSVGTransformFromMatrix</a>(<a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> matrix); <a class="idlinterface" href="http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-745549614">Element</a> <a href="struct.html#__svg__SVGSVGElement__getElementById">getElementById</a>(DOMString elementId); }; @@ -2663,26 +2663,26 @@ outermost level on the SVG document frag <p>When accessed on an <a>'svg'</a> element that is not an <a>outermost svg element</a>, this attribute must return 1 as scaling factor. </p> </div> </dd> -<dt id="__svg__SVGSVGElement__currentTranslate" class="attribute"><b>currentTranslate</b><span class="idl-type-parenthetical"> (readonly <a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a>)</span></dt> +<dt id="__svg__SVGSVGElement__currentTranslate" class="attribute"><b>currentTranslate</b><span class="idl-type-parenthetical"> (readonly <a>DOMPointReadOnly</a>)</span></dt> <dd class="attribute"> <div> On an <a>outermost svg element</a>, the corresponding translation factor that takes into account user "magnification". <p>The value of a transform property on the <a>outermost svg element</a> does not affect the value of this attribute.</p> <p>When accessed on an <a>'svg'</a> element that is not an -<a>outermost svg element</a>, this attribute must return an SVGPoint at the coordinates (0, 0). +<a>outermost svg element</a>, this attribute must return an DOMPointReadOnly at the coordinates (0, 0). </p> </div> </dd> </dl> </dd> <dt class="operations-header">Operations:</dt> <dd> @@ -3101,29 +3101,29 @@ object is initialized to the value 0 deg <dd> <div> An <a>SVGAngle</a> object. </div> </dd> </dl> </dd> -<dt id="__svg__SVGSVGElement__createSVGPoint" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <b>createSVGPoint</b>() +<dt id="__svg__SVGSVGElement__createSVGPoint" class="operation"><a>DOMPoint</a> <b>createSVGPoint</b>() </dt> <dd class="operation"> <div> -Creates an <a>SVGPoint</a> object outside of any document trees. The +Creates an <a>DOMPoint</a> object outside of any document trees. The object is initialized to the point (0,0) in the user coordinate system. </div> <dl class="operation"> <dt class="returns-header">Returns</dt> <dd> -<div> An <a>SVGPoint</a> object. +<div> An <a>DOMPoint</a> object. </div> </dd> </dl> </dd> <dt id="__svg__SVGSVGElement__createSVGMatrix" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGMatrix">SVGMatrix</a> <b>createSVGMatrix</b>() </dt> diff --git a/master/text.html b/master/text.html --- a/master/text.html +++ b/master/text.html @@ -7004,21 +7004,21 @@ style="font-weight:bold; color:green">tr const unsigned short <a href="text.html#__svg__SVGTextContentElement__LENGTHADJUST_SPACINGANDGLYPHS">LENGTHADJUST_SPACINGANDGLYPHS</a> = 2; readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGAnimatedLength">SVGAnimatedLength</a> <a href="text.html#__svg__SVGTextContentElement__textLength">textLength</a>; readonly attribute <a class="idlinterface" href="types.html#InterfaceSVGAnimatedEnumeration">SVGAnimatedEnumeration</a> <a href="text.html#__svg__SVGTextContentElement__lengthAdjust">lengthAdjust</a>; long <a href="text.html#__svg__SVGTextContentElement__getNumberOfChars">getNumberOfChars</a>(); float <a href="text.html#__svg__SVGTextContentElement__getComputedTextLength">getComputedTextLength</a>(); float <a href="text.html#__svg__SVGTextContentElement__getSubStringLength">getSubStringLength</a>(unsigned long charnum, unsigned long nchars); - <a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <a href="text.html#__svg__SVGTextContentElement__getStartPositionOfChar">getStartPositionOfChar</a>(unsigned long charnum); - <a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <a href="text.html#__svg__SVGTextContentElement__getEndPositionOfChar">getEndPositionOfChar</a>(unsigned long charnum); + <a>DOMPoint</a> <a href="text.html#__svg__SVGTextContentElement__getStartPositionOfChar">getStartPositionOfChar</a>(unsigned long charnum); + <a>DOMPoint</a> <a href="text.html#__svg__SVGTextContentElement__getEndPositionOfChar">getEndPositionOfChar</a>(unsigned long charnum); <a class="idlinterface" href="types.html#InterfaceSVGRect">SVGRect</a> <a href="text.html#__svg__SVGTextContentElement__getExtentOfChar">getExtentOfChar</a>(unsigned long charnum); float <a href="text.html#__svg__SVGTextContentElement__getRotationOfChar">getRotationOfChar</a>(unsigned long charnum); - long <a href="text.html#__svg__SVGTextContentElement__getCharNumAtPosition">getCharNumAtPosition</a>(<a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> point); + long <a href="text.html#__svg__SVGTextContentElement__getCharNumAtPosition">getCharNumAtPosition</a>(<a>DOMPoint</a> point); void <a href="text.html#__svg__SVGTextContentElement__selectSubString">selectSubString</a>(unsigned long charnum, unsigned long nchars); };</pre> <dl class="interface"> <dt class="constants-header">Constants in group “lengthAdjust Typesâ€:</dt> <dd> <dl class="constants"> @@ -7189,17 +7189,17 @@ list of characters. or equal to the number of characters at this node. </dd> </dl> </dd> </dl> </dd> -<dt id="__svg__SVGTextContentElement__getStartPositionOfChar" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <b>getStartPositionOfChar</b>(unsigned long <var>charnum</var>) +<dt id="__svg__SVGTextContentElement__getStartPositionOfChar" class="operation"><a>DOMPoint</a> <b>getStartPositionOfChar</b>(unsigned long <var>charnum</var>) </dt> <dd class="operation"> <div> Returns the current text position before rendering the character in the user coordinate system for rendering the glyph(s) that correspond to the specified character. The current text position has already taken into account the effects of any inter-character adjustments due to properties <a>'letter-spacing'</a> and @@ -7243,17 +7243,17 @@ negative or if <var>charnum</var> is gre number of characters at this node. </dd> </dl> </dd> </dl> </dd> -<dt id="__svg__SVGTextContentElement__getEndPositionOfChar" class="operation"><a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <b>getEndPositionOfChar</b>(unsigned long <var>charnum</var>) +<dt id="__svg__SVGTextContentElement__getEndPositionOfChar" class="operation"><a>DOMPoint</a> <b>getEndPositionOfChar</b>(unsigned long <var>charnum</var>) </dt> <dd class="operation"> <div> Returns the current text position after rendering the character in the user coordinate system for rendering the glyph(s) that correspond to the specified character. This current text position does <em>not</em> take into account the effects of any inter-character adjustments to prepare for the next character, such as properties @@ -7402,17 +7402,17 @@ negative or if <var>charnum</var> is gre number of characters at this node. </dd> </dl> </dd> </dl> </dd> -<dt id="__svg__SVGTextContentElement__getCharNumAtPosition" class="operation">long <b>getCharNumAtPosition</b>(<a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <var>point</var>) +<dt id="__svg__SVGTextContentElement__getCharNumAtPosition" class="operation">long <b>getCharNumAtPosition</b>(<a>DOMPoint</a> <var>point</var>) </dt> <dd class="operation"> <div> Returns the index of the character whose corresponding glyph cell bounding box contains the specified point. The calculations assume that all glyphs occupy the full standard glyph cell for the font. If no such character exists, a value of -1 is returned. If multiple such characters exist, the character within the element whose glyphs were @@ -7425,17 +7425,17 @@ which of the characters is chosen. </div> <dl class="operation"> <dt class="parameters-header">Parameters</dt> <dd> <ol class="parameters"> <li class="parameter first-child"> -<div><a class="idlinterface" href="coords.html#InterfaceSVGPoint">SVGPoint</a> <var>point</var></div> +<div><a>DOMPoint</a> <var>point</var></div> <div> A point in user space. </div> </li> </ol> </dd> <dt class="returns-header">Returns</dt> <dd> diff --git a/master/types.html b/master/types.html --- a/master/types.html +++ b/master/types.html @@ -4179,61 +4179,61 @@ interface <b>SVGGraphicsElement</b> : <a <div class="ready-for-wider-review"> <h3 id="InterfaceSVGGeometryElement">Interface SVGGeometryElement</h3> <p>Interface <a>SVGGeometryElement</a> represents SVG elements whose rendering is defined by geometry and which can be filled and stroked. This includes paths, text and the basic shapes.</p> <pre class="idl">interface <b>SVGGeometryElement</b> : <a>SVGGraphicsElement</a> { - bool isPointInFill(<a>SVGPoint</a> point); - bool isPointInStroke(<a>SVGPoint</a> point); + bool isPointInFill(<a>DOMPoint</a> point); + bool isPointInStroke(<a>DOMPoint</a> point); };</pre> <dl class="interface"> <dt class="operations-header">Operations:</dt> <dd> <dl class="attributes"> - <dt id="__svg__SVGGeometryElement__isPointInFill" class="operation first-child">bool <b>isPointInFill</b>(<a>SVGPoint</a> point)</dt> + <dt id="__svg__SVGGeometryElement__isPointInFill" class="operation first-child">bool <b>isPointInFill</b>(<a>DOMPoint</a> point)</dt> <dd class="operation"> Returns whether the specified point is within the fill of the element. Normal hit testing rules apply; the value of the <a>'pointer-events'</a> property on the element determines whether a point is considered to be within the fill. <dl class="operation"> <dt class="parameters-header">Parameters</dt> <dd> <ol class="parameters"> <li class="parameter first-child"> - <div><a>SVGPoint</a> <var>point</var></div> + <div><a>DOMPoint</a> <var>point</var></div> <div>The point to check for intersection with the fill - of this element. The <a>SVGPoint</a> is interpreted as a + of this element. The <a>DOMPoint</a> is interpreted as a as a point in the user space of this element.</div> </li> </ol> </dd> <dt class="returns-header">Returns</dt> <dd>true if the point is within the fill of this shape, or false otherwise.</dd> </dl> </dd> - <dt id="__svg__SVGGeometryElement__isPointInStroke" class="operation">bool <b>isPointInStroke</b>(<a>SVGPoint</a> point)</dt> + <dt id="__svg__SVGGeometryElement__isPointInStroke" class="operation">bool <b>isPointInStroke</b>(<a>DOMPoint</a> point)</dt> <dd class="operation"> Returns whether the specified point is within the stroke of the element. Normal hit testing rules apply; the value of the <a>'pointer-events'</a> property on the element determines whether a point is considered to be within the stroke. <dl class="operation"> <dt class="parameters-header">Parameters</dt> <dd> <ol class="parameters"> <li class="parameter first-child"> - <div><a>SVGPoint</a> <var>point</var></div> + <div><a>DOMPoint</a> <var>point</var></div> <div>The point to check for intersection with the stroke - of this element. The <a>SVGPoint</a> is interpreted as a + of this element. The <a>DOMPoint</a> is interpreted as a as a point in the user space of this element.</div> </li> </ol> </dd> <dt class="returns-header">Returns</dt> <dd>true if the point is within the stroke of this shape, or false otherwise.</dd> </dl>
Received on Thursday, 22 May 2014 17:06:55 UTC