Home
last modified time | relevance | path

Searched refs:dConic (Results 1 – 2 of 2) sorted by relevance

/external/skia/tests/
DPathOpsConicIntersectionTest.cpp119 SkDConic dConic = {{{ {dC.fPts[0].fX * scale, dC.fPts[0].fY * scale }, in writeDPng() local
124 bounds.setBounds(dConic); in writeDPng()
139 path.moveTo(dConic.fPts[0].asSkPoint()); in writeDPng()
140 path.conicTo(dConic.fPts[1].asSkPoint(), dConic.fPts[2].asSkPoint(), dConic.fWeight); in writeDPng()
146 SkDConic chopped = dConic.subDivide(tIndex / (double) chops, in writeDPng()
160 static void chopBothWays(const SkDConic& dConic, double t, const char* name) { in chopBothWays() argument
163 conic.fPts[index] = dConic.fPts[index].asSkPoint(); in chopBothWays()
165 conic.fW = dConic.fWeight; in chopBothWays()
171 dChopped[0] = dConic.subDivide(0, t); in chopBothWays()
172 dChopped[1] = dConic.subDivide(t, 1); in chopBothWays()
[all …]
/external/skqp/tests/
DPathOpsConicIntersectionTest.cpp119 SkDConic dConic = {{{ {dC.fPts[0].fX * scale, dC.fPts[0].fY * scale }, in writeDPng() local
124 bounds.setBounds(dConic); in writeDPng()
139 path.moveTo(dConic.fPts[0].asSkPoint()); in writeDPng()
140 path.conicTo(dConic.fPts[1].asSkPoint(), dConic.fPts[2].asSkPoint(), dConic.fWeight); in writeDPng()
146 SkDConic chopped = dConic.subDivide(tIndex / (double) chops, in writeDPng()
160 static void chopBothWays(const SkDConic& dConic, double t, const char* name) { in chopBothWays() argument
163 conic.fPts[index] = dConic.fPts[index].asSkPoint(); in chopBothWays()
165 conic.fW = dConic.fWeight; in chopBothWays()
171 dChopped[0] = dConic.subDivide(0, t); in chopBothWays()
172 dChopped[1] = dConic.subDivide(t, 1); in chopBothWays()
[all …]