Skip to content

Commit

Permalink
[giow] (2) Make clear in what order rect() should drop its points.
Browse files Browse the repository at this point in the history
Affected topics: Canvas

git-svn-id: http://svn.whatwg.org/webapps@8588 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Apr 29, 2014
1 parent 86610a0 commit 1fdbe87
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
5 changes: 2 additions & 3 deletions complete.html
Original file line number Diff line number Diff line change
Expand Up @@ -56949,12 +56949,11 @@ <h6 id=text-styles><span class=secno>4.12.4.2.5 </span>Text styles</h6>
<p>Negative values for <var title="">radiusX</var> or <var title="">radiusY</var> must cause the
implementation to throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception.</p>

<hr><p>The <dfn id=dom-context-2d-rect title=dom-context-2d-rect><code>rect(<var title="">x</var>, <var title="">y</var>,
<hr><!--CLEANUP--><p>The <dfn id=dom-context-2d-rect title=dom-context-2d-rect><code>rect(<var title="">x</var>, <var title="">y</var>,
<var title="">w</var>, <var title="">h</var>)</code></dfn> method must create a new subpath
containing just the four points (<var title="">x</var>, <var title="">y</var>), (<var title="">x</var>+<var title="">w</var>, <var title="">y</var>), (<var title="">x</var>+<var title="">w</var>, <var title="">y</var>+<var title="">h</var>), (<var title="">x</var>, <var title="">y</var>+<var title="">h</var>), with those four points connected by straight lines, and
containing just the four points (<var title="">x</var>, <var title="">y</var>), (<var title="">x</var>+<var title="">w</var>, <var title="">y</var>), (<var title="">x</var>+<var title="">w</var>, <var title="">y</var>+<var title="">h</var>), (<var title="">x</var>, <var title="">y</var>+<var title="">h</var>), in that order, with those four points connected by straight lines, and
must then mark the subpath as closed. It must then create a new subpath with the point (<var title="">x</var>, <var title="">y</var>) as the only point in the subpath.</p>


<!-- v6 feature request:
* points as a primitive shape
http://home.comcast.net/~urbanjost/canvas/vogle4.html
Expand Down
5 changes: 2 additions & 3 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -56949,12 +56949,11 @@ try {
<p>Negative values for <var title="">radiusX</var> or <var title="">radiusY</var> must cause the
implementation to throw an <code><a href=#indexsizeerror>IndexSizeError</a></code> exception.</p>

<hr><p>The <dfn id=dom-context-2d-rect title=dom-context-2d-rect><code>rect(<var title="">x</var>, <var title="">y</var>,
<hr><!--CLEANUP--><p>The <dfn id=dom-context-2d-rect title=dom-context-2d-rect><code>rect(<var title="">x</var>, <var title="">y</var>,
<var title="">w</var>, <var title="">h</var>)</code></dfn> method must create a new subpath
containing just the four points (<var title="">x</var>, <var title="">y</var>), (<var title="">x</var>+<var title="">w</var>, <var title="">y</var>), (<var title="">x</var>+<var title="">w</var>, <var title="">y</var>+<var title="">h</var>), (<var title="">x</var>, <var title="">y</var>+<var title="">h</var>), with those four points connected by straight lines, and
containing just the four points (<var title="">x</var>, <var title="">y</var>), (<var title="">x</var>+<var title="">w</var>, <var title="">y</var>), (<var title="">x</var>+<var title="">w</var>, <var title="">y</var>+<var title="">h</var>), (<var title="">x</var>, <var title="">y</var>+<var title="">h</var>), in that order, with those four points connected by straight lines, and
must then mark the subpath as closed. It must then create a new subpath with the point (<var title="">x</var>, <var title="">y</var>) as the only point in the subpath.</p>


<!-- v6 feature request:
* points as a primitive shape
http://home.comcast.net/~urbanjost/canvas/vogle4.html
Expand Down
4 changes: 2 additions & 2 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -63248,16 +63248,16 @@ try {

<hr>

<!--CLEANUP-->
<p>The <dfn data-x="dom-context-2d-rect"><code>rect(<var data-x="">x</var>, <var data-x="">y</var>,
<var data-x="">w</var>, <var data-x="">h</var>)</code></dfn> method must create a new subpath
containing just the four points (<var data-x="">x</var>, <var data-x="">y</var>), (<var
data-x="">x</var>+<var data-x="">w</var>, <var data-x="">y</var>), (<var data-x="">x</var>+<var
data-x="">w</var>, <var data-x="">y</var>+<var data-x="">h</var>), (<var data-x="">x</var>, <var
data-x="">y</var>+<var data-x="">h</var>), with those four points connected by straight lines, and
data-x="">y</var>+<var data-x="">h</var>), in that order, with those four points connected by straight lines, and
must then mark the subpath as closed. It must then create a new subpath with the point (<var
data-x="">x</var>, <var data-x="">y</var>) as the only point in the subpath.</p>


<!-- v6 feature request:
* points as a primitive shape
http://home.comcast.net/~urbanjost/canvas/vogle4.html
Expand Down

0 comments on commit 1fdbe87

Please sign in to comment.