Searched defs:tValues (Results 1 - 11 of 11) sorted by relevance

/external/chromium_org/third_party/skia/src/pathops/
H A DSkPathOpsRect.cpp20 double tValues[2]; local
23 roots = SkDQuad::FindExtrema(quad[0].fX, quad[1].fX, quad[2].fX, tValues);
26 roots += SkDQuad::FindExtrema(quad[0].fY, quad[1].fY, quad[2].fY, &tValues[roots]);
29 add(quad.ptAtT(tValues[x]));
47 double tValues[4]; local
50 roots = SkDCubic::FindExtrema(c[0].fX, c[1].fX, c[2].fX, c[3].fX, tValues);
53 roots += SkDCubic::FindExtrema(c[0].fY, c[1].fY, c[2].fY, c[3].fY, &tValues[roots]);
56 add(c.ptAtT(tValues[x]));
H A DSkPathOpsCubic.h45 int findInflections(double tValues[]) const;
47 static int FindInflections(const SkPoint a[4], double tValues[]) { argument
50 return cubic.findInflections(tValues);
53 int findMaxCurvature(double tValues[]) const;
H A DSkPathOpsCubic.cpp238 int SkDCubic::findInflections(double tValues[]) const {
245 return SkDQuad::RootsValidT(Bx * Cy - By * Cx, Ax * Cy - Ay * Cx, Ax * By - Ay * Bx, tValues);
264 int SkDCubic::FindExtrema(double a, double b, double c, double d, double tValues[2]) { argument
270 return SkDQuad::RootsValidT(A, B, C, tValues);
285 int SkDCubic::findMaxCurvature(double tValues[]) const {
293 return RootsValidT(coeffX[0], coeffX[1], coeffX[2], coeffX[3], tValues);
/external/skia/src/pathops/
H A DSkPathOpsRect.cpp20 double tValues[2]; local
23 roots = SkDQuad::FindExtrema(quad[0].fX, quad[1].fX, quad[2].fX, tValues);
26 roots += SkDQuad::FindExtrema(quad[0].fY, quad[1].fY, quad[2].fY, &tValues[roots]);
29 add(quad.ptAtT(tValues[x]));
47 double tValues[4]; local
50 roots = SkDCubic::FindExtrema(c[0].fX, c[1].fX, c[2].fX, c[3].fX, tValues);
53 roots += SkDCubic::FindExtrema(c[0].fY, c[1].fY, c[2].fY, c[3].fY, &tValues[roots]);
56 add(c.ptAtT(tValues[x]));
H A DSkPathOpsCubic.h45 int findInflections(double tValues[]) const;
47 static int FindInflections(const SkPoint a[4], double tValues[]) { argument
50 return cubic.findInflections(tValues);
53 int findMaxCurvature(double tValues[]) const;
H A DSkPathOpsCubic.cpp238 int SkDCubic::findInflections(double tValues[]) const {
245 return SkDQuad::RootsValidT(Bx * Cy - By * Cx, Ax * Cy - Ay * Cx, Ax * By - Ay * Bx, tValues);
264 int SkDCubic::FindExtrema(double a, double b, double c, double d, double tValues[2]) { argument
270 return SkDQuad::RootsValidT(A, B, C, tValues);
285 int SkDCubic::findMaxCurvature(double tValues[]) const {
293 return RootsValidT(coeffX[0], coeffX[1], coeffX[2], coeffX[3], tValues);
/external/skia/tests/
H A DGeometryTest.cpp18 Inspired by this test, which used to assert that the tValues had dups
29 SkScalar tValues[3]; local
31 int count = SkChopCubicAtMaxCurvature(src, dst, tValues);
/external/chromium_org/third_party/skia/src/core/
H A DSkGeometry.cpp554 int SkFindCubicExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar d, SkScalar tValues[2]) argument
566 return SkFindUnitQuadRoots(A, B, C, tValues);
598 valid_unit_divide in SkChopCubicAt(... tValues[], int roots). The reason is
618 void SkChopCubicAt(const SkPoint src[4], SkPoint dst[], const SkScalar tValues[], int roots) argument
624 SkASSERT(is_unit_interval(tValues[i]));
625 SkASSERT(is_unit_interval(tValues[i+1]));
626 SkASSERT(tValues[i] < tValues[i+1]);
637 SkScalar t = tValues[0];
652 if (!valid_unit_divide(tValues[
742 SkFindCubicInflections(const SkPoint src[4], SkScalar tValues[]) argument
777 SkScalar tValues[2]; local
[all...]
H A DSkStroke.cpp446 SkScalar tValues[3]; local
453 count = SkChopCubicAtMaxCurvature(pts, tmp, tValues);
/external/skia/src/core/
H A DSkGeometry.cpp554 int SkFindCubicExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar d, SkScalar tValues[2]) argument
566 return SkFindUnitQuadRoots(A, B, C, tValues);
598 valid_unit_divide in SkChopCubicAt(... tValues[], int roots). The reason is
618 void SkChopCubicAt(const SkPoint src[4], SkPoint dst[], const SkScalar tValues[], int roots) argument
624 SkASSERT(is_unit_interval(tValues[i]));
625 SkASSERT(is_unit_interval(tValues[i+1]));
626 SkASSERT(tValues[i] < tValues[i+1]);
637 SkScalar t = tValues[0];
652 if (!valid_unit_divide(tValues[
742 SkFindCubicInflections(const SkPoint src[4], SkScalar tValues[]) argument
777 SkScalar tValues[2]; local
[all...]
H A DSkStroke.cpp446 SkScalar tValues[3]; local
453 count = SkChopCubicAtMaxCurvature(pts, tmp, tValues);

Completed in 291 milliseconds