/external/chromium_org/third_party/skia/src/pathops/ |
H A D | SkPathOpsRect.cpp | 20 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 D | SkPathOpsCubic.h | 45 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 D | SkPathOpsCubic.cpp | 238 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 D | SkPathOpsRect.cpp | 20 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 D | SkPathOpsCubic.h | 45 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 D | SkPathOpsCubic.cpp | 238 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 D | GeometryTest.cpp | 18 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 D | SkGeometry.cpp | 554 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 D | SkStroke.cpp | 446 SkScalar tValues[3]; local 453 count = SkChopCubicAtMaxCurvature(pts, tmp, tValues);
|
/external/skia/src/core/ |
H A D | SkGeometry.cpp | 554 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 D | SkStroke.cpp | 446 SkScalar tValues[3]; local 453 count = SkChopCubicAtMaxCurvature(pts, tmp, tValues);
|