Home
last modified time | relevance | path

Searched refs:SkIntersections (Results 1 – 25 of 30) 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()
93 void SkIntersections::insertNear(double one, double two, const SkDPoint& pt1, const SkDPoint& pt2) { in insertNear()
102 int SkIntersections::insertCoincident(double one, double two, const SkDPoint& pt) { in insertCoincident()
110 void SkIntersections::setCoincident(int index) { in setCoincident()
117 void SkIntersections::merge(const SkIntersections& a, int aIndex, const SkIntersections& b, in merge()
127 int SkIntersections::mostOutside(double rangeStart, double rangeEnd, const SkDPoint& origin) const { in mostOutside()
146 void SkIntersections::removeOne(int index) { in removeOne()
DSkPathOpsTSect.cpp10 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()
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 …]
DSkPathOpsCurve.h236 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 …]
DSkDLineIntersection.cpp10 void SkIntersections::cleanUpParallelLines(bool parallel) { in cleanUpParallelLines()
27 void SkIntersections::computePoints(const SkDLine& line, int used) { in computePoints()
34 int SkIntersections::intersectRay(const SkDLine& a, const SkDLine& b) { in intersectRay()
75 int SkIntersections::intersect(const SkDLine& a, const SkDLine& b) { in intersect()
191 double SkIntersections::HorizontalIntercept(const SkDLine& line, double y) { in HorizontalIntercept()
195 int SkIntersections::horizontal(const SkDLine& line, double left, double right, in horizontal()
267 double SkIntersections::VerticalIntercept(const SkDLine& line, double x) { in VerticalIntercept()
271 int SkIntersections::vertical(const SkDLine& line, double top, double bottom, in vertical()
DSkDQuadLineIntersection.cpp96 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()
DSkDConicLineIntersection.cpp18 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()
DSkConicLineIntersection.cpp13 LineConicIntersections(const SkDConic& c, const SkDLine& l, SkIntersections* i) in LineConicIntersections()
30 int SkIntersections::intersectRay(const SkDConic& conic, const SkDLine& line) { in intersectRay()
DSkDCubicLineIntersection.cpp84 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()
DSkIntersections.h16 class SkIntersections {
18 SkIntersections() in SkIntersections() function
259 void merge(const SkIntersections& , int , const SkIntersections& , int );
DSkPathOpsTSect.h204 SkIntersections* intersections);
262 SkIntersections* );
271 SkTSpan<OppCurve, TCurve>* oppSpan, SkIntersections* );
319 SkIntersections i; in setPerp()
1227 SkIntersections i; in intersects()
1248 SkTSpan<OppCurve, TCurve>* oppSpan, SkIntersections* i) { in linesIntersect()
1249 SkIntersections thisRayI, oppRayI; in linesIntersect()
1725 const SkTSect<OppCurve, TCurve>* sect2, SkIntersections* intersections) { in EndsEqual()
1776 void addIntersection(SkIntersections* intersections) const { in addIntersection()
1881 void finish(SkIntersections* intersections) const { in finish()
[all …]
DSkOpAngle.cpp461 SkIntersections i; in endsIntersect()
561 SkIntersections iEnd; in endToSide()
788 SkIntersections iMid; in midToSide()
796 SkIntersections oppMid; in midToSide()
DSkPathOpsQuad.cpp251 SkIntersections i; in subDivide()
/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.cpp45 SkTDArray<SkIntersections> combos; in testSetTest()
50 SkIntersections* i = combos.append(); in testSetTest()
51 sk_bzero(i, sizeof(SkIntersections)); in testSetTest()
DPathOpsCubicLineIntersectionTest.cpp45 SkIntersections i; in testFail()
99 static int doIntersect(SkIntersections& intersections, const SkDCubic& cubic, const SkDLine& line) { in doIntersect()
143 SkIntersections i; in testOne()
195 SkIntersections i; in DEF_TEST()
DPathOpsQuadLineIntersectionTest.cpp31 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, in doIntersect()
86 SkIntersections intersections; in testOneOffs()
124 SkIntersections intersections; in DEF_TEST()
DPathOpsConicLineIntersectionTest.cpp31 static int doIntersect(SkIntersections& intersections, const SkDConic& conic, const SkDLine& line, in doIntersect()
75 SkIntersections intersections; in testOneOffs()
116 SkIntersections intersections; in DEF_TEST()
DPathOpsQuadIntersectionTest.cpp35 SkIntersections intersections; in standardTestCases()
330 SkIntersections intersections; in oneOffTest1()
378 SkIntersections intersections2; in coincidentTestOne()
516 SkIntersections intersections; in DEF_TEST()
DPathOpsQuadLineIntersectionThreadedTest.cpp14 static int doIntersect(SkIntersections& intersections, const SkDQuad& quad, const SkDLine& line, in doIntersect()
52 SkIntersections intersections; in testLineIntersect()
DPathOpsCubicIntersectionTest.cpp38 SkIntersections tIntersections; in standardTestCases()
392 SkIntersections intersections; in oneOff()
485 SkIntersections intersections2; in CubicIntersection_RandTest()
630 SkIntersections i; in selfOneOff()
DPathOpsCubicQuadIntersectionTest.cpp72 SkIntersections i; in cubicQuadIntersection()
DPathOpsConicIntersectionTest.cpp33 SkIntersections intersections; in oneOff()
DPathOpsAngleIdeas.cpp48 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()
/external/skia/gyp/
Dcore.gypi347 '<(skia_src_path)/pathops/SkIntersections.cpp',
376 '<(skia_src_path)/pathops/SkIntersections.h',

12