Home
last modified time | relevance | path

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

1234

/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()
107 void SkIntersections::insertNear(double one, double two, const SkDPoint& pt1, const SkDPoint& pt2) { in insertNear()
116 int SkIntersections::insertCoincident(double one, double two, const SkDPoint& pt) { in insertCoincident()
124 void SkIntersections::setCoincident(int index) { in setCoincident()
131 void SkIntersections::merge(const SkIntersections& a, int aIndex, const SkIntersections& b, in merge()
141 int SkIntersections::mostOutside(double rangeStart, double rangeEnd, const SkDPoint& origin) const { in mostOutside()
160 void SkIntersections::removeOne(int index) { in removeOne()
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.cpp16 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowLineIntersection()
37 const SkIntersections& i) { in debugShowQuadLineIntersection()
57 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowQuadIntersection()
77 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowConicLineIntersection()
97 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowConicQuadIntersection()
117 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowConicIntersection()
138 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowCubicLineIntersection()
158 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowCubicQuadIntersection()
178 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowCubicConicIntersection()
198 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.cpp12 void SkIntersections::cleanUpParallelLines(bool parallel) { in cleanUpParallelLines()
34 void SkIntersections::computePoints(const SkDLine& line, int used) { in computePoints()
41 int SkIntersections::intersectRay(const SkDLine& a, const SkDLine& b) { in intersectRay()
82 int SkIntersections::intersect(const SkDLine& a, const SkDLine& b) { in intersect()
199 double SkIntersections::HorizontalIntercept(const SkDLine& line, double y) { in HorizontalIntercept()
204 int SkIntersections::horizontal(const SkDLine& line, double left, double right, in horizontal()
277 double SkIntersections::VerticalIntercept(const SkDLine& line, double x) { in VerticalIntercept()
282 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()
DSkPathOpsTCurve.h14 class SkIntersections; variable
33 virtual int intersectRay(SkIntersections* i, const SkDLine& line) const = 0;
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()
/external/skqp/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()
107 void SkIntersections::insertNear(double one, double two, const SkDPoint& pt1, const SkDPoint& pt2) { in insertNear()
116 int SkIntersections::insertCoincident(double one, double two, const SkDPoint& pt) { in insertCoincident()
124 void SkIntersections::setCoincident(int index) { in setCoincident()
131 void SkIntersections::merge(const SkIntersections& a, int aIndex, const SkIntersections& b, in merge()
141 int SkIntersections::mostOutside(double rangeStart, double rangeEnd, const SkDPoint& origin) const { in mostOutside()
160 void SkIntersections::removeOne(int index) { in removeOne()
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.cpp16 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowLineIntersection()
37 const SkIntersections& i) { in debugShowQuadLineIntersection()
57 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowQuadIntersection()
77 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowConicLineIntersection()
97 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowConicQuadIntersection()
117 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowConicIntersection()
138 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowCubicLineIntersection()
158 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowCubicQuadIntersection()
178 const SkIntersectionHelper& wn, const SkIntersections& i) { in debugShowCubicConicIntersection()
198 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.cpp12 void SkIntersections::cleanUpParallelLines(bool parallel) { in cleanUpParallelLines()
34 void SkIntersections::computePoints(const SkDLine& line, int used) { in computePoints()
41 int SkIntersections::intersectRay(const SkDLine& a, const SkDLine& b) { in intersectRay()
82 int SkIntersections::intersect(const SkDLine& a, const SkDLine& b) { in intersect()
199 double SkIntersections::HorizontalIntercept(const SkDLine& line, double y) { in HorizontalIntercept()
204 int SkIntersections::horizontal(const SkDLine& line, double left, double right, in horizontal()
277 double SkIntersections::VerticalIntercept(const SkDLine& line, double x) { in VerticalIntercept()
282 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()
DSkPathOpsTCurve.h14 class SkIntersections; variable
33 virtual int intersectRay(SkIntersections* i, const SkDLine& line) const = 0;
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()
/external/skqp/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.cpp49 SkIntersections i; in testFail()
103 static int doIntersect(SkIntersections& intersections, const SkDCubic& cubic, const SkDLine& line) { in doIntersect()
151 SkIntersections i; in testOne()
203 SkIntersections i; in DEF_TEST()
DPathOpsQuadLineIntersectionTest.cpp33 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, in doIntersect()
92 SkIntersections intersections; in testOneOffs()
132 SkIntersections intersections; in DEF_TEST()
/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.cpp49 SkIntersections i; in testFail()
103 static int doIntersect(SkIntersections& intersections, const SkDCubic& cubic, const SkDLine& line) { in doIntersect()
151 SkIntersections i; in testOne()
203 SkIntersections i; in DEF_TEST()
DPathOpsQuadLineIntersectionTest.cpp33 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, in doIntersect()
92 SkIntersections intersections; in testOneOffs()
132 SkIntersections intersections; in DEF_TEST()
DPathOpsConicLineIntersectionTest.cpp34 static int doIntersect(SkIntersections& intersections, const SkDConic& conic, const SkDLine& line, in doIntersect()
82 SkIntersections intersections; in testOneOffs()
127 SkIntersections intersections; in DEF_TEST()

1234