/external/skia/src/pathops/ |
D | SkIntersections.cpp | 10 int SkIntersections::closestTo(double rangeStart, double rangeEnd, const SkDPoint& testPt, in closestTo() 28 void SkIntersections::flip() { in flip() 34 int SkIntersections::insert(double one, double two, const SkDPoint& pt) { in insert() 98 void SkIntersections::insertNear(double one, double two, const SkDPoint& pt1, const SkDPoint& pt2) { in insertNear() 107 int SkIntersections::insertCoincident(double one, double two, const SkDPoint& pt) { in insertCoincident() 115 void SkIntersections::setCoincident(int index) { in setCoincident() 122 void SkIntersections::merge(const SkIntersections& a, int aIndex, const SkIntersections& b, in merge() 132 int SkIntersections::mostOutside(double rangeStart, double rangeEnd, const SkDPoint& origin) const { in mostOutside() 151 void SkIntersections::removeOne(int index) { in removeOne()
|
D | SkPathOpsTSect.cpp | 10 int SkIntersections::intersect(const SkDQuad& quad1, const SkDQuad& quad2) { in intersect() 19 int SkIntersections::intersect(const SkDConic& conic, const SkDQuad& quad) { in intersect() 28 int SkIntersections::intersect(const SkDConic& conic1, const SkDConic& conic2) { in intersect() 37 int SkIntersections::intersect(const SkDCubic& cubic, const SkDQuad& quad) { in intersect() 46 int SkIntersections::intersect(const SkDCubic& cubic, const SkDConic& conic) { in intersect() 55 int SkIntersections::intersect(const SkDCubic& cubic1, const SkDCubic& cubic2) { in intersect()
|
D | SkPathOpsCurve.h | 300 SkIntersections* i) { in line_intersect_ray() 307 SkIntersections* i) { in quad_intersect_ray() 314 SkIntersections* i) { in conic_intersect_ray() 321 SkIntersections* i) { in cubic_intersect_ray() 328 SkIntersections* ) = { 336 static void dline_intersect_ray(const SkDCurve& c, const SkDLine& ray, SkIntersections* i) { in dline_intersect_ray() 340 static void dquad_intersect_ray(const SkDCurve& c, const SkDLine& ray, SkIntersections* i) { in dquad_intersect_ray() 344 static void dconic_intersect_ray(const SkDCurve& c, const SkDLine& ray, SkIntersections* i) { in dconic_intersect_ray() 348 static void dcubic_intersect_ray(const SkDCurve& c, const SkDLine& ray, SkIntersections* i) { in dcubic_intersect_ray() 352 static void (* const CurveDIntersectRay[])(const SkDCurve& , const SkDLine& , SkIntersections* ) = { [all …]
|
D | SkAddIntersections.cpp | 14 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowLineIntersection() 35 const SkIntersections& i) { in debugShowQuadLineIntersection() 55 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowQuadIntersection() 75 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowConicLineIntersection() 95 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowConicQuadIntersection() 115 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowConicIntersection() 136 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowCubicLineIntersection() 156 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowCubicQuadIntersection() 176 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowCubicConicIntersection() 196 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowCubicIntersection() [all …]
|
D | SkDQuadLineIntersection.cpp | 97 LineQuadraticIntersections(const SkDQuad& q, const SkDLine& l, SkIntersections* i) in LineQuadraticIntersections() 419 SkIntersections* fIntersections; 423 int SkIntersections::horizontal(const SkDQuad& quad, double left, double right, double y, in horizontal() 430 int SkIntersections::vertical(const SkDQuad& quad, double top, double bottom, double x, in vertical() 437 int SkIntersections::intersect(const SkDQuad& quad, const SkDLine& line) { in intersect() 443 int SkIntersections::intersectRay(const SkDQuad& quad, const SkDLine& line) { in intersectRay() 452 int SkIntersections::HorizontalIntercept(const SkDQuad& quad, SkScalar y, double* roots) { in HorizontalIntercept() 457 int SkIntersections::VerticalIntercept(const SkDQuad& quad, SkScalar x, double* roots) { in VerticalIntercept() 465 return SkIntersections::HorizontalIntercept(*this, yIntercept, roots); in horizontalIntersect() 469 return SkIntersections::VerticalIntercept(*this, xIntercept, roots); in verticalIntersect()
|
D | SkDLineIntersection.cpp | 10 void SkIntersections::cleanUpParallelLines(bool parallel) { in cleanUpParallelLines() 32 void SkIntersections::computePoints(const SkDLine& line, int used) { in computePoints() 39 int SkIntersections::intersectRay(const SkDLine& a, const SkDLine& b) { in intersectRay() 80 int SkIntersections::intersect(const SkDLine& a, const SkDLine& b) { in intersect() 196 double SkIntersections::HorizontalIntercept(const SkDLine& line, double y) { in HorizontalIntercept() 200 int SkIntersections::horizontal(const SkDLine& line, double left, double right, in horizontal() 272 double SkIntersections::VerticalIntercept(const SkDLine& line, double x) { in VerticalIntercept() 276 int SkIntersections::vertical(const SkDLine& line, double top, double bottom, in vertical()
|
D | SkDConicLineIntersection.cpp | 19 LineConicIntersections(const SkDConic& c, const SkDLine& l, SkIntersections* i) in LineConicIntersections() 343 SkIntersections* fIntersections; 347 int SkIntersections::horizontal(const SkDConic& conic, double left, double right, double y, in horizontal() 354 int SkIntersections::vertical(const SkDConic& conic, double top, double bottom, double x, in vertical() 361 int SkIntersections::intersect(const SkDConic& conic, const SkDLine& line) { in intersect() 367 int SkIntersections::intersectRay(const SkDConic& conic, const SkDLine& line) { in intersectRay() 376 int SkIntersections::HorizontalIntercept(const SkDConic& conic, SkScalar y, double* roots) { in HorizontalIntercept() 381 int SkIntersections::VerticalIntercept(const SkDConic& conic, SkScalar x, double* roots) { in VerticalIntercept()
|
D | SkDCubicLineIntersection.cpp | 85 LineCubicIntersections(const SkDCubic& c, const SkDLine& l, SkIntersections* i) in LineCubicIntersections() 414 SkIntersections* fIntersections; 418 int SkIntersections::horizontal(const SkDCubic& cubic, double left, double right, double y, in horizontal() 425 int SkIntersections::vertical(const SkDCubic& cubic, double top, double bottom, double x, in vertical() 432 int SkIntersections::intersect(const SkDCubic& cubic, const SkDLine& line) { in intersect() 438 int SkIntersections::intersectRay(const SkDCubic& cubic, const SkDLine& line) { in intersectRay()
|
D | SkIntersections.h | 16 class SkIntersections { 18 SkIntersections(SkDEBUGCODE(SkOpGlobalState* globalState = nullptr)) in SkIntersections() function 272 void merge(const SkIntersections& , int , const SkIntersections& , int );
|
D | SkPathOpsTSect.h | 233 SkIntersections* intersections); 294 SkIntersections* ); 303 SkTSpan<OppCurve, TCurve>* oppSpan, SkIntersections* ); 360 SkIntersections i SkDEBUGCODE((c1.globalState())); in setPerp() 1367 SkIntersections i; in intersects() 1397 SkIntersections perpRayI; in is_parallel() 1418 SkTSpan<OppCurve, TCurve>* oppSpan, SkIntersections* i) { in linesIntersect() 1419 SkIntersections thisRayI SkDEBUGCODE((span->fDebugGlobalState)); in linesIntersect() 1420 SkIntersections oppRayI SkDEBUGCODE((span->fDebugGlobalState)); in linesIntersect() 1952 const SkTSect<OppCurve, TCurve>* sect2, SkIntersections* intersections) { in EndsEqual() [all …]
|
D | SkPathOpsTypes.h | 29 class SkIntersections; variable 90 void debugAddLoopCount(SkIntersections* , const SkIntersectionHelper& ,
|
D | SkOpAngle.cpp | 445 SkIntersections i; in endsIntersect() 545 SkIntersections iEnd; in endToSide() 768 SkIntersections iMid; in midToSide() 776 SkIntersections oppMid; in midToSide()
|
D | SkPathOpsCurve.cpp | 33 SkIntersections i; in nearPoint()
|
/external/skia/tests/ |
D | PathOpsLineIntersectionTest.cpp | 88 const SkIntersections& ts, bool nearAllowed) { in check_results() 111 SkIntersections i; in testOne() 123 SkIntersections ts; in testOne() 130 SkIntersections ts; in testOne() 137 SkIntersections ts; in testOne() 144 SkIntersections ts; in testOne() 155 SkIntersections ts; in testOneCoincident() 166 SkIntersections ts; in testOneCoincident() 175 SkIntersections ts; in testOneCoincident() 184 SkIntersections ts; in testOneCoincident() [all …]
|
D | PathOpsThreeWayTest.cpp | 46 SkTDArray<SkIntersections> combos; in testSetTest() 51 SkIntersections* i = combos.append(); in testSetTest() 52 sk_bzero(i, sizeof(SkIntersections)); in testSetTest()
|
D | PathOpsCubicLineIntersectionTest.cpp | 47 SkIntersections i; in testFail() 101 static int doIntersect(SkIntersections& intersections, const SkDCubic& cubic, const SkDLine& line) { in doIntersect() 147 SkIntersections i; in testOne() 199 SkIntersections i; in DEF_TEST()
|
D | PathOpsQuadLineIntersectionTest.cpp | 31 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, in doIntersect() 88 SkIntersections intersections; in testOneOffs() 128 SkIntersections intersections; in DEF_TEST()
|
D | PathOpsConicLineIntersectionTest.cpp | 32 static int doIntersect(SkIntersections& intersections, const SkDConic& conic, const SkDLine& line, in doIntersect() 78 SkIntersections intersections; in testOneOffs() 123 SkIntersections intersections; in DEF_TEST()
|
D | PathOpsQuadIntersectionTest.cpp | 39 SkIntersections intersections; in standardTestCases() 344 SkIntersections intersections; in oneOffTest1() 396 SkIntersections intersections2; in coincidentTestOne() 534 SkIntersections intersections; in DEF_TEST()
|
D | PathOpsQuadLineIntersectionThreadedTest.cpp | 16 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, in doIntersect() 52 SkIntersections intersections; in testLineIntersect()
|
D | PathOpsCubicIntersectionTest.cpp | 43 SkIntersections tIntersections; in standardTestCases() 403 SkIntersections intersections; in oneOff() 505 SkIntersections intersections2; in CubicIntersection_RandTest() 653 SkIntersections i; in selfOneOff()
|
D | PathOpsConicQuadIntersectionTest.cpp | 48 SkIntersections i; in conicQuadIntersection()
|
D | PathOpsCubicQuadIntersectionTest.cpp | 76 SkIntersections i; in cubicQuadIntersection()
|
D | PathOpsCubicConicIntersectionTest.cpp | 52 SkIntersections i; in cubicConicIntersection()
|
D | PathOpsAngleIdeas.cpp | 48 SkIntersections i; in testArc() 480 SkIntersections intersect[2]; in testQuadAngles() 496 const SkIntersections& i = intersect[index]; in testQuadAngles() 594 SkIntersections i; in DEF_TEST() 630 SkIntersections i; in DEF_TEST() 823 SkIntersections i; in DEF_TEST()
|