Searched defs:tValues (Results 1 - 5 of 5) 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.h67 int findInflections(double tValues[2]) const;
69 static int FindInflections(const SkPoint a[kPointCount], double tValues[2]) { argument
71 return cubic.set(a).findInflections(tValues);
74 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);
40 t[0] = tValues[0];
/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/skia/src/core/
H A DSkGeometry.cpp384 SkScalar tValues[2]) {
390 return SkFindUnitQuadRoots(A, B, C, tValues);
421 valid_unit_divide in SkChopCubicAt(... tValues[], int roots). The reason is
442 const SkScalar tValues[], int roots) {
447 SkASSERT(is_unit_interval(tValues[i]));
448 SkASSERT(is_unit_interval(tValues[i+1]));
449 SkASSERT(tValues[i] < tValues[i+1]);
458 SkScalar t = tValues[0];
473 if (!valid_unit_divide(tValues[
939 SkScalar tValues[2]; local
[all...]

Completed in 77 milliseconds