for ( var i = 0; i < gridlines[axis].length; i++) {
y = halfDown(g.toDomYCoord(gridlines[axis][i], axis));
// Ignore the alpha value
for ( var i = 0; i < gridlines[axis].length; i++) {
y = halfDown(g.toDomYCoord(gridlines[axis][i], axis));
// Ignore the alpha value
var drawnPixeldown2 = Util.samplePixel(g.hidden_, x, y - 2).slice(0, 3);
var drawnPixeldown1 = Util.samplePixel(g.hidden_, x, y - 1).slice(0, 3);
var drawnPixel = Util.samplePixel(g.hidden_, x, y).slice(0, 3);
var drawnPixeldown2 = Util.samplePixel(g.hidden_, x, y - 2).slice(0, 3);
var drawnPixeldown1 = Util.samplePixel(g.hidden_, x, y - 1).slice(0, 3);
var drawnPixel = Util.samplePixel(g.hidden_, x, y).slice(0, 3);
emptyColor, Util.samplePixel(g.hidden_, x + 2, y).slice(0, 3));
}
};
emptyColor, Util.samplePixel(g.hidden_, x + 2, y).slice(0, 3));
}
};
y = halfDown(g.toDomYCoord(yGridlines[i], 0));
// Step through the pixels of the line and test the pattern.
for (x = halfUp(g.plotter_.area.x); x < g.plotter_.area.w; x++) {
y = halfDown(g.toDomYCoord(yGridlines[i], 0));
// Step through the pixels of the line and test the pattern.
for (x = halfUp(g.plotter_.area.x); x < g.plotter_.area.w; x++) {
// Ignore alpha
var drawnPixel = Util.samplePixel(g.hidden_, x, y).slice(0,3);
// Ignore alpha
var drawnPixel = Util.samplePixel(g.hidden_, x, y).slice(0,3);
+ y, [ 0, 0, 255 ], drawnPixel);
break;
case 1: // no fill
+ y, [ 0, 0, 255 ], drawnPixel);
break;
case 1: // no fill
+ y, [ 0, 0, 0 ], drawnPixel);
break;
}
+ y, [ 0, 0, 0 ], drawnPixel);
break;
}