Lines Matching defs:x1
89 int x1, y1, x2, y2;
99 x1 = pt1->x; y1 = pt1->y; x2 = pt2->x; y2 = pt2->y;
100 c1 = (x1 < 0) + (x1 > right) * 2 + (y1 < 0) * 4 + (y1 > bottom) * 8;
110 x1 += (int) (((int64) (a - y1)) * (x2 - x1) / (y2 - y1));
112 c1 = (x1 < 0) + (x1 > right) * 2;
117 x2 += (int) (((int64) (a - y2)) * (x2 - x1) / (y2 - y1));
126 y1 += (int) (((int64) (a - x1)) * (y2 - y1) / (x2 - x1));
127 x1 = a;
133 y2 += (int) (((int64) (a - x2)) * (y2 - y1) / (x2 - x1));
139 assert( (c1 & c2) != 0 || (x1 | y1 | x2 | y2) >= 0 );
141 pt1->x = x1;
998 int i, y, imin = 0, left = 0, right = 1, x1, x2;
1117 x1 = edge[left].x;
1122 int xx1 = (x1 + delta1) >> XY_SHIFT;
1135 x1 += edge[left].dx;
1138 edge[left].x = x1;
1343 int x1 = keep_prelast->x;
1346 if( x1 > x2 )
1348 int t = x1;
1350 x1 = x2;
1354 x1 = (x1 + XY_ONE - 1) >> XY_SHIFT;
1358 if( x1 < size.width && x2 >= 0 )
1360 if( x1 < 0 )
1361 x1 = 0;
1364 ICV_HLINE( timg, x1, x2, color, pix_size );