Searched refs:tValues (Results 1 - 9 of 9) sorted by relevance

/external/skia/src/pathops/
H A DSkPathOpsRect.cpp16 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 DSkPathOpsCubic.h65 int findInflections(double tValues[2]) const;
67 static int FindInflections(const SkPoint a[kPointCount], double tValues[2]) { argument
69 return cubic.set(a).findInflections(tValues);
72 int findMaxCurvature(double tValues[]) const;
H A DSkPathOpsConic.cpp35 double tValues[2]; local
36 int roots = SkDQuad::RootsValidT(coeff[0], coeff[1], coeff[2], tValues);
43 t[0] = tValues[0];
H A DSkPathOpsCubic.cpp525 int SkDCubic::findInflections(double tValues[]) const {
532 return SkDQuad::RootsValidT(Bx * Cy - By * Cx, Ax * Cy - Ay * Cx, Ax * By - Ay * Bx, tValues);
551 int SkDCubic::FindExtrema(const double src[], double tValues[2]) {
561 return SkDQuad::RootsValidT(A, B, C, tValues);
576 int SkDCubic::findMaxCurvature(double tValues[]) const {
584 return RootsValidT(coeffX[0], coeffX[1], coeffX[2], coeffX[3], tValues);
/external/skia/src/core/
H A DSkGeometry.cpp347 SkScalar tValues[2]) {
353 return SkFindUnitQuadRoots(A, B, C, tValues);
384 valid_unit_divide in SkChopCubicAt(... tValues[], int roots). The reason is
405 const SkScalar tValues[], int roots) {
410 SkASSERT(is_unit_interval(tValues[i]));
411 SkASSERT(is_unit_interval(tValues[i+1]));
412 SkASSERT(tValues[i] < tValues[i+1]);
421 SkScalar t = tValues[0];
436 if (!valid_unit_divide(tValues[
904 SkScalar tValues[2]; local
[all...]
H A DSkGeometry.h58 Returned count tValues[]
60 1 0 < tValues[0] < 1
62 int SkFindQuadExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar tValues[1]);
124 Returned count tValues[]
126 1 0 < tValues[0] < 1
127 2 0 < tValues[0] < tValues[1] < 1
130 SkScalar tValues[2]);
146 int SkFindCubicInflections(const SkPoint src[4], SkScalar tValues[2]);
154 int SkFindCubicMaxCurvature(const SkPoint src[4], SkScalar tValues[
[all...]
H A DSkStroke.cpp604 SkScalar tValues[3];
605 int count = SkFindCubicMaxCurvature(cubic, tValues);
612 SkScalar t = tValues[index];
1263 SkScalar tValues[2];
1264 int count = SkFindCubicInflections(cubic, tValues);
1267 SkScalar nextT = index < count ? tValues[index] : 1;
H A DSkScan_Hairline.cpp397 SkScalar tValues[3];
399 int count = SkChopCubicAtMaxCurvature(pts, tmp, 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);

Completed in 406 milliseconds