Home
last modified time | relevance | path

Searched refs:tValues (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/core/
DSkGeometry.cpp467 int SkFindCubicExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar d, SkScalar tValues[2]) in SkFindCubicExtrema()
479 return SkFindUnitQuadRoots(A, B, C, tValues); in SkFindCubicExtrema()
531 void SkChopCubicAt(const SkPoint src[4], SkPoint dst[], const SkScalar tValues[], int roots) in SkChopCubicAt() argument
537 SkASSERT(is_unit_interval(tValues[i])); in SkChopCubicAt()
538 SkASSERT(is_unit_interval(tValues[i+1])); in SkChopCubicAt()
539 SkASSERT(tValues[i] < tValues[i+1]); in SkChopCubicAt()
550 SkScalar t = tValues[0]; in SkChopCubicAt()
565 if (!valid_unit_divide(tValues[i+1] - tValues[i], in SkChopCubicAt()
566 SK_Scalar1 - tValues[i], &t)) { in SkChopCubicAt()
614 SkScalar tValues[2]; in SkChopCubicAtYExtrema() local
[all …]
DSkStroke.cpp439 SkScalar tValues[3]; in cubicTo() local
447 count = SkChopCubicAtMaxCurvature(pts, tmp, tValues); in cubicTo()
470 SkEvalCubicAt(pts, tValues[i - 1], &p, &v, &c); in cubicTo()
/external/skia/include/core/
DSkGeometry.h55 int SkFindQuadExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar tValues[1]);
108 int SkFindCubicExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar d, SkScalar tValues[2]);
123 int SkFindCubicInflections(const SkPoint src[4], SkScalar tValues[2]);
130 int SkFindCubicMaxCurvature(const SkPoint src[4], SkScalar tValues[3]);
131 int SkChopCubicAtMaxCurvature(const SkPoint src[4], SkPoint dst[13], SkScalar tValues[3] = NULL);