Searched defs:chopped (Results 1 - 6 of 6) sorted by relevance

/external/skia/samplecode/
H A DSampleCCPRGeometry.cpp175 SkPoint chopped[10]; local
176 SkChopCubicAt(fPoints, chopped, chops.begin(), chops.count());
180 fGpuPoints.push_back(chopped[3*i]);
186 fGpuPoints.push_back(chopped[3*i + 1]);
187 fGpuPoints.push_back(chopped[3*i + 2]);
/external/skia/src/pathops/
H A DSkPathOpsConic.cpp167 SkDConic chopped = this->subDivide(t1, t2); local
168 *weight = chopped.fWeight;
169 return chopped[1];
/external/skia/tests/
H A DPathOpsConicIntersectionTest.cpp47 static void chopCompare(const SkConic chopped[2], const SkDConic dChopped[2]) { argument
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]; local
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[
146 SkDConic chopped = dConic.subDivide(tIndex / (double) chops, local
166 SkConic chopped[2]; local
[all...]
/external/skia/gm/
H A Dbeziereffects.cpp166 SkPoint chopped[10]; variable
170 chopped,
191 SkPoint* pts = chopped + 3 * c;
563 SkPoint chopped[5]; variable
564 int cnt = SkChopQuadAtMaxCurvature(controlPts, chopped);
582 SkPoint* pts = chopped + 2 * c;
/external/skia/src/gpu/
H A DGrPathUtils.cpp542 SkPoint chopped[10]; local
543 int count = SkChopCubicAtInflections(p, chopped);
548 SkPoint* cubic = chopped + 3*i;
559 SkPoint chopped[10]; local
560 int count = SkChopCubicAtInflections(p, chopped);
565 SkPoint* cubic = chopped + 3*i;
/external/skia/src/core/
H A DSkPath.cpp2938 SkConic chopped[2]; local
2941 bool isMono = is_mono_quad(pts[0].fY, pts[1].fY, pts[2].fY) || !conic.chopAtYExtrema(chopped);
2942 int w = winding_mono_conic(isMono ? conic : chopped[0], x, y, onCurveCount);
2944 w += winding_mono_conic(chopped[1], x, y, onCurveCount);

Completed in 420 milliseconds