- From: SVG Working Group repository <cam+svgwgrepo@mcc.id.au>
- Date: Sun, 22 Sep 2013 22:17:42 -0700
- To: public-svg-wg@w3.org
details: https://svgwg.org/hg/svg2/rev/dcc1d3a5235f branches: changeset: 534:dcc1d3a5235f user: Cameron McCormack <cam@mcc.id.au> date: Mon Sep 23 15:15:48 2013 +1000 description: Use new-style attribute definition boxes in Paths chapter. diffstat: master/paths.html | 103 ++++++++++++++++++++++++++++++++--------------------- 1 files changed, 62 insertions(+), 41 deletions(-) diffs (123 lines): diff --git a/master/paths.html b/master/paths.html --- a/master/paths.html +++ b/master/paths.html @@ -60,57 +60,78 @@ implementation notes</a>.</p> <dfn id="TermEquivalentPath">equivalent path</dfn> is, which is what their shape is as a path. (The equivalent path of a <a>'path'</a> element is simply the path itself.)</p> <h2 id="PathElement">The <span class="element-name">'path'</span> element</h2> <edit:elementsummary name='path'/> - <div class="adef-list"> - <p><em>Attribute definitions:</em></p> - <dl> - <dt id="DAttribute"><span - class="adef">d</span> = "<em>path data</em>"</dt> - <dd>The definition of the outline of a shape. See <a - href="#PathData">Path data</a>.<br /> - <span class="anim-target"><a - href="animate.html#Animatable">Animatable</a>: yes.</span> - Path data animation is only possible when each path data - specification within an animation specification has exactly - the same list of path data commands as the <a>'d'</a> attribute. If an animation is - specified and the list of path data commands is not the - same, then the animation specification is in error (see <a - href="implnote.html#ErrorProcessing">Error Processing</a>). - The animation engine interpolates each parameter to each - path data command separately based on the attributes to the - given animation element. Flags and booleans are - interpolated as fractions between zero and one, with any - non-zero value considered to be a value of one/true.</dd> - <dt id="PathLengthAttribute"><span class="adef">pathLength</span> = "<a - href="types.html#DataTypeNumber"><number></a>"</dt> - <dd>The author's computation of the total length of the - path, in user units. This value is used to calibrate the - user agent's own <a - href="paths.html#DistanceAlongAPath">distance-along-a-path</a> - calculations with that of the author. The user agent will - scale all distance-along-a-path computations by the ratio - of <a>'pathLength'</a> to the user - agent's own computed value for total path length. <a>'pathLength'</a> potentially affects - calculations for <a href="text.html#TextOnAPath">text on a path</a>, - <a href="animate.html#AnimateMotionElement">motion animation</a> and - various <a href="painting.html#StrokeProperties">stroke operations</a>.<br /> - A negative value is an error (see <a - href="implnote.html#ErrorProcessing">Error - processing</a>).<br /> - <span class="anim-target"><a - href="animate.html#Animatable">Animatable</a>: - yes.</span></dd> - </dl> - </div> +<dl class="attrdef-list"> + <dt> + <table class="propdef attrdef"> + <tr> + <th>Name</th> + <th>Value</th> + <th>Lacuna value</th> + <th>Animatable</th> + </tr> + <tr> + <td><dfn id="DAttribute">d</dfn></td> + <td><em>path data</em></td> + <td>(none)</td> + <td>yes</td> + </tr> + </table> + </dt> + <dd> + <p>The definition of the outline of a shape. See <a href="#PathData">Path data</a>.</p> + <p>Path data animation is only possible when each path data + specification within an animation specification has exactly + the same list of path data commands as the <a>'d'</a> attribute. If an animation is + specified and the list of path data commands is not the + same, then the animation specification is in error (see + <a href="implnote.html#ErrorProcessing">Error Processing</a>). + The animation engine interpolates each parameter to each + path data command separately based on the attributes to the + given animation element. Flags and booleans are + interpolated as fractions between zero and one, with any + non-zero value considered to be a value of one/true.</p> + <p class="issue">The Value in the table above should be a link to a datatype for path data.</p> + </dd> + <dt> + <table class="propdef attrdef"> + <tr> + <th>Name</th> + <th>Value</th> + <th>Lacuna value</th> + <th>Animatable</th> + </tr> + <tr> + <td><dfn id="PathLengthAttribute">pathLength</dfn></td> + <td><a><number></a></td> + <td>(none)</td> + <td>yes</td> + </tr> + </table> + </dt> + <dd> + <p>The author's computation of the total length of the + path, in user units. This value is used to calibrate the + user agent's own <a href="paths.html#DistanceAlongAPath">distance-along-a-path</a> + calculations with that of the author. The user agent will + scale all distance-along-a-path computations by the ratio + of <a>'pathLength'</a> to the user + agent's own computed value for total path length. <a>'pathLength'</a> potentially affects + calculations for <a href="text.html#TextOnAPath">text on a path</a>, + <a href="animate.html#AnimateMotionElement">motion animation</a> and + various <a href="painting.html#StrokeProperties">stroke operations</a>.</p> + <p>A negative value is an error (see <a href="implnote.html#ErrorProcessing">Error processing</a>).</p> + </dd> +</dl> <h2 id="PathData">Path data</h2> <div class="annotation svg2-requirement"> <table> <tr> <th>SVG 2 Requirement:</th> <td>Include smooth path between points functionality.</td>
Received on Monday, 23 September 2013 05:18:11 UTC