Lines Matching refs:rect
107 rfbLog("blackout rect: %s: x=%d-%d y=%d-%d\n", p,
153 sraRect rect;
204 while (sraRgnIteratorNext(iter, &rect)) {
207 if (rect.x1 > rect.x2) {
208 int tmp = rect.x2;
209 rect.x2 = rect.x1;
210 rect.x1 = tmp;
212 if (rect.y1 > rect.y2) {
213 int tmp = rect.y2;
214 rect.y2 = rect.y1;
215 rect.y1 = tmp;
219 tile_blackout[n].bo[cnt].x1 = rect.x1;
220 tile_blackout[n].bo[cnt].y1 = rect.y1;
221 tile_blackout[n].bo[cnt].x2 = rect.x2;
222 tile_blackout[n].bo[cnt].y2 = rect.y2;
225 if (rect.x1 == x1 && rect.y1 == y1 &&
226 rect.x2 == x2 && rect.y2 == y2) {
343 sraRect rect;
434 while (sraRgnIteratorNext(iter, &rect)) {
438 if (rect.x1 > rect.x2) {
439 int tmp = rect.x2;
440 rect.x2 = rect.x1;
441 rect.x1 = tmp;
443 if (rect.y1 > rect.y2) {
444 int tmp = rect.y2;
445 rect.y2 = rect.y1;
446 rect.y1 = tmp;
448 x = rect.x1;
449 y = rect.y1;
450 w = rect.x2 - x;
451 h = rect.y2 - y;