Lines Matching defs:x1

160         int mx, my, x1, y1;
166 mx = x1 = xPoints[off] + transx;
173 x1, y1, x2, y2);
174 x1 = x2;
177 if (close && (x1 != mx || y1 != my)) {
179 x1, y1, mx, my);
184 int x1, int y1, int x2, int y2) {
186 (WritableRaster) sData.getRaster(x1, y1, x2-x1, y2-y1);
190 for (int x = x1; x < x2; x++) {
214 int x1 = boundPts[0];
220 sData.getRaster(Math.min(x1, x2), Math.min(y1, y2),
221 Math.abs(x1 - x2) + 1, Math.abs(y1 - y2) + 1);
225 if (x1 == x2) {
228 pw.writePixel(x1, y1);
233 pw.writePixel(x1, y1);
238 if (x1 > x2) {
240 pw.writePixel(x1, y1);
241 x1--;
242 } while (x1 >= x2);
245 pw.writePixel(x1, y1);
246 x1++;
247 } while (x1 <= x2);
270 steps = x2 - x1;
289 if (x1 != origx1) {
290 int xsteps = x1 - origx1;
301 pw.writePixel(x1, y1);
302 x1 += bumpmajor;
311 pw.writePixel(x1, y1);
315 x1 += bumpminor;
445 int x1 = boundPts[0];
454 if (x1 == x2) {
455 if (x1 < cxmin || x1 > cxmax) {
478 if (x1 > x2) {
479 int t = x1;
480 x1 = x2;
483 if (x1 < cxmin) {
484 x1 = cxmin;
489 if (x1 > x2) {
492 boundPts[0] = x1;
497 int dx = x2 - x1;
503 outcode1 = outcode(x1, y1, cxmin, cymin, cxmax, cymax);
529 x1 = boundPts[0] + xsteps;
533 x1 = cxmin;
535 x1 = cxmax;
537 xsteps = x1 - boundPts[0];
551 outcode1 = outcode(x1, y1, cxmin, cymin, cxmax, cymax);
600 boundPts[0] = x1;
685 public void drawLine(int x0, int y0, int x1, int y1) {
687 x0, y0, x1, y1);
694 public void drawScanline(int x0, int x1, int y0) {
695 GeneralRenderer.doSetRect(sData, pw, x0, y0, x1 + 1, y0 + 1);
745 int x1, int y1, int x2, int y2)
752 x2, y2, x1, y1);
756 x1, y1, x2, y2);
890 int x1, int y1, int x2, int y2)
897 x2, y2, x1, y1);
901 x1, y1, x2, y2);