Lines Matching refs:cur_rect
68 CvRect cur_rect = windowIn;
100 CV_CALL( cvGetSubRect( mat, &cur_win, cur_rect ));
111 nx = cur_rect.x + dx;
112 ny = cur_rect.y + dy;
116 else if( nx + cur_rect.width > mat->cols )
117 nx = mat->cols - cur_rect.width;
121 else if( ny + cur_rect.height > mat->rows )
122 ny = mat->rows - cur_rect.height;
124 dx = nx - cur_rect.x;
125 dy = ny - cur_rect.y;
126 cur_rect.x = nx;
127 cur_rect.y = ny;
138 comp->rect = cur_rect;