Searched refs:tValue (Results 1 – 6 of 6) sorted by relevance
/external/skia/src/pathops/ |
D | SkPathOpsQuad.cpp | 79 double tValue = s[index]; in AddValidTs() local 80 if (approximately_zero_or_more(tValue) && approximately_one_or_less(tValue)) { in AddValidTs() 81 if (approximately_less_than_zero(tValue)) { in AddValidTs() 82 tValue = 0; in AddValidTs() 83 } else if (approximately_greater_than_one(tValue)) { in AddValidTs() 84 tValue = 1; in AddValidTs() 87 if (approximately_equal(t[idx2], tValue)) { in AddValidTs() 91 t[foundRoots++] = tValue; in AddValidTs() 328 int SkDQuad::FindExtrema(const double src[], double tValue[1]) { in FindExtrema() 335 return valid_unit_divide(a - b, a - b - b + c, tValue); in FindExtrema()
|
D | SkPathOpsCubic.cpp | 339 double tValue = s[index]; in RootsValidT() local 340 if (!approximately_one_or_less(tValue) && between(1, tValue, 1.00005)) { in RootsValidT() 348 } else if (!approximately_zero_or_more(tValue) && between(-0.00005, tValue, 0)) { in RootsValidT()
|
D | SkPathOpsQuad.h | 64 static int FindExtrema(const double src[], double tValue[1]);
|
D | SkPathOpsConic.h | 59 static int FindExtrema(const double src[], SkScalar weight, double tValue[1]);
|
D | SkPathOpsCubic.h | 66 static int FindExtrema(const double src[], double tValue[2]);
|
/external/skia/src/core/ |
D | SkGeometry.cpp | 175 int SkFindQuadExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar tValue[1]) { in SkFindQuadExtrema() 179 return valid_unit_divide(a - b, a - b - b + c, tValue); in SkFindQuadExtrema() 198 SkScalar tValue; in SkChopQuadAtYExtrema() local 199 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) { in SkChopQuadAtYExtrema() 200 SkChopQuadAt(src, dst, tValue); in SkChopQuadAtYExtrema() 226 SkScalar tValue; in SkChopQuadAtXExtrema() local 227 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) { in SkChopQuadAtXExtrema() 228 SkChopQuadAt(src, dst, tValue); in SkChopQuadAtXExtrema()
|