Lines Matching refs:tangents
3469 SkTDArray<SkVector>* tangents) { in tangent_cubic() argument
3492 tangents->push_back(tangent); in tangent_cubic()
3497 SkTDArray<SkVector>* tangents) { in tangent_conic() argument
3519 tangents->push_back(conic.evalTangentAt(t)); in tangent_conic()
3524 SkTDArray<SkVector>* tangents) { in tangent_quad() argument
3545 tangents->push_back(SkEvalQuadTangentAt(pts, t)); in tangent_quad()
3550 SkTDArray<SkVector>* tangents) { in tangent_line() argument
3568 tangents->push_back(v); in tangent_line()
3630 SkTDArray<SkVector> tangents; in contains() local
3633 int oldCount = tangents.count(); in contains()
3639 tangent_line(pts, x, y, &tangents); in contains()
3642 tangent_quad(pts, x, y, &tangents); in contains()
3645 tangent_conic(pts, x, y, iter.conicWeight(), &tangents); in contains()
3648 tangent_cubic(pts, x, y, &tangents); in contains()
3654 if (tangents.count() > oldCount) { in contains()
3655 int last = tangents.count() - 1; in contains()
3656 const SkVector& tangent = tangents[last]; in contains()
3658 tangents.remove(last); in contains()
3661 const SkVector& test = tangents[index]; in contains()
3665 tangents.remove(last); in contains()
3666 tangents.removeShuffle(index); in contains()
3673 return SkToBool(tangents.count()) ^ isInverse; in contains()