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