Lines Matching defs:const

16     static bool CompareResult(const char* func, SkString* bugOut, SkString* bugPart, int append,
215 int SkOpAngle::lineOnOneSide(const SkDPoint& origin, const SkDVector& line, const SkOpAngle* test,
216 bool useOriginal) const {
221 const SkDCurve& testCurve = useOriginal ? test->fOriginalCurvePart : test->fPart.fCurve;
249 int SkOpAngle::lineOnOneSide(const SkOpAngle* test, bool useOriginal) {
263 int SkOpAngle::linesOnOriginalSide(const SkOpAngle* test) {
270 const SkDCurve& testCurve = test->fOriginalCurvePart;
297 void SkOpAngle::alignmentSameSide(const SkOpAngle* test, int* order) const {
309 const SkDPoint& xOrigin = test->fPart.fCurve.fLine[0];
310 const SkDPoint& oOrigin = test->fOriginalCurvePart.fLine[0];
318 const SkDPoint& testPt = fPart.fCurve[index];
328 bool SkOpAngle::checkCrossesZero() const {
337 const SkDVector* sweep, * tweep;
399 const SkOpSegment* other = checkEnd->segment();
400 const SkOpSpanBase* oSpan = other->head();
436 int SkOpAngle::convexHullOverlaps(const SkOpAngle* rh) {
437 const SkDVector* sweep = this->fPart.fSweep;
438 const SkDVector* tweep = rh->fPart.fSweep;
484 double SkOpAngle::distEndRatio(double dist) const {
486 const SkOpSegment& segment = *this->segment();
488 const SkPoint* pts = segment.pts();
521 const SkOpSegment& segment = index ? *rh->segment() : *this->segment();
549 const SkOpSegment& segment = index ? *rh->segment() : *this->segment();
550 const SkDPoint& dPt = segment.dPtAtT(smallTs[index]);
580 const SkDCurve& curve = index ? rh->fPart.fCurve : this->fPart.fCurve;
604 const SkDPoint& origin = rh->fOriginalCurvePart[0];
606 const SkDVector line = rh->fOriginalCurvePart[count] - origin;
623 const SkDCurve& curve = sIndex ? rh->fPart.fCurve : this->fPart.fCurve;
624 const SkOpSegment& segment = sIndex ? *rh->segment() : *this->segment();
637 bool SkOpAngle::endToSide(const SkOpAngle* rh, bool* inside) const {
638 const SkOpSegment* segment = this->segment();
648 const SkOpSegment* oppSegment = rh->segment();
665 const SkDCurve& curve = rh->fPart.fCurve;
678 const SkDPoint* endPt = &rayEnd[0];
708 int SkOpAngle::findSector(SkPath::Verb verb, double x, double y) const {
715 static const int sedecimant[3][3][3] = {
727 SkOpGlobalState* SkOpAngle::globalState() const {
786 SkOpSpanBase* SkOpAngle::lastMarked() const {
796 bool SkOpAngle::loopContains(const SkOpAngle* angle) const {
800 const SkOpAngle* first = this;
801 const SkOpAngle* loop = this;
802 const SkOpSegment* tSegment = angle->fStart->segment();
806 const SkOpSegment* lSegment = loop->fStart->segment();
822 int SkOpAngle::loopCount() const {
824 const SkOpAngle* first = this;
825 const SkOpAngle* next = this;
854 double SkOpAngle::midT() const {
858 bool SkOpAngle::midToSide(const SkOpAngle* rh, bool* inside) const {
859 const SkOpSegment* segment = this->segment();
861 const SkPoint& startPt = this->fStart->pt();
862 const SkPoint& endPt = this->fEnd->pt();
876 const SkOpSegment* oppSegment = rh->segment();
894 bool SkOpAngle::oppositePlanes(const SkOpAngle* rh) const {
943 SkOpAngle* SkOpAngle::previous() const {
954 SkOpSegment* SkOpAngle::segment() const {
976 const SkOpSegment* segment = fStart->segment();
977 const SkPoint* pts = segment->pts();
984 const SkPath::Verb verb = segment->verb();
998 const SkPoint& cP1 = pts[fStart->t() < fEnd->t()];
1064 const SkOpSegment* segment = fStart->segment();
1114 bool SkOpAngle::tangentsDiverge(const SkOpAngle* rh, double s0xt0) {
1127 const SkDVector* sweep = fPart.fSweep;
1128 const SkDVector* tweep = rh->fPart.fSweep;