Lines Matching refs:pt0
1041 CvPoint pt0, pt1; in icvFillConvexPoly() local
1042 pt0.x = p0.x >> XY_SHIFT; in icvFillConvexPoly()
1043 pt0.y = p0.y >> XY_SHIFT; in icvFillConvexPoly()
1046 icvLine( img, pt0, pt1, color, line_type ); in icvFillConvexPoly()
1166 CvPoint pt0, pt1, t0, t1; in icvCollectPolyEdges() local
1168 CV_READ_EDGE( pt0, pt1, reader ); in icvCollectPolyEdges()
1172 pt0.x = (pt0.x + offset.x) << (XY_SHIFT - shift); in icvCollectPolyEdges()
1173 pt0.y = (pt0.y + delta) >> shift; in icvCollectPolyEdges()
1182 x.i = pt0.x; y.i = pt0.y; in icvCollectPolyEdges()
1183 pt0.x = cvRound((x.f + offset.x) * XY_ONE); in icvCollectPolyEdges()
1184 pt0.y = cvRound(y.f + offset.y); in icvCollectPolyEdges()
1192 t0.y = pt0.y; t1.y = pt1.y; in icvCollectPolyEdges()
1193 t0.x = (pt0.x + (XY_ONE >> 1)) >> XY_SHIFT; in icvCollectPolyEdges()
1199 t0.x = pt0.x; t1.x = pt1.x; in icvCollectPolyEdges()
1200 t0.y = pt0.y << XY_SHIFT; in icvCollectPolyEdges()
1205 if( pt0.y == pt1.y ) in icvCollectPolyEdges()
1208 if( pt0.y > pt1.y ) in icvCollectPolyEdges()
1209 CV_SWAP( pt0, pt1, t0 ); in icvCollectPolyEdges()
1211 bounds.y = MIN( bounds.y, pt0.y ); in icvCollectPolyEdges()
1214 if( pt0.x < pt1.x ) in icvCollectPolyEdges()
1216 bounds.x = MIN( bounds.x, pt0.x ); in icvCollectPolyEdges()
1222 bounds.width = MAX( bounds.width, pt0.x ); in icvCollectPolyEdges()
1225 edge.y0 = pt0.y; in icvCollectPolyEdges()
1227 edge.x = pt0.x; in icvCollectPolyEdges()
1228 edge.dx = (pt1.x - pt0.x) / (pt1.y - pt0.y); in icvCollectPolyEdges()