/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() 94 void SkIntersections::insertNear(double one, double two, const SkDPoint& pt1, const SkDPoint& pt2) { in insertNear() 103 int SkIntersections::insertCoincident(double one, double two, const SkDPoint& pt) { in insertCoincident() 111 void SkIntersections::setCoincident(int index) { in setCoincident() 118 void SkIntersections::merge(const SkIntersections& a, int aIndex, const SkIntersections& b, in merge() 128 int SkIntersections::mostOutside(double rangeStart, double rangeEnd, const SkDPoint& origin) const { in mostOutside() 147 void SkIntersections::removeOne(int index) { in removeOne()
|
D | SkPathOpsTSect.cpp | 10 int SkIntersections::intersect(const SkDQuad& quad1, const SkDQuad& quad2) { in intersect() 17 int SkIntersections::intersect(const SkDConic& conic, const SkDQuad& quad) { in intersect() 24 int SkIntersections::intersect(const SkDConic& conic1, const SkDConic& conic2) { in intersect() 31 int SkIntersections::intersect(const SkDCubic& cubic, const SkDQuad& quad) { in intersect() 38 int SkIntersections::intersect(const SkDCubic& cubic, const SkDConic& conic) { in intersect() 45 int SkIntersections::intersect(const SkDCubic& cubic1, const SkDCubic& cubic2) { in intersect()
|
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 | SkPathOpsCurve.h | 236 SkIntersections* i) { in line_intersect_ray() 243 SkIntersections* i) { in quad_intersect_ray() 250 SkIntersections* i) { in conic_intersect_ray() 257 SkIntersections* i) { in cubic_intersect_ray() 264 SkIntersections* ) = { 274 roots[0] = SkIntersections::HorizontalIntercept(line.set(a), y); in line_intercept_h() 280 roots[0] = SkIntersections::VerticalIntercept(line.set(a), x); in line_intercept_v() 286 return SkIntersections::HorizontalIntercept(quad.set(a), y, roots); in quad_intercept_h() 291 return SkIntersections::VerticalIntercept(quad.set(a), x, roots); in quad_intercept_v() 296 return SkIntersections::HorizontalIntercept(conic.set(a, w), y, roots); in conic_intercept_h() [all …]
|
D | SkDQuadLineIntersection.cpp | 96 LineQuadraticIntersections(const SkDQuad& q, const SkDLine& l, SkIntersections* i) in LineQuadraticIntersections() 403 SkIntersections* fIntersections; 407 int SkIntersections::horizontal(const SkDQuad& quad, double left, double right, double y, in horizontal() 414 int SkIntersections::vertical(const SkDQuad& quad, double top, double bottom, double x, in vertical() 421 int SkIntersections::intersect(const SkDQuad& quad, const SkDLine& line) { in intersect() 427 int SkIntersections::intersectRay(const SkDQuad& quad, const SkDLine& line) { in intersectRay() 436 int SkIntersections::HorizontalIntercept(const SkDQuad& quad, SkScalar y, double* roots) { in HorizontalIntercept() 441 int SkIntersections::VerticalIntercept(const SkDQuad& quad, SkScalar x, double* roots) { in VerticalIntercept() 449 return SkIntersections::HorizontalIntercept(*this, yIntercept, roots); in horizontalIntersect() 453 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 | 18 LineConicIntersections(const SkDConic& c, const SkDLine& l, SkIntersections* i) in LineConicIntersections() 322 SkIntersections* fIntersections; 326 int SkIntersections::horizontal(const SkDConic& conic, double left, double right, double y, in horizontal() 333 int SkIntersections::vertical(const SkDConic& conic, double top, double bottom, double x, in vertical() 340 int SkIntersections::intersect(const SkDConic& conic, const SkDLine& line) { in intersect() 346 int SkIntersections::intersectRay(const SkDConic& conic, const SkDLine& line) { in intersectRay() 355 int SkIntersections::HorizontalIntercept(const SkDConic& conic, SkScalar y, double* roots) { in HorizontalIntercept() 360 int SkIntersections::VerticalIntercept(const SkDConic& conic, SkScalar x, double* roots) { in VerticalIntercept()
|
D | SkDCubicLineIntersection.cpp | 84 LineCubicIntersections(const SkDCubic& c, const SkDLine& l, SkIntersections* i) in LineCubicIntersections() 396 SkIntersections* fIntersections; 400 int SkIntersections::horizontal(const SkDCubic& cubic, double left, double right, double y, in horizontal() 407 int SkIntersections::vertical(const SkDCubic& cubic, double top, double bottom, double x, in vertical() 414 int SkIntersections::intersect(const SkDCubic& cubic, const SkDLine& line) { in intersect() 420 int SkIntersections::intersectRay(const SkDCubic& cubic, const SkDLine& line) { in intersectRay()
|
D | SkIntersections.h | 16 class SkIntersections { 18 SkIntersections() in SkIntersections() function 263 void merge(const SkIntersections& , int , const SkIntersections& , int );
|
D | SkPathOpsTSect.h | 221 SkIntersections* intersections); 280 SkIntersections* ); 290 SkTSpan<OppCurve, TCurve>* oppSpan, SkIntersections* ); 338 SkIntersections i; in setPerp() 1287 SkIntersections i; in intersects() 1315 SkIntersections perpRayI; in is_parallel() 1336 SkTSpan<OppCurve, TCurve>* oppSpan, SkIntersections* i) { in linesIntersect() 1337 SkIntersections thisRayI, oppRayI; in linesIntersect() 1842 const SkTSect<OppCurve, TCurve>* sect2, SkIntersections* intersections) { in EndsEqual() 1893 void addIntersection(SkIntersections* intersections) const { in addIntersection() [all …]
|
D | SkPathOpsTypes.h | 28 class SkIntersections; variable 77 void debugAddLoopCount(SkIntersections* , const SkIntersectionHelper& ,
|
D | SkPathOpsDebug.cpp | 286 void SkOpGlobalState::debugAddLoopCount(SkIntersections* i, const SkIntersectionHelper& wt, in debugAddLoopCount() 289 SkIntersections::DebugLoop looper = (SkIntersections::DebugLoop) index; in debugAddLoopCount() 379 void SkIntersections::debugBumpLoopCount(DebugLoop index) { in debugBumpLoopCount() 383 int SkIntersections::debugLoopCount(DebugLoop index) const { in debugLoopCount() 387 void SkIntersections::debugResetLoopCount() { in debugResetLoopCount() 451 SkIntersections i; in debugAddAlignIntersection() 1647 int SkIntersections::debugCoincidentUsed() const { in debugCoincidentUsed()
|
D | SkOpAngle.cpp | 413 SkIntersections i; in endsIntersect() 513 SkIntersections iEnd; in endToSide() 740 SkIntersections iMid; in midToSide() 748 SkIntersections oppMid; in midToSide()
|
D | SkPathOpsQuad.cpp | 260 SkIntersections i; in subDivide()
|
/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 | 45 SkTDArray<SkIntersections> combos; in testSetTest() 50 SkIntersections* i = combos.append(); in testSetTest() 51 sk_bzero(i, sizeof(SkIntersections)); in testSetTest()
|
D | PathOpsCubicLineIntersectionTest.cpp | 45 SkIntersections i; in testFail() 99 static int doIntersect(SkIntersections& intersections, const SkDCubic& cubic, const SkDLine& line) { in doIntersect() 143 SkIntersections i; in testOne() 193 SkIntersections i; in DEF_TEST()
|
D | PathOpsQuadLineIntersectionTest.cpp | 31 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, in doIntersect() 86 SkIntersections intersections; in testOneOffs() 124 SkIntersections intersections; in DEF_TEST()
|
D | PathOpsConicLineIntersectionTest.cpp | 31 static int doIntersect(SkIntersections& intersections, const SkDConic& conic, const SkDLine& line, in doIntersect() 75 SkIntersections intersections; in testOneOffs() 116 SkIntersections intersections; in DEF_TEST()
|
D | PathOpsQuadIntersectionTest.cpp | 35 SkIntersections intersections; in standardTestCases() 330 SkIntersections intersections; in oneOffTest1() 378 SkIntersections intersections2; in coincidentTestOne() 516 SkIntersections intersections; in DEF_TEST()
|
D | PathOpsQuadLineIntersectionThreadedTest.cpp | 14 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, in doIntersect() 52 SkIntersections intersections; in testLineIntersect()
|
D | PathOpsCubicIntersectionTest.cpp | 40 SkIntersections tIntersections; in standardTestCases() 394 SkIntersections intersections; in oneOff() 493 SkIntersections intersections2; in CubicIntersection_RandTest() 637 SkIntersections i; in selfOneOff()
|
D | PathOpsCubicQuadIntersectionTest.cpp | 72 SkIntersections i; in cubicQuadIntersection()
|
D | PathOpsCubicConicIntersectionTest.cpp | 48 SkIntersections i; in cubicConicIntersection()
|
D | PathOpsAngleIdeas.cpp | 48 SkIntersections i; in testArc() 476 SkIntersections intersect[2]; in testQuadAngles() 492 const SkIntersections& i = intersect[index]; in testQuadAngles() 587 SkIntersections i; in DEF_TEST() 617 SkIntersections i; in DEF_TEST() 803 SkIntersections i; in DEF_TEST()
|