Lines Matching full:xlast
116 // Set iLast and xLast such that the first sample we draw is the
119 var xLast = iLast >= 0 ?
125 // drawing a sample at xLast, skip subsequent samples that are less than
126 // skipDistanceWorld from xLast.
132 ctx.lineTo(xLast, yLastView);
133 ctx.lineTo(xLast + 8 * pixWidth, yLastView);
134 ctx.lineTo(xLast + 8 * pixWidth, height);
150 if (xNext - xLast <= skipDistanceWorld && xNext < viewRWorld) {
161 if (x - xLast < skipDistanceWorld) {
162 // We know that xNext > xLast + skipDistanceWorld, so we can
166 x = xLast + skipDistanceWorld;
172 xLast = x;