[canviz] r362 committed - Increase the length of the lines drawn for points from .001 px to .05 ...

0 views
Skip to first unread message

can...@googlecode.com

unread,
Feb 4, 2012, 1:49:40 AM2/4/12
to canviz-...@googlegroups.com
Revision: 362
Author: ryandesign.com
Date: Fri Feb 3 22:49:03 2012
Log: Increase the length of the lines drawn for points from .001 px
to .05 px because that seems to be the minimum length required for IE /
excanvas to actually draw anything

http://code.google.com/p/canviz/source/detail?r=362

Modified:
/path/trunk/src/Bezier.js
/path/trunk/src/Point.js

=======================================
--- /path/trunk/src/Bezier.js Tue Jan 31 17:30:29 2012
+++ /path/trunk/src/Bezier.js Fri Feb 3 22:49:03 2012
@@ -280,7 +280,7 @@
null,
// This will have an effect if there's a line thickness or end cap.
function(x, y) {
- this.lineTo(x + 0.001, y);
+ this.lineTo(x + .05, y);
},
function(x, y) {
this.lineTo(x, y);
=======================================
--- /path/trunk/src/Point.js Tue Jan 31 17:30:29 2012
+++ /path/trunk/src/Point.js Fri Feb 3 22:49:03 2012
@@ -16,6 +16,6 @@
},
makePath: function(ctx) {
ctx.moveTo(this.x, this.y);
- ctx.lineTo(this.x + 0.001, this.y);
+ ctx.lineTo(this.x + .05, this.y);
}
};

Reply all
Reply to author
Forward
0 new messages