[html5] r3047 - [gow] (2) Simplify Philip's crazy arc ideas using more crazy arc ideas. I hope t [...]

whatwg at whatwg.org whatwg at whatwg.org
Thu Apr 30 16:07:38 PDT 2009


Author: ianh
Date: 2009-04-30 16:07:37 -0700 (Thu, 30 Apr 2009)
New Revision: 3047

Modified:
   index
   source
Log:
[gow] (2) Simplify Philip's crazy arc ideas using more crazy arc ideas. I hope this makes sense to someone. If it doesn't, let me know, please... (credit: pt)

Modified: index
===================================================================
--- index	2009-04-30 23:01:06 UTC (rev 3046)
+++ index	2009-04-30 23:07:37 UTC (rev 3047)
@@ -23966,18 +23966,10 @@
   must add the point (<var title="">x1</var>, <var title="">y1</var>)
   to the subpath, and connect that point to the previous point (<var title="">x0</var>, <var title="">y0</var>) by a straight line.</p>
 
-  <p>Otherwise, if the points (<var title="">x0</var>, <var title="">y0</var>), (<var title="">x1</var>, <var title="">y1</var>), and (<var title="">x2</var>, <var title="">y2</var>) all lie on a single straight line, then: if the
-  direction from (<var title="">x0</var>, <var title="">y0</var>) to
-  (<var title="">x1</var>, <var title="">y1</var>) is the same as the
-  direction from (<var title="">x1</var>, <var title="">y1</var>) to
-  (<var title="">x2</var>, <var title="">y2</var>), then the method
-  must add the point (<var title="">x1</var>, <var title="">y1</var>)
-  to the subpath, and connect that point to the previous point (<var title="">x0</var>, <var title="">y0</var>) by a straight line;
-  otherwise, the direction from (<var title="">x0</var>, <var title="">y0</var>) to (<var title="">x1</var>, <var title="">y1</var>) is the opposite of the direction from (<var title="">x1</var>, <var title="">y1</var>) to (<var title="">x2</var>, <var title="">y2</var>), and the method must add
-  a point (<var title="">x<sub>∞</sub></var>, <var title="">y<sub>∞</sub></var>) to the subpath, and connect that
-  point to the previous point (<var title="">x0</var>, <var title="">y0</var>) by a straight line, where (<var title="">x<sub>∞</sub></var>, <var title="">y<sub>∞</sub></var>) is the point that is infinitely
-  far away from (<var title="">x1</var>, <var title="">y1</var>), that
-  lies on the same line as (<var title="">x0</var>, <var title="">y0</var>), (<var title="">x1</var>, <var title="">y1</var>), and (<var title="">x2</var>, <var title="">y2</var>), and that is on the same side of (<var title="">x1</var>, <var title="">y1</var>) on that line as (<var title="">x2</var>, <var title="">y2</var>).</p>
+  <p>Otherwise, if the points (<var title="">x0</var>, <var title="">y0</var>), (<var title="">x1</var>, <var title="">y1</var>), and (<var title="">x2</var>, <var title="">y2</var>) all lie on a single straight line, then, then the
+  method must add the point (<var title="">x1</var>, <var title="">y1</var>) to the subpath, and connect that point to the
+  previous point (<var title="">x0</var>, <var title="">y0</var>) by a
+  straight line.</p>
 
   <p>Otherwise, let <var title="">The Arc</var> be the shortest arc
   given by circumference of the circle that has radius <var title="">radius</var>, and that has one point tangent to the

Modified: source
===================================================================
--- source	2009-04-30 23:01:06 UTC (rev 3046)
+++ source	2009-04-30 23:07:37 UTC (rev 3047)
@@ -26270,32 +26270,11 @@
   <p>Otherwise, if the points (<var title="">x0</var>, <var
   title="">y0</var>), (<var title="">x1</var>, <var
   title="">y1</var>), and (<var title="">x2</var>, <var
-  title="">y2</var>) all lie on a single straight line, then: if the
-  direction from (<var title="">x0</var>, <var title="">y0</var>) to
-  (<var title="">x1</var>, <var title="">y1</var>) is the same as the
-  direction from (<var title="">x1</var>, <var title="">y1</var>) to
-  (<var title="">x2</var>, <var title="">y2</var>), then the method
-  must add the point (<var title="">x1</var>, <var title="">y1</var>)
-  to the subpath, and connect that point to the previous point (<var
-  title="">x0</var>, <var title="">y0</var>) by a straight line;
-  otherwise, the direction from (<var title="">x0</var>, <var
-  title="">y0</var>) to (<var title="">x1</var>, <var
-  title="">y1</var>) is the opposite of the direction from (<var
-  title="">x1</var>, <var title="">y1</var>) to (<var
-  title="">x2</var>, <var title="">y2</var>), and the method must add
-  a point (<var title="">x<sub>∞</sub></var>, <var
-  title="">y<sub>∞</sub></var>) to the subpath, and connect that
-  point to the previous point (<var title="">x0</var>, <var
-  title="">y0</var>) by a straight line, where (<var
-  title="">x<sub>∞</sub></var>, <var
-  title="">y<sub>∞</sub></var>) is the point that is infinitely
-  far away from (<var title="">x1</var>, <var title="">y1</var>), that
-  lies on the same line as (<var title="">x0</var>, <var
-  title="">y0</var>), (<var title="">x1</var>, <var
-  title="">y1</var>), and (<var title="">x2</var>, <var
-  title="">y2</var>), and that is on the same side of (<var
-  title="">x1</var>, <var title="">y1</var>) on that line as (<var
-  title="">x2</var>, <var title="">y2</var>).</p>
+  title="">y2</var>) all lie on a single straight line, then, then the
+  method must add the point (<var title="">x1</var>, <var
+  title="">y1</var>) to the subpath, and connect that point to the
+  previous point (<var title="">x0</var>, <var title="">y0</var>) by a
+  straight line.</p>
 
   <p>Otherwise, let <var title="">The Arc</var> be the shortest arc
   given by circumference of the circle that has radius <var




More information about the Commit-Watchers mailing list