Home
last modified time | relevance | path

Searched refs:cubic2 (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/tests/
DPathOpsCubicIntersectionTest.cpp25 const CubicPts& cubic2 = tests[index][1]; in standardTestCases() local
28 c2.debugSet(cubic2.fPts); in standardTestCases()
390 static void oneOff(skiatest::Reporter* reporter, const CubicPts& cubic1, const CubicPts& cubic2, in oneOff() argument
394 c2.debugSet(cubic2.fPts); in oneOff()
403 cubic2[0].fX, cubic2[0].fY, cubic2[1].fX, cubic2[1].fY, in oneOff()
404 cubic2[2].fX, cubic2[2].fY, cubic2[3].fX, cubic2[3].fY); in oneOff()
439 const CubicPts& cubic2 = testSet[inner]; in oneOff() local
440 oneOff(reporter, cubic1, cubic2, false); in oneOff()
445 const CubicPts& cubic2 = newTestSet[inner]; in newOneOff() local
446 oneOff(reporter, cubic1, cubic2, false); in newOneOff()
[all …]
DGeometryTest.cpp554 SkPoint cubic2[4] = {pts[0], pts[1], pts[1], pts[2]}; in test_measure_rotation() local
555 REPORTER_ASSERT(reporter, SkScalarNearlyEqual(SkMeasureNonInflectCubicRotation(cubic2), in test_measure_rotation()
DPathOpsOpTest.cpp3597 CubicPts cubic2 = {{{1,5}, {-5.66666651f,3.33333349f}, {8.83333302f,2.33333349f}, {0,1}}}; in loop1asQuad() local
3600 c2.debugSet(cubic2.fPts); in loop1asQuad()
/third_party/flutter/skia/tests/
DPathOpsCubicIntersectionTest.cpp23 const CubicPts& cubic2 = tests[index][1]; in standardTestCases() local
26 c2.debugSet(cubic2.fPts); in standardTestCases()
388 static void oneOff(skiatest::Reporter* reporter, const CubicPts& cubic1, const CubicPts& cubic2, in oneOff() argument
392 c2.debugSet(cubic2.fPts); in oneOff()
401 cubic2[0].fX, cubic2[0].fY, cubic2[1].fX, cubic2[1].fY, in oneOff()
402 cubic2[2].fX, cubic2[2].fY, cubic2[3].fX, cubic2[3].fY); in oneOff()
440 const CubicPts& cubic2 = testSet[inner]; in oneOff() local
441 oneOff(reporter, cubic1, cubic2, false); in oneOff()
446 const CubicPts& cubic2 = newTestSet[inner]; in newOneOff() local
447 oneOff(reporter, cubic1, cubic2, false); in newOneOff()
[all …]
DPathOpsOpTest.cpp3597 CubicPts cubic2 = {{{1,5}, {-5.66666651f,3.33333349f}, {8.83333302f,2.33333349f}, {0,1}}}; in loop1asQuad() local
3600 c2.debugSet(cubic2.fPts); in loop1asQuad()
/third_party/flutter/skia/src/pathops/
DSkAddIntersections.cpp288 SkDCubic cubic1, cubic2; in AddIntersectTs() local
417 pts = ts.intersect(cubic2.set(wn.pts()), quad1.set(wt.pts())); in AddIntersectTs()
455 pts = ts.intersect(cubic2.set(wn.pts() in AddIntersectTs()
494 pts = ts.intersect(cubic1.set(wt.pts()), cubic2.set(wn.pts())); in AddIntersectTs()
DSkIntersections.h310 bool cubicExactEnd(const SkDCubic& cubic1, bool start, const SkDCubic& cubic2);
311 void cubicNearEnd(const SkDCubic& cubic1, bool start, const SkDCubic& cubic2, const SkDRect& );
DSkPathOpsTSect.cpp2133 SkTCubic cubic2(c2); in intersect() local
2135 SkTSect sect2(cubic2 SkDEBUGPARAMS(globalState()) PATH_OPS_DEBUG_T_SECT_PARAMS(2)); in intersect()
/third_party/skia/src/pathops/
DSkAddIntersections.cpp288 SkDCubic cubic1, cubic2; in AddIntersectTs() local
417 pts = ts.intersect(cubic2.set(wn.pts()), quad1.set(wt.pts())); in AddIntersectTs()
455 pts = ts.intersect(cubic2.set(wn.pts() in AddIntersectTs()
494 pts = ts.intersect(cubic1.set(wt.pts()), cubic2.set(wn.pts())); in AddIntersectTs()
DSkIntersections.h310 bool cubicExactEnd(const SkDCubic& cubic1, bool start, const SkDCubic& cubic2);
311 void cubicNearEnd(const SkDCubic& cubic1, bool start, const SkDCubic& cubic2, const SkDRect& );
DSkPathOpsTSect.cpp2132 SkTCubic cubic2(c2); in intersect() local
2134 SkTSect sect2(cubic2 SkDEBUGPARAMS(globalState()) PATH_OPS_DEBUG_T_SECT_PARAMS(2)); in intersect()