Lines Matching refs:npts
73 icvFillConvexPoly( CvMat* img, CvPoint* v, int npts,
988 icvFillConvexPoly( CvMat* img, CvPoint *v, int npts, const void* color, int line_type, int shift )
999 int edges = npts;
1013 p0 = v[npts - 1];
1021 for( i = 0; i < npts; i++ )
1061 if( npts < 3 || xmax < 0 || ymax < 0 || xmin >= size.width || ymin >= size.height )
1069 edge[1].di = npts - 1;
1091 idx -= ((idx < npts) - 1) & npts; /* idx -= idx >= npts ? npts : 0 */
1914 cvFillConvexPoly( void *img, CvPoint *pts, int npts, CvScalar color, int line_type, int shift )
1935 if( npts <= 0 )
1942 icvFillConvexPoly( mat, pts, npts, buf, line_type, shift );
1949 cvFillPoly( void *img, CvPoint **pts, int *npts, int contours,
1976 if( npts <= 0 )
1998 if( npts[i] < 0 )
2002 pts[i], npts[i], &vtx, &block );
2018 cvPolyLine( void *img, CvPoint **pts, int *npts,
2047 if( npts <= 0 )
2056 icvPolyLine( mat, pts[i], npts[i], closed, buf, thickness, line_type, shift );