Skip to content

Commit

Permalink
[e] (1) Clarify exactly what is meant by some of the line join requir…
Browse files Browse the repository at this point in the history
…ements

git-svn-id: http://svn.whatwg.org/webapps@1203 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information
Hixie committed Feb 10, 2008
1 parent d4f90f7 commit eaa9fdc
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 17 deletions.
20 changes: 11 additions & 9 deletions index
Original file line number Diff line number Diff line change
Expand Up @@ -16895,8 +16895,8 @@ idea from Mihai:

<p>The <dfn id=linejoin
title=dom-context-2d-lineJoin><code>lineJoin</code></dfn> attribute
defines the type of corners that that UAs will place where two lines meet.
The three valid values are <code>bevel</code>, <code>round</code>, and
defines the type of corners that UAs will place where two lines meet. The
three valid values are <code>bevel</code>, <code>round</code>, and
<code>miter</code>.

<p>On setting, any other value than the literal strings <code>bevel</code>,
Expand All @@ -16907,13 +16907,15 @@ idea from Mihai:
href="#linejoin">lineJoin</a></code> attribute must initially have the
value <code>miter</code>.

<p>A join exists at any point in a subpath shared by two consecutive pairs
of lines. When a subpath is closed, then a join also exists at its first
point (equivalent to its last point) connecting the first and last lines
in the subpath. In addition to the point where the join occurs, two
additional points are relevant to each join: the corners found half the
line width away from the join point, perpendicular to the two lines
joining at the join point.
<p>A join exists at any point in a subpath shared by two consecutive lines.
When a subpath is closed, then a join also exists at its first point
(equivalent to its last point) connecting the first and last lines in the
subpath.

<p>In addition to the point where the join occurs, two additional points
are relevant to each join, one for each line: the two corners found half
the line width away from the join point, one perpendicular to each line,
each on the side furthest from the other line.

<p>A filled triangle connecting these two opposite corners with a straight
line, with the third point of the triangle being the point of the join
Expand Down
19 changes: 11 additions & 8 deletions source
Original file line number Diff line number Diff line change
Expand Up @@ -14452,8 +14452,8 @@ idea from Mihai:

<p>The <dfn
title="dom-context-2d-lineJoin"><code>lineJoin</code></dfn>
attribute defines the type of corners that that UAs will place where
two lines meet. The three valid values are <code>bevel</code>,
attribute defines the type of corners that UAs will place where two
lines meet. The three valid values are <code>bevel</code>,
<code>round</code>, and <code>miter</code>.</p>

<p>On setting, any other value than the literal strings
Expand All @@ -14465,12 +14465,15 @@ idea from Mihai:
initially have the value <code>miter</code>.</p>

<p>A join exists at any point in a subpath shared by two consecutive
pairs of lines. When a subpath is closed, then a join also exists at
its first point (equivalent to its last point) connecting the first
and last lines in the subpath. In addition to the point where the
join occurs, two additional points are relevant to each join: the
corners found half the line width away from the join point,
perpendicular to the two lines joining at the join point.</p>
lines. When a subpath is closed, then a join also exists at its
first point (equivalent to its last point) connecting the first and
last lines in the subpath.</p>

<p>In addition to the point where the join occurs, two additional
points are relevant to each join, one for each line: the two corners
found half the line width away from the join point, one
perpendicular to each line, each on the side furthest from the other
line.</p>

<p>A filled triangle connecting these two opposite corners with a
straight line, with the third point of the triangle being the point
Expand Down

0 comments on commit eaa9fdc

Please sign in to comment.