Lines Matching refs:dx
760 for (int x = cx - 1, y = 1, dx = 1; y <= s - 2; y += 2) {
767 g.drawLine(x + 1, y, x + dx, y);
769 g.drawLine(x, y + 1, x + dx + 1, y + 1);
772 g.drawLine(x + dx + 1, y, x + dx + 1, y);
774 g.drawLine(x + 1, y + 1, x + dx + 1, y + 1);
776 dx += 2;
784 for (int x = cx - 1, y = s - 1, dx = 1; y >= 1; y -= 2) {
788 g.drawLine(x, y - 1, x + dx + 1, y - 1);
791 g.drawLine(x + 1, y, x + dx, y);
793 g.drawLine(x, y - 1, x + dx + 1, y - 1);
796 g.drawLine(x + dx + 1, y, x + dx + 1, y);
798 dx += 2;