Lines Matching refs:segment
70 lh->segment()->debugID(), lh->debugID(), lh->fSectorStart, lh->fSectorEnd,
72 segment()->debugID(), debugID(), fSectorStart, fSectorEnd, fStart->t(), fEnd->t(),
73 rh->segment()->debugID(), rh->debugID(), rh->fSectorStart, rh->fSectorEnd,
90 lh->segment()->debugID(), lh->debugID(), lh->fSectorStart, lh->fSectorEnd,
92 segment()->debugID(), debugID(), fSectorStart, fSectorEnd, fStart->t(), fEnd->t(),
93 rh->segment()->debugID(), rh->debugID(), rh->fSectorStart, rh->fSectorEnd,
180 if (segment()->verb() == SkPath::kLine_Verb) {
181 const SkPoint* linePts = segment()->pts();
188 SkPath::Verb testVerb = test->segment()->verb();
247 if (!fCurvePart[SkPathOpsVerbToPoints(this->segment()->verb())].approximatelyEqual(
248 rh->fCurvePart[SkPathOpsVerbToPoints(rh->segment()->verb())])) {
263 SkDVector m0 = segment()->dPtAtT(this->midT()) - this->fCurvePart[0];
264 SkDVector m1 = rh->segment()->dPtAtT(rh->midT()) - rh->fCurvePart[0];
290 const SkOpSegment* other = checkEnd->segment();
293 if (oSpan->segment() != segment()) {
309 SkOpSpanBase* computedEnd = stepUp ? checkEnd ? checkEnd->prev() : fEnd->segment()->head()
310 : checkEnd ? checkEnd->upCast()->next() : fEnd->segment()->tail();
359 SkDVector m0 = this->segment()->dPtAtT(this->midT()) - this->fCurvePart[0];
360 SkDVector m1 = rh->segment()->dPtAtT(rh->midT()) - rh->fCurvePart[0];
377 const SkOpSegment& segment = *this->segment();
378 int ptCount = SkPathOpsVerbToPoints(segment.verb());
379 const SkPoint* pts = segment.pts();
395 SkPath::Verb lVerb = this->segment()->verb();
396 SkPath::Verb rVerb = rh->segment()->verb();
412 const SkOpSegment& segment = index ? *rh->segment() : *this->segment();
414 (*CurveIntersectRay[cVerb])(segment.pts(), segment.weight(), rays[index], &i);
440 const SkOpSegment& segment = index ? *rh->segment() : *this->segment();
441 const SkDPoint& dPt = segment.dPtAtT(smallTs[index]);
490 const SkOpSegment& segment = sIndex ? *rh->segment() : *this->segment();
492 SkDVector mid = segment.dPtAtT(tStart + (sCeptT - tStart) / 2) - curve[0];
504 const SkOpSegment* segment = this->segment();
505 SkPath::Verb verb = segment->verb();
509 SkDVector slopeAtEnd = (*CurveDSlopeAtT[verb])(segment->pts(), segment->weight(),
514 const SkOpSegment* oppSegment = rh->segment();
594 return this->segment()->globalState();
672 const SkOpSegment* tSegment = angle->fStart->segment();
676 const SkOpSegment* lSegment = loop->fStart->segment();
729 const SkOpSegment* segment = this->segment();
730 SkPath::Verb verb = segment->verb();
741 (*CurveIntersectRay[verb])(segment->pts(), segment->weight(), rayMid, &iMid);
746 const SkOpSegment* oppSegment = rh->segment();
825 SkOpSegment* SkOpAngle::segment() const {
826 return fStart->segment();
843 const SkOpSegment* segment = fStart->segment();
844 if (SkPath::kLine_Verb == segment->verb()) {
849 if (SkPath::kCubic_Verb != segment->verb()) {
890 const SkOpSegment* segment = fStart->segment();
891 const SkPoint* pts = segment->pts();
895 SkDEBUGCODE(fCurvePart.fVerb = segment->verb());
896 segment->subDivide(fStart, fEnd, &fCurvePart);
898 const SkPath::Verb verb = segment->verb();
929 // OPTIMIZATION: keep inflections precomputed with cubic segment?
957 SkDPoint pt = dcubic_xy_at_t(pts, segment->weight(), testT);
977 const SkOpSegment* segment = fStart->segment();
978 SkPath::Verb verb = segment->verb();
995 fComputeSector = true; // can't determine sector until segment length can be found