Home
last modified time | relevance | path

Searched refs:SkIntersections (Results 1 – 25 of 35) sorted by relevance

12

/external/skia/src/pathops/
DSkIntersections.cpp10 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()
DSkPathOpsTSect.cpp10 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()
DSkPathOpsCurve.h300 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 …]
DSkAddIntersections.cpp14 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 …]
DSkDQuadLineIntersection.cpp97 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()
DSkDLineIntersection.cpp10 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()
DSkDConicLineIntersection.cpp19 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()
DSkDCubicLineIntersection.cpp85 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()
DSkIntersections.h16 class SkIntersections {
18 SkIntersections(SkDEBUGCODE(SkOpGlobalState* globalState = nullptr)) in SkIntersections() function
272 void merge(const SkIntersections& , int , const SkIntersections& , int );
DSkPathOpsTSect.h233 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 …]
DSkPathOpsTypes.h29 class SkIntersections; variable
90 void debugAddLoopCount(SkIntersections* , const SkIntersectionHelper& ,
DSkOpAngle.cpp445 SkIntersections i; in endsIntersect()
545 SkIntersections iEnd; in endToSide()
768 SkIntersections iMid; in midToSide()
776 SkIntersections oppMid; in midToSide()
DSkPathOpsCurve.cpp33 SkIntersections i; in nearPoint()
/external/skia/tests/
DPathOpsLineIntersectionTest.cpp88 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 …]
DPathOpsThreeWayTest.cpp46 SkTDArray<SkIntersections> combos; in testSetTest()
51 SkIntersections* i = combos.append(); in testSetTest()
52 sk_bzero(i, sizeof(SkIntersections)); in testSetTest()
DPathOpsCubicLineIntersectionTest.cpp47 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()
DPathOpsQuadLineIntersectionTest.cpp31 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, in doIntersect()
88 SkIntersections intersections; in testOneOffs()
128 SkIntersections intersections; in DEF_TEST()
DPathOpsConicLineIntersectionTest.cpp32 static int doIntersect(SkIntersections& intersections, const SkDConic& conic, const SkDLine& line, in doIntersect()
78 SkIntersections intersections; in testOneOffs()
123 SkIntersections intersections; in DEF_TEST()
DPathOpsQuadIntersectionTest.cpp39 SkIntersections intersections; in standardTestCases()
344 SkIntersections intersections; in oneOffTest1()
396 SkIntersections intersections2; in coincidentTestOne()
534 SkIntersections intersections; in DEF_TEST()
DPathOpsQuadLineIntersectionThreadedTest.cpp16 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, in doIntersect()
52 SkIntersections intersections; in testLineIntersect()
DPathOpsCubicIntersectionTest.cpp43 SkIntersections tIntersections; in standardTestCases()
403 SkIntersections intersections; in oneOff()
505 SkIntersections intersections2; in CubicIntersection_RandTest()
653 SkIntersections i; in selfOneOff()
DPathOpsConicQuadIntersectionTest.cpp48 SkIntersections i; in conicQuadIntersection()
DPathOpsCubicQuadIntersectionTest.cpp76 SkIntersections i; in cubicQuadIntersection()
DPathOpsCubicConicIntersectionTest.cpp52 SkIntersections i; in cubicConicIntersection()
DPathOpsAngleIdeas.cpp48 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()

12