[html5] r1207 - /
whatwg at whatwg.org
whatwg at whatwg.org
Sat Feb 9 17:21:50 PST 2008
Author: ianh
Date: 2008-02-09 17:21:46 -0800 (Sat, 09 Feb 2008)
New Revision: 1207
Modified:
index
source
Log:
[e] (0) Redefine 'miter' corners to be more pedantically correct.
Modified: index
===================================================================
--- index 2008-02-10 01:15:02 UTC (rev 1206)
+++ index 2008-02-10 01:21:46 UTC (rev 1207)
@@ -16932,17 +16932,18 @@
aforementioned triangle, with the diameter equal to the line width and the
origin at the point of the join, must be rendered at joins.
- <p>The <code>miter</code> value means that a filled four-sided polygon must
- be rendered at the join, with two of the lines being the perpendicular
- edges of the joining lines, and the other two being continuations of the
- outside edges of the two joining lines, as long as required to intersect
- without going over the miter limit.
+ <p>The <code>miter</code> value means that a second filled triangle must
+ (if it can given the miter length) be rendered at the join, with one line
+ being the line between the two aforementioned corners, abuting the first
+ triangle, and the other two being continuations of the outside edges of
+ the two joining lines, as long as required to intersect without going over
+ the miter length.
<p>The miter length is the distance from the point where the lines touch on
the inside of the join to the intersection of the line edges on the
outside of the join. The miter limit ratio is the maximum allowed ratio of
- the miter length to the line width. If the miter limit would be exceeded,
- the four-sided polygon is not rendered.
+ the length of the two continuation lines to the line width. If the miter
+ length would be exceeded, this second triangle must not be rendered.
<p>The miter limit ratio can be explicitly set using the <dfn id=miterlimit
title=dom-context-2d-miterLimit><code>miterLimit</code></dfn> attribute.
Modified: source
===================================================================
--- source 2008-02-10 01:15:02 UTC (rev 1206)
+++ source 2008-02-10 01:21:46 UTC (rev 1207)
@@ -14491,19 +14491,19 @@
the line width and the origin at the point of the join, must be
rendered at joins.</p>
- <p>The <code>miter</code> value means that a filled four-sided
- polygon must be rendered at the join, with two of the lines being
- the perpendicular edges of the joining lines, and the other two
- being continuations of the outside edges of the two joining lines,
- as long as required to intersect without going over the miter
- limit.</p>
+ <p>The <code>miter</code> value means that a second filled triangle
+ must (if it can given the miter length) be rendered at the join,
+ with one line being the line between the two aforementioned corners,
+ abuting the first triangle, and the other two being continuations of
+ the outside edges of the two joining lines, as long as required to
+ intersect without going over the miter length.</p>
<p>The miter length is the distance from the point where the lines
touch on the inside of the join to the intersection of the line
edges on the outside of the join. The miter limit ratio is the
- maximum allowed ratio of the miter length to the line width. If the
- miter limit would be exceeded, the four-sided polygon is not
- rendered.</p>
+ maximum allowed ratio of the length of the two continuation lines to
+ the line width. If the miter length would be exceeded, this second
+ triangle must not be rendered.</p>
<p>The miter limit ratio can be explicitly set using the <dfn
More information about the Commit-Watchers
mailing list