Lines Matching refs:chopped
47 static void chopCompare(const SkConic chopped[2], const SkDConic dChopped[2]) { in chopCompare()
48 SkASSERT(roughly_equal(chopped[0].fW, dChopped[0].fWeight)); in chopCompare()
49 SkASSERT(roughly_equal(chopped[1].fW, dChopped[1].fWeight)); in chopCompare()
53 up.set(chopped[cIndex].fPts[pIndex]); in chopCompare()
75 SkConic conic, chopped[2]; in writePng() local
80 chopped[chIndex].fPts[index].fX = ch[chIndex].fPts[index].fX * scale; in writePng()
81 chopped[chIndex].fPts[index].fY = ch[chIndex].fPts[index].fY * scale; in writePng()
85 chopped[0].fW = ch[0].fW; in writePng()
86 chopped[1].fW = ch[1].fW; in writePng()
105 path.moveTo(chopped[0].fPts[0]); in writePng()
106 path.conicTo(chopped[0].fPts[1], chopped[0].fPts[2], chopped[0].fW); in writePng()
107 path.moveTo(chopped[1].fPts[0]); in writePng()
108 path.conicTo(chopped[1].fPts[1], chopped[1].fPts[2], chopped[1].fW); in writePng()
146 SkDConic chopped = dConic.subDivide(tIndex / (double) chops, in writeDPng() local
148 path.moveTo(chopped.fPts[0].asSkPoint()); in writeDPng()
149 path.conicTo(chopped.fPts[1].asSkPoint(), chopped.fPts[2].asSkPoint(), chopped.fWeight); in writeDPng()
166 SkConic chopped[2]; in chopBothWays() local
168 conic.chopAt(SkDoubleToScalar(t), chopped); in chopBothWays()
174 chopCompare(chopped, dChopped); in chopBothWays()
176 writePng(conic, chopped, name); in chopBothWays()