Searched refs:tValue (Results 1 - 6 of 6) sorted by relevance
/external/skia/src/pathops/ |
H A D | SkPathOpsQuad.cpp | 79 double tValue = s[index]; local 80 if (approximately_zero_or_more(tValue) && approximately_one_or_less(tValue)) { 81 if (approximately_less_than_zero(tValue)) { 82 tValue = 0; 83 } else if (approximately_greater_than_one(tValue)) { 84 tValue = 1; 87 if (approximately_equal(t[idx2], tValue)) { 91 t[foundRoots++] = tValue; 319 int SkDQuad::FindExtrema(const double src[], double tValue[ argument [all...] |
H A D | SkPathOpsConic.h | 59 static int FindExtrema(const double src[], SkScalar weight, double tValue[1]);
|
H A D | SkPathOpsQuad.h | 64 static int FindExtrema(const double src[], double tValue[1]);
|
H A D | SkPathOpsCubic.h | 73 static int FindExtrema(const double src[], double tValue[2]);
|
H A D | SkPathOpsCubic.cpp | 342 double tValue = s[index]; local 343 if (!approximately_one_or_less(tValue) && between(1, tValue, 1.00005)) { 351 } else if (!approximately_zero_or_more(tValue) && between(-0.00005, tValue, 0)) {
|
/external/skia/src/core/ |
H A D | SkGeometry.cpp | 227 int SkFindQuadExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar tValue[1]) { argument 231 return valid_unit_divide(a - b, a - b - b + c, tValue); 250 SkScalar tValue; local 251 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) { 252 SkChopQuadAt(src, dst, tValue); 278 SkScalar tValue; 279 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) { 280 SkChopQuadAt(src, dst, tValue); 477 even though the 2nd tValue looks < 1.0, after we renormalize it, we end
|
Completed in 391 milliseconds