HomeSort by relevance Sort by last modified time
    Searched refs:tValues (Results 1 - 5 of 5) sorted by null

  /external/skia/include/core/
SkGeometry.h 60 Returned count tValues[]
62 1 0 < tValues[0] < 1
64 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[3])
    [all...]
  /external/skia/tests/
GeometryTest.cpp 17 Inspired by this test, which used to assert that the tValues had dups
28 SkScalar tValues[3];
30 int count = SkChopCubicAtMaxCurvature(src, dst, tValues);
  /external/skia/src/core/
SkGeometry.cpp 553 int SkFindCubicExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar d, SkScalar tValues[2])
565 return SkFindUnitQuadRoots(A, B, C, tValues);
597 valid_unit_divide in SkChopCubicAt(... tValues[], int roots). The reason is
617 void SkChopCubicAt(const SkPoint src[4], SkPoint dst[], const SkScalar tValues[], int roots)
623 SkASSERT(is_unit_interval(tValues[i]));
624 SkASSERT(is_unit_interval(tValues[i+1]));
625 SkASSERT(tValues[i] < tValues[i+1]);
636 SkScalar t = tValues[0];
651 if (!valid_unit_divide(tValues[i+1] - tValues[i]
    [all...]
SkStroke.cpp 426 SkScalar tValues[3];
434 count = SkChopCubicAtMaxCurvature(pts, tmp, tValues);
457 SkEvalCubicAt(pts, tValues[i - 1], &p, &v, &c);
  /external/webkit/Source/WebCore/platform/graphics/gpu/
LoopBlinnMathUtils.cpp 387 int findCubicExtrema(float a, float b, float c, float d, float tValues[2])
394 return findUnitQuadRoots(p, q, r, tValues);
422 void chopCubicAtTValues(const FloatPoint src[4], FloatPoint dst[], const float tValues[], int roots)
426 ASSERT(isUnitInterval(tValues[i]));
427 ASSERT(isUnitInterval(tValues[i+1]));
428 ASSERT(tValues[i] < tValues[i+1]);
439 float t = tValues[0];
455 if (!safeUnitDivide(tValues[i+1] - tValues[i], 1.0f - tValues[i], t))
    [all...]

Completed in 1755 milliseconds