Searched refs:tValues (Results 1 - 9 of 9) sorted by relevance
/external/skia/src/pathops/ |
H A D | SkPathOpsRect.cpp | 16 double tValues[2]; local 19 roots = SkDQuad::FindExtrema(&sub[0].fX, tValues); 22 roots += SkDQuad::FindExtrema(&sub[0].fY, &tValues[roots]); 25 double t = startT + (endT - startT) * tValues[index]; 33 double tValues[2]; local 36 roots = SkDConic::FindExtrema(&sub[0].fX, sub.fWeight, tValues); 39 roots += SkDConic::FindExtrema(&sub[0].fY, sub.fWeight, &tValues[roots]); 42 double t = startT + (endT - startT) * tValues[index]; 50 double tValues[4]; local 53 roots = SkDCubic::FindExtrema(&sub[0].fX, tValues); [all...] |
H A D | SkPathOpsCubic.h | 74 int findInflections(double tValues[2]) const; 76 static int FindInflections(const SkPoint a[kPointCount], double tValues[2]) { argument 78 return cubic.set(a).findInflections(tValues); 81 int findMaxCurvature(double tValues[]) const;
|
H A D | SkPathOpsConic.cpp | 35 double tValues[2]; local 36 int roots = SkDQuad::RootsValidT(coeff[0], coeff[1], coeff[2], tValues); 40 t[0] = tValues[0];
|
H A D | SkPathOpsCubic.cpp | 481 int SkDCubic::findInflections(double tValues[]) const { 488 return SkDQuad::RootsValidT(Bx * Cy - By * Cx, Ax * Cy - Ay * Cx, Ax * By - Ay * Bx, tValues); 507 int SkDCubic::FindExtrema(const double src[], double tValues[2]) { 517 return SkDQuad::RootsValidT(A, B, C, tValues); 532 int SkDCubic::findMaxCurvature(double tValues[]) const { 540 return RootsValidT(coeffX[0], coeffX[1], coeffX[2], coeffX[3], tValues);
|
/external/skia/src/core/ |
H A D | SkGeometry.cpp | 417 SkScalar tValues[2]) { 423 return SkFindUnitQuadRoots(A, B, C, tValues); 474 valid_unit_divide in SkChopCubicAt(... tValues[], int roots). The reason is 495 const SkScalar tValues[], int roots) { 500 SkASSERT(is_unit_interval(tValues[i])); 501 SkASSERT(is_unit_interval(tValues[i+1])); 502 SkASSERT(tValues[i] < tValues[i+1]); 511 SkScalar t = tValues[0]; 526 if (!valid_unit_divide(tValues[ 416 SkFindCubicExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar d, SkScalar tValues[2]) argument 494 SkChopCubicAt(const SkPoint src[4], SkPoint dst[], const SkScalar tValues[], int roots) argument 596 SkFindCubicInflections(const SkPoint src[4], SkScalar tValues[]) argument 611 SkScalar tValues[2]; local [all...] |
H A D | SkGeometry.h | 69 Returned count tValues[] 71 1 0 < tValues[0] < 1 73 int SkFindQuadExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar tValues[1]); 135 Returned count tValues[] 137 1 0 < tValues[0] < 1 138 2 0 < tValues[0] < tValues[1] < 1 141 SkScalar tValues[2]); 157 int SkFindCubicInflections(const SkPoint src[4], SkScalar tValues[2]); 165 int SkFindCubicMaxCurvature(const SkPoint src[4], SkScalar tValues[ [all...] |
H A D | SkScan_Hairline.cpp | 327 SkScalar tValues[3]; 329 int count = SkChopCubicAtMaxCurvature(pts, tmp, tValues);
|
H A D | SkStroke.cpp | 635 SkScalar tValues[3]; 636 int count = SkFindCubicMaxCurvature(cubic, tValues); 641 SkScalar t = tValues[index]; 1410 SkScalar tValues[2]; 1411 int count = SkFindCubicInflections(cubic, tValues); 1414 SkScalar nextT = index < count ? tValues[index] : 1; 1450 SkScalar tValues[3]; 1457 count = SkChopCubicAtMaxCurvature(pts, tmp, 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);
|
Completed in 1101 milliseconds