Lines Matching full:y2
116 * coordinate (y2). Thus all rectangles in a band differ only in their left
122 * the y1 to y2 area spanned by the band), then the rectangle may be broken
155 ((r1)->y2 <= (r2)->y1) || \
156 ((r1)->y1 >= (r2)->y2) ) )
162 ((r)->y2 > y) && \
170 ((r1)->y2 >= (r2)->y2) )
187 pNextRect->y2 = ny2; \
285 rgn->extents.x1, rgn->extents.y1, rgn->extents.x2, rgn->extents.y2); in RegionPrint()
288 rects[i].x1, rects[i].y1, rects[i].x2, rects[i].y2); in RegionPrint()
299 (reg->extents.y1 > reg->extents.y2)) in RegionIsValid()
304 (reg->extents.y1 == reg->extents.y2) && in RegionIsValid()
314 box.y2 = pboxP[numRects - 1].y2; in RegionIsValid()
317 if ((pboxN->x1 >= pboxN->x2) || (pboxN->y1 >= pboxN->y2)) in RegionIsValid()
325 ((pboxN->x1 < pboxP->x2) || (pboxN->y2 != pboxP->y2)))) in RegionIsValid()
330 (box.y1 == reg->extents.y1) && (box.y2 == reg->extents.y2)); in RegionIsValid()
399 * - rectangles in the previous band will have their y2 fields
413 int y2; /* Bottom of current band */ in RegionCoalesce() local
430 if (pPrevBox->y2 != pCurBox->y1) in RegionCoalesce()
439 y2 = pCurBox->y2; in RegionCoalesce()
458 pPrevBox->y2 = y2; in RegionCoalesce()
491 RegionAppendNonO(RegionPtr pReg, BoxPtr r, BoxPtr rEnd, int y1, int y2) in RegionAppendNonO() argument
498 assert(y1 < y2); in RegionAppendNonO()
507 ADDRECT(pNextRect, r->x1, y1, r->x2, y2); in RegionAppendNonO()
568 short y1, short y2, Bool *pOverlap);
695 bot = min(r1->y2, r2y1); in RegionOp()
707 bot = min(r2->y2, r1y1); in RegionOp()
724 ybot = min(r1->y2, r2->y2); in RegionOp()
733 * If we've finished with a band (y2 == ybot) we skip forward in RegionOp()
736 if (r1->y2 == ybot) in RegionOp()
738 if (r2->y2 == ybot) in RegionOp()
755 RegionAppendNonO(newReg, r1, r1BandEnd, max(r1y1, ybot), r1->y2); in RegionOp()
765 RegionAppendNonO(newReg, r2, r2BandEnd, max(r2y1, ybot), r2->y2); in RegionOp()
813 pReg->extents.y2 = pReg->extents.y1; in RegionSetExtents()
823 * it must have the largest y2, because of banding. Initialize x1 and in RegionSetExtents()
830 pReg->extents.y2 = pBoxEnd->y2; in RegionSetExtents()
832 assert(pReg->extents.y1 < pReg->extents.y2); in RegionSetExtents()
869 NEWRECT(pReg, pNextRect, x1, y1, x2, y2); \
897 BoxPtr r2, BoxPtr r2End, short y1, short y2, Bool *pOverlap) in RegionUnionO() argument
903 assert(y1 < y2); in RegionUnionO()
939 NEWRECT(pReg, pNextRect, x1, y1, x2, y2); in RegionUnionO()
998 if ((first->y1 > last->y2) || in RegionAppend()
999 ((first->y1 == last->y1) && (first->y2 == last->y2) && in RegionAppend()
1005 dstrgn->extents.y2 = rgn->extents.y2; in RegionAppend()
1010 if ((first->y1 > last->y2) || in RegionAppend()
1011 ((first->y1 == last->y1) && (first->y2 == last->y2) && in RegionAppend()
1214 if (box->y1 == riBox->y1 && box->y2 == riBox->y2) { in RegionValidate()
1230 else if (box->y1 >= riBox->y2) { in RegionValidate()
1267 extents.x2 and extents.y2 */ in RegionValidate()
1272 reg->extents.y2 = riBox->y2; in RegionValidate()
1297 if (hreg->extents.y2 > reg->extents.y2) in RegionValidate()
1298 reg->extents.y2 = hreg->extents.y2; in RegionValidate()
1323 int x1, y1, x2, y2; in RegionFromRects() local
1335 if ((y2 = y1 + (int) prect->height) > MAXSHORT) in RegionFromRects()
1336 y2 = MAXSHORT; in RegionFromRects()
1337 if (x1 != x2 && y1 != y2) { in RegionFromRects()
1341 pRgn->extents.y2 = y2; in RegionFromRects()
1358 if ((y2 = y1 + (int) prect->height) > MAXSHORT) in RegionFromRects()
1359 y2 = MAXSHORT; in RegionFromRects()
1360 if (x1 != x2 && y1 != y2) { in RegionFromRects()
1364 pBox->y2 = y2; in RegionFromRects()