Lines Matching refs:y1

155           ((r1)->y2 <= (r2)->y1)  || \
156 ((r1)->y1 >= (r2)->y2) ) )
163 ((r)->y1 <= y) )
169 ((r1)->y1 <= (r2)->y1) && \
185 pNextRect->y1 = ny1; \
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()
317 if ((pboxN->x1 >= pboxN->x2) || (pboxN->y1 >= pboxN->y2)) in RegionIsValid()
323 if ((pboxN->y1 < pboxP->y1) || in RegionIsValid()
324 ((pboxN->y1 == pboxP->y1) && in RegionIsValid()
330 (box.y1 == reg->extents.y1) && (box.y2 == reg->extents.y2)); in RegionIsValid()
430 if (pPrevBox->y2 != pCurBox->y1) 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()
516 ry1 = r->y1; \
518 while ((rBandEnd != rEnd) && (rBandEnd->y1 == ry1)) { \
568 short y1, short y2, Bool *pOverlap);
657 ybot = min(r1->y1, r2->y1); in RegionOp()
813 pReg->extents.y2 = pReg->extents.y1; in RegionSetExtents()
828 pReg->extents.y1 = pBox->y1; 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()
1010 if ((first->y1 > last->y2) || in RegionAppend()
1011 ((first->y1 == last->y1) && (first->y2 == last->y2) && in RegionAppend()
1018 dstrgn->extents.y1 = rgn->extents.y1; in RegionAppend()
1054 int y1; in QuickSortRects() local
1063 if (rects[0].y1 > rects[1].y1 || in QuickSortRects()
1064 (rects[0].y1 == rects[1].y1 && rects[0].x1 > rects[1].x1)) in QuickSortRects()
1071 y1 = rects[0].y1; in QuickSortRects()
1083 (r->y1 < y1 || (r->y1 == y1 && r->x1 < x1))); in QuickSortRects()
1088 } while (y1 < r->y1 || (y1 == r->y1 && x1 < r->x1)); in QuickSortRects()
1214 if (box->y1 == riBox->y1 && box->y2 == riBox->y2) { in RegionValidate()
1230 else if (box->y1 >= riBox->y2) { in RegionValidate()
1293 if (hreg->extents.y1 < reg->extents.y1) in RegionValidate()
1294 reg->extents.y1 = hreg->extents.y1; in RegionValidate()
1323 int x1, y1, x2, y2; in RegionFromRects() local
1332 y1 = prect->y; in RegionFromRects()
1335 if ((y2 = y1 + (int) prect->height) > MAXSHORT) in RegionFromRects()
1337 if (x1 != x2 && y1 != y2) { in RegionFromRects()
1339 pRgn->extents.y1 = y1; in RegionFromRects()
1355 y1 = prect->y; in RegionFromRects()
1358 if ((y2 = y1 + (int) prect->height) > MAXSHORT) in RegionFromRects()
1360 if (x1 != x2 && y1 != y2) { in RegionFromRects()
1362 pBox->y1 = y1; in RegionFromRects()