Lines Matching refs:extents
19 CRrecti extents;
72 xinc = mural->extents[0].imagewindow.x2 - mural->extents[0].imagewindow.x1;
73 yinc = mural->extents[0].imagewindow.y2 - mural->extents[0].imagewindow.y1;
84 if (mural->extents[k].imagewindow.x1 == i &&
85 mural->extents[k].imagewindow.y1 == j)
87 rptr->extents = mural->extents[k].imagewindow; /* x1,y1,x2,y2 */
94 rptr->extents.x1 = i;
95 rptr->extents.y1 = j;
96 rptr->extents.x2 = i + xinc;
97 rptr->extents.y2 = j + yinc;
110 for (k=BKT_DOWNHASH(r->extents.x1, (int)mural->width);
111 k<=BKT_UPHASH(r->extents.x2, (int)mural->width) &&
115 for (m=BKT_DOWNHASH(r->extents.y1, (int)mural->height);
116 m<=BKT_UPHASH(r->extents.y2, (int)mural->height) &&
121 (bucketInfo->rhash[m][k]->extents.x1 > r->extents.x1 &&
122 bucketInfo->rhash[m][k]->extents.y1 > r->extents.y1))
149 if (r->extents.x2 == q->extents.x1 &&
150 r->extents.y1 == q->extents.y1 &&
151 r->extents.y2 == q->extents.y2)
157 if (r->extents.y2 == q->extents.y1 &&
158 r->extents.x1 == q->extents.x1 &&
159 r->extents.x2 == q->extents.x2)
185 const int w = mural->extents[i].imagewindow.x2 -
186 mural->extents[i].imagewindow.x1;
187 const int h = mural->extents[i].imagewindow.y2 -
188 mural->extents[i].imagewindow.y1;
202 mural->extents[i].imagewindow.x1, mural->extents[i].imagewindow.y1,
203 mural->extents[i].imagewindow.x2, mural->extents[i].imagewindow.y2);
208 else if ((mural->extents[i].imagewindow.x1 % optTileWidth) != 0 ||
209 (mural->extents[i].imagewindow.x2 % optTileWidth) != 0 ||
210 (mural->extents[i].imagewindow.y1 % optTileHeight) != 0 ||
211 (mural->extents[i].imagewindow.y2 % optTileHeight) != 0)
215 mural->extents[i].imagewindow.x1, mural->extents[i].imagewindow.y1,
216 mural->extents[i].imagewindow.x2, mural->extents[i].imagewindow.y2);
248 const int dx = mural->extents[0].imagewindow.x1;
249 const int dy = mural->extents[0].imagewindow.y1;
254 bounds2.x2 = mural->extents[0].imagewindow.x2 - dx; /* width */
255 bounds2.y2 = mural->extents[0].imagewindow.y2 - dy; /* height */
283 for (r = bucketInfo->rhash[by][bx]; r && bounds->y2 >= r->extents.y1;
286 for (p=r; p && bounds->x2 >= p->extents.x1; p = p->right)
289 bounds->x1 < p->extents.x2 &&
290 bounds->y1 < p->extents.y2 &&
291 bounds->y2 >= p->extents.y1 )
308 CRExtent *extent = &mural->extents[i];