Home | History | Annotate | Download | only in src

Lines Matching refs:npts

61 CollectPolyEdges( Mat& img, const Point* v, int npts,
69 PolyLine( Mat& img, const Point* v, int npts, bool closed,
73 FillConvexPoly( Mat& img, const Point* v, int npts,
1036 FillConvexPoly( Mat& img, const Point* v, int npts, const void* color, int line_type, int shift )
1047 int edges = npts;
1060 p0 = v[npts - 1];
1068 for( i = 0; i < npts; i++ )
1108 if( npts < 3 || xmax < 0 || ymax < 0 || xmin >= size.width || ymin >= size.height )
1116 edge[1].di = npts - 1;
1138 idx -= ((idx < npts) - 1) & npts; /* idx -= idx >= npts ? npts : 0 */
1813 void fillConvexPoly( Mat& img, const Point* pts, int npts,
1816 if( !pts || npts <= 0 )
1825 FillConvexPoly( img, pts, npts, buf, line_type, shift );
1829 void fillPoly( Mat& img, const Point** pts, const int* npts, int ncontours,
1836 CV_Assert( pts && npts && ncontours >= 0 && 0 <= shift && shift <= XY_SHIFT );
1845 total += npts[i];
1849 CollectPolyEdges( img, pts[i], npts[i], edges, buf, line_type, shift, offset );
1855 void polylines( Mat& img, const Point* const* pts, const int* npts, int ncontours, bool isClosed,
1861 CV_Assert( pts && npts && ncontours >= 0 &&
1869 PolyLine( img, pts[i], npts[i], isClosed, buf, thickness, line_type, shift );
2202 int* npts = _npts;
2209 npts[i] = p.rows*p.cols*p.channels()/2;
2211 fillPoly(img, (const Point**)ptsptr, npts, (int)ncontours, color, lineType, shift, offset);
2228 int* npts = _npts;
2235 npts[i] = 0;
2240 npts[i] = p.rows*p.cols*p.channels()/2;
2242 polylines(img, (const Point**)ptsptr, npts, (int)ncontours, isClosed, color, thickness, lineType, shift);
2627 cvFillConvexPoly( CvArr* _img, const CvPoint *pts, int npts,
2631 cv::fillConvexPoly( img, (const cv::Point*)pts, npts,
2636 cvFillPoly( CvArr* _img, CvPoint **pts, const int *npts, int ncontours,
2641 cv::fillPoly( img, (const cv::Point**)pts, npts, ncontours, color, line_type, shift );
2645 cvPolyLine( CvArr* _img, CvPoint **pts, const int *npts,
2651 cv::polylines( img, (const cv::Point**)pts, npts, ncontours,