Skip to content

Commit

Permalink
[e] (0) Try to clarify the term 'line segments' with a cross-reference.
Browse files Browse the repository at this point in the history
Fixing https://www.w3.org/Bugs/Public/show_bug.cgi?id=23761
Affected topics: Canvas

git-svn-id: http://svn.whatwg.org/webapps@8308 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Nov 22, 2013
1 parent ab14988 commit 2e7c662
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 6 deletions.
6 changes: 4 additions & 2 deletions complete.html
Expand Up @@ -54793,9 +54793,10 @@ <h6 id=text-styles><span class=secno>4.12.4.2.5 </span>Text styles</h6>

</ol><h6 id=building-paths><span class=secno>4.12.4.2.6 </span>Building paths</h6>

<!--CLEANUP-->
<p>Each object implementing the <code><a href=#canvaspathmethods>CanvasPathMethods</a></code> interface has a <a href=#concept-path title=concept-path>path</a>. A <dfn id=concept-path title=concept-path>path</dfn> has a list of zero or
more subpaths. Each subpath consists of a list of one or more points, connected by straight or
curved lines, and a flag indicating whether the subpath is closed or not. A closed subpath is one
curved <dfn id=line-segments>line segments</dfn>, and a flag indicating whether the subpath is closed or not. A closed subpath is one
where the last point of the subpath is connected to the first point of the subpath by a straight
line. Subpaths with only one point are ignored when painting the path.</p>

Expand Down Expand Up @@ -56734,7 +56735,8 @@ <h6 id=drawing-paths-to-the-canvas><span class=secno>4.12.4.2.13 </span>Drawing
operators</a>. (The effect of transformations is described above and varies based on which path
is being used.)</p>

<p>Zero-length line segments must be pruned before stroking a path. Subpaths with just one point
<!--CLEANUP-->
<p>Zero-length <a href=#line-segments>line segments</a> must be pruned before stroking a path. Subpaths with just one point
must be ignored.</p>

<hr><p id=dom-context-2d-drawosfocusring>The <dfn id=dom-context-2d-drawsystemfocusring title=dom-context-2d-drawSystemFocusRing><code>drawSystemFocusRing(<var title="">element</var>)</code></dfn> method, when invoked, must run the following steps:</p>
Expand Down
6 changes: 4 additions & 2 deletions index
Expand Up @@ -54793,9 +54793,10 @@ transform. ack Shaun Morris. --></div>

</ol><h6 id=building-paths><span class=secno>4.12.4.2.6 </span>Building paths</h6>

<!--CLEANUP-->
<p>Each object implementing the <code><a href=#canvaspathmethods>CanvasPathMethods</a></code> interface has a <a href=#concept-path title=concept-path>path</a>. A <dfn id=concept-path title=concept-path>path</dfn> has a list of zero or
more subpaths. Each subpath consists of a list of one or more points, connected by straight or
curved lines, and a flag indicating whether the subpath is closed or not. A closed subpath is one
curved <dfn id=line-segments>line segments</dfn>, and a flag indicating whether the subpath is closed or not. A closed subpath is one
where the last point of the subpath is connected to the first point of the subpath by a straight
line. Subpaths with only one point are ignored when painting the path.</p>

Expand Down Expand Up @@ -56734,7 +56735,8 @@ v6DVT (also check for '- -' bits in the part above) --><p>The <dfn id=dom-contex
operators</a>. (The effect of transformations is described above and varies based on which path
is being used.)</p>

<p>Zero-length line segments must be pruned before stroking a path. Subpaths with just one point
<!--CLEANUP-->
<p>Zero-length <a href=#line-segments>line segments</a> must be pruned before stroking a path. Subpaths with just one point
must be ignored.</p>

<hr><p id=dom-context-2d-drawosfocusring>The <dfn id=dom-context-2d-drawsystemfocusring title=dom-context-2d-drawSystemFocusRing><code>drawSystemFocusRing(<var title="">element</var>)</code></dfn> method, when invoked, must run the following steps:</p>
Expand Down
6 changes: 4 additions & 2 deletions source
Expand Up @@ -60718,10 +60718,11 @@ transform. ack Shaun Morris. -->

<h6>Building paths</h6>

<!--CLEANUP-->
<p>Each object implementing the <code>CanvasPathMethods</code> interface has a <span
data-x="concept-path">path</span>. A <dfn data-x="concept-path">path</dfn> has a list of zero or
more subpaths. Each subpath consists of a list of one or more points, connected by straight or
curved lines, and a flag indicating whether the subpath is closed or not. A closed subpath is one
curved <dfn>line segments</dfn>, and a flag indicating whether the subpath is closed or not. A closed subpath is one
where the last point of the subpath is connected to the first point of the subpath by a straight
line. Subpaths with only one point are ignored when painting the path.</p>

Expand Down Expand Up @@ -62994,7 +62995,8 @@ v6DVT (also check for '- -' bits in the part above) -->
operators</span>. (The effect of transformations is described above and varies based on which path
is being used.)</p>

<p>Zero-length line segments must be pruned before stroking a path. Subpaths with just one point
<!--CLEANUP-->
<p>Zero-length <span>line segments</span> must be pruned before stroking a path. Subpaths with just one point
must be ignored.</p>

<hr>
Expand Down

0 comments on commit 2e7c662

Please sign in to comment.