• Home
  • Raw
  • Download

Lines Matching refs:ptIndex

171                                                  int mint, int maxt, unsigned ptIndex) {  in compute_quad_segs()  argument
177 distance = this->compute_quad_segs(tmp, distance, mint, halft, ptIndex); in compute_quad_segs()
178 distance = this->compute_quad_segs(&tmp[2], distance, halft, maxt, ptIndex); in compute_quad_segs()
184 SkASSERT(ptIndex < (unsigned)fPts.count()); in compute_quad_segs()
187 seg->fPtIndex = ptIndex; in compute_quad_segs()
198 unsigned ptIndex) { in compute_conic_segs() argument
205 distance = this->compute_conic_segs(conic, distance, mint, minPt, halft, halfPt, ptIndex); in compute_conic_segs()
206 distance = this->compute_conic_segs(conic, distance, halft, halfPt, maxt, maxPt, ptIndex); in compute_conic_segs()
212 SkASSERT(ptIndex < (unsigned)fPts.count()); in compute_conic_segs()
215 seg->fPtIndex = ptIndex; in compute_conic_segs()
224 int mint, int maxt, unsigned ptIndex) { in compute_cubic_segs() argument
230 distance = this->compute_cubic_segs(tmp, distance, mint, halft, ptIndex); in compute_cubic_segs()
231 distance = this->compute_cubic_segs(&tmp[3], distance, halft, maxt, ptIndex); in compute_cubic_segs()
237 SkASSERT(ptIndex < (unsigned)fPts.count()); in compute_cubic_segs()
240 seg->fPtIndex = ptIndex; in compute_cubic_segs()
249 unsigned ptIndex) { in compute_line_seg() argument
255 SkASSERT((unsigned)ptIndex < (unsigned)fPts.count()); in compute_line_seg()
258 seg->fPtIndex = ptIndex; in compute_line_seg()
267 int ptIndex = -1; in buildSegments() local
290 ptIndex += 1; in buildSegments()
299 distance = this->compute_line_seg(pts[0], pts[1], distance, ptIndex); in buildSegments()
302 ptIndex++; in buildSegments()
309 distance = this->compute_quad_segs(pts, distance, 0, kMaxTValue, ptIndex); in buildSegments()
312 ptIndex += 2; in buildSegments()
321 kMaxTValue, conic.fPts[2], ptIndex); in buildSegments()
328 ptIndex += 3; in buildSegments()
335 distance = this->compute_cubic_segs(pts, distance, 0, kMaxTValue, ptIndex); in buildSegments()
338 ptIndex += 3; in buildSegments()
364 distance = this->compute_line_seg(fPts[ptIndex], firstPt, distance, ptIndex); in buildSegments()
374 unsigned ptIndex = 0; in buildSegments() local
380 SkASSERT(seg->fPtIndex >= ptIndex); in buildSegments()
391 ptIndex = seg->fPtIndex; in buildSegments()