Home
last modified time | relevance | path

Searched refs:cubic1 (Results 1 – 4 of 4) sorted by relevance

/external/skia/tests/
DPathOpsCubicIntersectionTest.cpp22 const SkDCubic& cubic1 = tests[index][0]; in standardTestCases() local
25 int order1 = reduce1.reduce(cubic1, SkReduceOrder::kNo_Quadratics); in standardTestCases()
41 tIntersections.intersect(cubic1, cubic2); in standardTestCases()
56 SkDPoint xy1 = cubic1.ptAtT(tt1); in standardTestCases()
381 static void oneOff(skiatest::Reporter* reporter, const SkDCubic& cubic1, const SkDCubic& cubic2, in oneOff() argument
383 SkASSERT(ValidCubic(cubic1)); in oneOff()
388 cubic1[0].fX, cubic1[0].fY, cubic1[1].fX, cubic1[1].fY, in oneOff()
389 cubic1[2].fX, cubic1[2].fY, cubic1[3].fX, cubic1[3].fY); in oneOff()
395 intersections.intersect(cubic1, cubic2); in oneOff()
412 xy1 = cubic1.ptAtT(tt1); in oneOff()
[all …]
/external/skia/src/pathops/
DSkPathOpsTSect.cpp45 int SkIntersections::intersect(const SkDCubic& cubic1, const SkDCubic& cubic2) { in intersect() argument
46 SkTSect<SkDCubic, SkDCubic> sect1(cubic1 PATH_OPS_DEBUG_T_SECT_PARAMS(1)); in intersect()
DSkIntersections.h297 bool cubicExactEnd(const SkDCubic& cubic1, bool start, const SkDCubic& cubic2);
298 void cubicNearEnd(const SkDCubic& cubic1, bool start, const SkDCubic& cubic2, const SkDRect& );
DSkAddIntersections.cpp287 SkDCubic cubic1, cubic2; in AddIntersectTs() local
478 pts = ts.intersect(cubic1.set(wt.pts()), quad2.set(wn.pts())); in AddIntersectTs()
483 pts = ts.intersect(cubic1.set(wt.pts()), in AddIntersectTs()
489 pts = ts.intersect(cubic1.set(wt.pts()), cubic2.set(wn.pts())); in AddIntersectTs()