Searched refs:tValues (Results 1 – 3 of 3) sorted by relevance
/external/skia/src/core/ |
D | SkGeometry.cpp | 535 int SkFindCubicExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar d, SkScalar tValues[2]) in SkFindCubicExtrema() 547 return SkFindUnitQuadRoots(A, B, C, tValues); in SkFindCubicExtrema() 599 void SkChopCubicAt(const SkPoint src[4], SkPoint dst[], const SkScalar tValues[], int roots) in SkChopCubicAt() argument 605 SkASSERT(is_unit_interval(tValues[i])); in SkChopCubicAt() 606 SkASSERT(is_unit_interval(tValues[i+1])); in SkChopCubicAt() 607 SkASSERT(tValues[i] < tValues[i+1]); in SkChopCubicAt() 618 SkScalar t = tValues[0]; in SkChopCubicAt() 633 if (!valid_unit_divide(tValues[i+1] - tValues[i], in SkChopCubicAt() 634 SK_Scalar1 - tValues[i], &t)) { in SkChopCubicAt() 681 SkScalar tValues[2]; in SkChopCubicAtYExtrema() local [all …]
|
D | SkStroke.cpp | 439 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/ |
D | SkGeometry.h | 66 int SkFindQuadExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar tValues[1]); 125 int SkFindCubicExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar d, SkScalar tValues[2]); 141 int SkFindCubicInflections(const SkPoint src[4], SkScalar tValues[2]); 148 int SkFindCubicMaxCurvature(const SkPoint src[4], SkScalar tValues[3]); 149 int SkChopCubicAtMaxCurvature(const SkPoint src[4], SkPoint dst[13], SkScalar tValues[3] = NULL);
|