Lines Matching refs:dx0
50 let dx0 = x + PAD2 + (w - 2 * PAD2) * 1.0 * i / buckets.length,
70 ctx.fillRect(dx0, dy0, dx1 - dx0, dy1 - dy0);
728 let dx0 = MapXCoord(
735 dx0 = Math.max(dx0, LEFT_MARGIN);
737 let dw = Math.max(0, dx1 - dx0);
741 ctx.fillRect(dx0, dy0, dw, dy1 - dy0);
753 [dx0 - X_TOLERANCE, dx0 + dw + X_TOLERANCE],
758 if (is_in_viewport) ctx.fillRect(dx0, dy0, dw, dy1 - dy0);
793 ctx.fillRect(dx0, dy0, dw, dy1 - dy0);
806 if (dx0+dw - last_dx_begin > 1 ||
814 last_dx_begin = dx0;
818 ctx.strokeRect(dx0, dy0, dw, dy1 - dy0);
821 last_dx_end = dx0 + dw;
833 ctx.arc(dx0, (dy0 + dy1) / 2, HISTOGRAM_H * 0.17, 0, 2 * Math.PI);
976 let dx0 = MapXCoord(
982 dx0 = Math.max(dx0, LEFT_MARGIN);
984 let dw = Math.max(1, dx1 - dx0); // At least 1 pixel wide during rendering
989 dxx0 = dx0;
995 if (dxx1 == undefined || dx0 < dxx1 + MERGE_THRESH) should_draw = false;