Home | History | Annotate | Download | only in pathops

Lines Matching refs:segment

100     SkOpSegment* other = oPtT->segment();
178 SkOpSegment* segment = current->first();
180 if (!SkPathOpsBounds::Intersects(segment->bounds(), lineBounds)) {
183 if (newPt == segment->fPts[0]) {
186 if (newPt == segment->fPts[SkPathOpsVerbToPoints(segment->fVerb)]) {
189 if (oldPt == segment->fPts[0]) {
192 if (oldPt == segment->fPts[SkPathOpsVerbToPoints(segment->fVerb)]) {
195 if (endPtT.contains(segment)) {
199 switch (segment->fVerb) {
202 bLine.set(segment->fPts);
207 bQuad.set(segment->fPts);
212 bConic.set(segment->fPts, segment->fWeight);
217 bCubic.set(segment->fPts);
228 if (checkSpan->contains(segment)) {
233 SkOpPtT* ptT = segment->addT(i[0][0], SkOpSegment::kAllowAlias, allocator);
239 } while ((segment = segment->next()));
335 // see if any existing alias matches segment, pt, and t
340 if (loop->segment() == this && loop->fT == t && ptMatch) {
358 alias->segment()->debugID(), alias->span()->debugID());
373 span->segment()->debugID(), span->debugID());
447 SkOpSegment* baseSegment = baseAngle->segment();
457 SkOpSegment* nextSegment = nextAngle->segment();
476 SkOpSegment* baseSegment = baseAngle->segment();
486 SkOpSegment* nextSegment = nextAngle->segment();
589 const SkOpSegment* oppSegment = oppAngle->segment();
681 nextSegment = nextAngle->segment();
702 SkDebugf("%s chase.append segment=%d span=%d", __FUNCTION__,
703 last->segment()->debugID(), last->debugID());
711 start->segment()->markDone(start->starter(end));
717 nextSegment = foundAngle->segment();
777 nextSegment = nextAngle->segment();
798 SkDebugf("%s chase.append segment=%d span=%d", __FUNCTION__,
799 last->segment()->debugID(), last->debugID());
807 start->segment()->markDone(start->starter(end));
813 nextSegment = foundAngle->segment();
865 nextSegment = nextAngle->segment();
875 start->segment()->markDone(start->starter(end));
881 nextSegment = foundAngle->segment();
1009 SkASSERT(angle->segment() == this);
1018 last->segment()->debugID(), last->debugID());
1031 SkASSERT(angle->segment() == this);
1043 SkDebugf("%s last segment=%d span=%d", __FUNCTION__,
1044 last->segment()->debugID(), last->debugID());
1056 SkASSERT(this == span->segment());
1069 SkASSERT(this == span->segment());
1083 SkASSERT(this == span->segment());
1099 const SkOpSegment* baseParent = base->segment();
1131 other = otherPtT->segment();
1144 if (angle->debugSign() != next->debugSign() && !angle->segment()->contour()->isXor()
1145 && !next->segment()->contour()->isXor()) {
1149 other = next->segment();
1181 SkOpSegment* opp = ptT->segment();
1208 SkOpSegment* opp = ptT->span()->segment();
1223 // FIXME?: this assumes that if the opposite segment is coincident then no more
1228 if (spanBase->segment() == opp) {
1235 // find prior span containing opp segment
1244 SkOpSegment* segment = priorPtT->span()->segment();
1245 if (segment == opp) {
1321 SkOpSegment* oppSegment = oppSpan->segment();
1367 SkOpSegment* oppPtTSegment = oppPtT->segment();
1373 if (matchPtT->segment() == oppPtTSegment) {
1430 if (this->match(startBase, testBase->segment(), testBase->fT, testBase->fPt)) {