Lines Matching refs:riBox
1155 BoxPtr riBox; /* Last box in ri[j].reg */
1213 riBox = RegionEnd(reg);
1215 if (box->y1 == riBox->y1 && box->y2 == riBox->y2) {
1216 /* box is in same band as riBox. Merge or append it */
1217 if (box->x1 <= riBox->x2) {
1218 /* Merge it with riBox */
1219 if (box->x1 < riBox->x2)
1221 if (box->x2 > riBox->x2)
1222 riBox->x2 = box->x2;
1231 else if (box->y1 >= riBox->y2) {
1233 if (reg->extents.x2 < riBox->x2)
1234 reg->extents.x2 = riBox->x2;
1272 riBox = RegionEnd(reg);
1273 reg->extents.y2 = riBox->y2;
1274 if (reg->extents.x2 < riBox->x2)
1275 reg->extents.x2 = riBox->x2;