• Home
  • Raw
  • Download

Lines Matching refs:conic

458 void SkPathStroker::setConicEndNormal(const SkConic& conic, const SkVector& normalAB,  in setConicEndNormal()  argument
460 setQuadEndNormal(conic.fPts, normalAB, unitNormalAB, normalBC, unitNormalBC); in setConicEndNormal()
599 static bool conic_in_line(const SkConic& conic) { in conic_in_line() argument
600 return quad_in_line(conic.fPts); in conic_in_line()
642 SkPathStroker::ReductionType SkPathStroker::CheckConicLinear(const SkConic& conic, in CheckConicLinear() argument
644 bool degenerateAB = degenerate_vector(conic.fPts[1] - conic.fPts[0]); in CheckConicLinear()
645 bool degenerateBC = degenerate_vector(conic.fPts[2] - conic.fPts[1]); in CheckConicLinear()
652 if (!conic_in_line(conic)) { in CheckConicLinear()
657 SkScalar t = SkFindQuadMaxCurvature(conic.fPts); in CheckConicLinear()
661 conic.evalAt(t, reduction, nullptr); in CheckConicLinear()
687 const SkConic conic(fPrevPt, pt1, pt2, weight); in conicTo() local
689 ReductionType reductionType = CheckConicLinear(conic, &reduction); in conicTo()
717 (void) this->conicStroke(conic, &quadPts); in conicTo()
719 (void) this->conicStroke(conic, &quadPts); in conicTo()
720 this->setConicEndNormal(conic, normalAB, unitAB, &normalBC, &unitBC); in conicTo()
786 void SkPathStroker::conicPerpRay(const SkConic& conic, SkScalar t, SkPoint* tPt, SkPoint* onPt, in conicPerpRay() argument
789 conic.evalAt(t, tPt, &dxy); in conicPerpRay()
791 dxy = conic.fPts[2] - conic.fPts[0]; in conicPerpRay()
797 void SkPathStroker::conicQuadEnds(const SkConic& conic, SkQuadConstruct* quadPts) const { in conicQuadEnds() argument
800 this->conicPerpRay(conic, quadPts->fStartT, &conicStartPt, &quadPts->fQuad[0], in conicQuadEnds()
806 this->conicPerpRay(conic, quadPts->fEndT, &conicEndPt, &quadPts->fQuad[2], in conicQuadEnds()
1061 SkPathStroker::ResultType SkPathStroker::compareQuadConic(const SkConic& conic, in compareQuadConic() argument
1064 this->conicQuadEnds(conic, quadPts); in compareQuadConic()
1072 this->conicPerpRay(conic, quadPts->fMidT, &ray[1], &ray[0], nullptr); in compareQuadConic()
1177 bool SkPathStroker::conicStroke(const SkConic& conic, SkQuadConstruct* quadPts) { in conicStroke() argument
1178 ResultType resultType = this->compareQuadConic(conic, quadPts); in conicStroke()
1198 if (!this->conicStroke(conic, &half)) { in conicStroke()
1202 if (!this->conicStroke(conic, &half)) { in conicStroke()