Home | History | Annotate | Download | only in src

Lines Matching defs:x1

82     int64 x1, y1, x2, y2;
89 x1 = pt1.x; y1 = pt1.y; x2 = pt2.x; y2 = pt2.y;
90 c1 = (x1 < 0) + (x1 > right) * 2 + (y1 < 0) * 4 + (y1 > bottom) * 8;
99 x1 += (a - y1) * (x2 - x1) / (y2 - y1);
101 c1 = (x1 < 0) + (x1 > right) * 2;
106 x2 += (a - y2) * (x2 - x1) / (y2 - y1);
115 y1 += (a - x1) * (y2 - y1) / (x2 - x1);
116 x1 = a;
122 y2 += (a - x2) * (y2 - y1) / (x2 - x1);
128 assert( (c1 & c2) != 0 || (x1 | y1 | x2 | y2) >= 0 );
130 pt1.x = (int)x1;
1046 int i, y, imin = 0, left = 0, right = 1, x1, x2;
1164 x1 = edge[left].x;
1169 int xx1 = (x1 + delta1) >> XY_SHIFT;
1182 x1 += edge[left].dx;
1185 edge[left].x = x1;
1280 int x1 = e1.x + (e1.y1 - e1.y0) * e1.dx;
1285 x_min = std::min( x_min, x1 );
1286 x_max = std::max( x_max, x1 );
1345 int x1 = keep_prelast->x;
1348 if( x1 > x2 )
1350 int t = x1;
1352 x1 = x2;
1356 x1 = (x1 + XY_ONE - 1) >> XY_SHIFT;
1360 if( x1 < size.width && x2 >= 0 )
1362 if( x1 < 0 )
1363 x1 = 0;
1366 ICV_HLINE( timg, x1, x2, color, pix_size );