• 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()
600 static bool conic_in_line(const SkConic& conic) { in conic_in_line() argument
601 return quad_in_line(conic.fPts); in conic_in_line()
643 SkPathStroker::ReductionType SkPathStroker::CheckConicLinear(const SkConic& conic, in CheckConicLinear() argument
645 bool degenerateAB = degenerate_vector(conic.fPts[1] - conic.fPts[0]); in CheckConicLinear()
646 bool degenerateBC = degenerate_vector(conic.fPts[2] - conic.fPts[1]); in CheckConicLinear()
653 if (!conic_in_line(conic)) { in CheckConicLinear()
658 SkScalar t = SkFindQuadMaxCurvature(conic.fPts); in CheckConicLinear()
662 conic.evalAt(t, reduction, nullptr); in CheckConicLinear()
688 const SkConic conic(fPrevPt, pt1, pt2, weight); in conicTo() local
690 ReductionType reductionType = CheckConicLinear(conic, &reduction); in conicTo()
718 (void) this->conicStroke(conic, &quadPts); in conicTo()
720 (void) this->conicStroke(conic, &quadPts); in conicTo()
721 this->setConicEndNormal(conic, normalAB, unitAB, &normalBC, &unitBC); in conicTo()
782 void SkPathStroker::conicPerpRay(const SkConic& conic, SkScalar t, SkPoint* tPt, SkPoint* onPt, in conicPerpRay() argument
785 conic.evalAt(t, tPt, &dxy); in conicPerpRay()
787 dxy = conic.fPts[2] - conic.fPts[0]; in conicPerpRay()
793 void SkPathStroker::conicQuadEnds(const SkConic& conic, SkQuadConstruct* quadPts) const { in conicQuadEnds() argument
796 this->conicPerpRay(conic, quadPts->fStartT, &conicStartPt, &quadPts->fQuad[0], in conicQuadEnds()
802 this->conicPerpRay(conic, quadPts->fEndT, &conicEndPt, &quadPts->fQuad[2], in conicQuadEnds()
1057 SkPathStroker::ResultType SkPathStroker::compareQuadConic(const SkConic& conic, in compareQuadConic() argument
1060 this->conicQuadEnds(conic, quadPts); in compareQuadConic()
1068 this->conicPerpRay(conic, quadPts->fMidT, &ray[1], &ray[0], nullptr); in compareQuadConic()
1173 bool SkPathStroker::conicStroke(const SkConic& conic, SkQuadConstruct* quadPts) { in conicStroke() argument
1174 ResultType resultType = this->compareQuadConic(conic, quadPts); in conicStroke()
1194 if (!this->conicStroke(conic, &half)) { in conicStroke()
1198 if (!this->conicStroke(conic, &half)) { in conicStroke()