Lines Matching refs:x2
60 TGASubsequentSolidLine(ScrnInfoPtr pScrn, int x1, int y1, int x2, int y2,
63 TGASetupForClippedLine(ScrnInfoPtr pScrn, int x1, int y1, int x2, int y2,
74 TGASubsequentDashedLine(ScrnInfoPtr pScrn, int x1, int y1, int x2, int y2,
121 int x1, x2, y1, y2, tmp, len;
141 x2 = ppt->x + xorg;
152 x2 = pSeg->x2 + xorg;
156 x1 = x2;
163 x2 = ppt->x + xorg;
167 if (x1 == x2) { /* vertical line */
190 if ((x1 >= pbox->x1) && (x1 < pbox->x2)) {
205 if (x1 > x2) {
206 tmp = x2;
207 x2 = x1 + 1;
214 else if (pGC->capStyle != CapNotLast) x2++;
228 if (pbox->x2 <= x1) {
236 if (pbox->x1 >= x2) {
242 len = min(x2, pbox->x2) - tmp;
251 x2 = ppt->x + xorg;
258 if((dmaj = x2 - x1) < 0) {
282 OUTCODES(oc2, x2, y2, pbox);
284 TGASubsequentSolidLine(infoRec->pScrn, x1, y1, x2, y2,
296 int new_x1 = x1, new_y1 = y1, new_x2 = x2, new_y2 = y2;
309 pbox->x2 - 1, pbox->y2 - 1,
353 TGASetupForClippedLine(infoRec->pScrn, x1, y1, x2,
382 if ((x2 >= pbox->x1) && (y2 >= pbox->y1) &&
383 (x2 < pbox->x2) && (y2 < pbox->y2))
385 TGASubsequentSolidHorVertLine(infoRec->pScrn, x2, y2, 1,
435 int x1, x2, y1, y2, tmp, len, offset;
459 x2 = ppt->x + xorg;
470 x2 = pSeg->x2 + xorg;
474 x1 = x2;
481 x2 = ppt->x + xorg;
487 if((dmaj = x2 - x1) < 0) {
511 OUTCODES(oc2, x2, y2, pbox);
513 TGASubsequentDashedLine(infoRec->pScrn, x1, y1, x2, y2,
523 int new_x1 = x1, new_y1 = y1, new_x2 = x2, new_y2 = y2;
536 pbox->x2 - 1, pbox->y2 - 1,
588 TGASetupForClippedLine(infoRec->pScrn, x1, x2, y1, y2,
599 tmp = abs(x2 - x1);
619 if ((x2 >= pbox->x1) && (y2 >= pbox->y1) &&
620 (x2 < pbox->x2) && (y2 < pbox->y2))
622 TGASubsequentDashedLine(infoRec->pScrn, x2, y2, x2, y2, 0, 0,