/third_party/flutter/skia/src/pathops/ |
D | SkPathOpsQuad.cpp | 113 double tValue = s[index]; in AddValidTs() local 114 if (approximately_zero_or_more(tValue) && approximately_one_or_less(tValue)) { in AddValidTs() 115 if (approximately_less_than_zero(tValue)) { in AddValidTs() 116 tValue = 0; in AddValidTs() 117 } else if (approximately_greater_than_one(tValue)) { in AddValidTs() 118 tValue = 1; in AddValidTs() 121 if (approximately_equal(t[idx2], tValue)) { in AddValidTs() 125 t[foundRoots++] = tValue; in AddValidTs() 377 int SkDQuad::FindExtrema(const double src[], double tValue[1]) { in FindExtrema() 384 return valid_unit_divide(a - b, a - b - b + c, tValue); in FindExtrema()
|
D | SkPathOpsCubic.cpp | 375 double tValue = s[index]; in RootsValidT() local 376 if (!approximately_one_or_less(tValue) && between(1, tValue, 1.00005)) { in RootsValidT() 384 } else if (!approximately_zero_or_more(tValue) && between(-0.00005, tValue, 0)) { in RootsValidT()
|
D | SkPathOpsQuad.h | 69 static int FindExtrema(const double src[], double tValue[1]);
|
D | SkPathOpsConic.h | 67 static int FindExtrema(const double src[], SkScalar weight, double tValue[1]);
|
D | SkPathOpsCubic.h | 65 static int FindExtrema(const double src[], double tValue[2]);
|
/third_party/skia/src/pathops/ |
D | SkPathOpsQuad.cpp | 113 double tValue = s[index]; in AddValidTs() local 114 if (approximately_zero_or_more(tValue) && approximately_one_or_less(tValue)) { in AddValidTs() 115 if (approximately_less_than_zero(tValue)) { in AddValidTs() 116 tValue = 0; in AddValidTs() 117 } else if (approximately_greater_than_one(tValue)) { in AddValidTs() 118 tValue = 1; in AddValidTs() 121 if (approximately_equal(t[idx2], tValue)) { in AddValidTs() 125 t[foundRoots++] = tValue; in AddValidTs() 377 int SkDQuad::FindExtrema(const double src[], double tValue[1]) { in FindExtrema() 384 return valid_unit_divide(a - b, a - b - b + c, tValue); in FindExtrema()
|
D | SkPathOpsCubic.cpp | 377 double tValue = s[index]; in RootsValidT() local 378 if (!approximately_one_or_less(tValue) && between(1, tValue, 1.00005)) { in RootsValidT() 386 } else if (!approximately_zero_or_more(tValue) && between(-0.00005, tValue, 0)) { in RootsValidT()
|
D | SkPathOpsConic.h | 67 static int FindExtrema(const double src[], SkScalar weight, double tValue[1]);
|
D | SkPathOpsQuad.h | 69 static int FindExtrema(const double src[], double tValue[1]);
|
D | SkPathOpsCubic.h | 65 static int FindExtrema(const double src[], double tValue[2]);
|
/third_party/flutter/skia/src/core/ |
D | SkGeometry.cpp | 179 int SkFindQuadExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar tValue[1]) { in SkFindQuadExtrema() 183 return valid_unit_divide(a - b, a - b - b + c, tValue); in SkFindQuadExtrema() 202 SkScalar tValue; in SkChopQuadAtYExtrema() local 203 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) { in SkChopQuadAtYExtrema() 204 SkChopQuadAt(src, dst, tValue); in SkChopQuadAtYExtrema() 230 SkScalar tValue; in SkChopQuadAtXExtrema() local 231 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) { in SkChopQuadAtXExtrema() 232 SkChopQuadAt(src, dst, tValue); in SkChopQuadAtXExtrema()
|
/third_party/skia/src/core/ |
D | SkGeometry.cpp | 246 int SkFindQuadExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar tValue[1]) { in SkFindQuadExtrema() 250 return valid_unit_divide(a - b, a - b - b + c, tValue); in SkFindQuadExtrema() 269 SkScalar tValue; in SkChopQuadAtYExtrema() local 270 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) { in SkChopQuadAtYExtrema() 271 SkChopQuadAt(src, dst, tValue); in SkChopQuadAtYExtrema() 297 SkScalar tValue; in SkChopQuadAtXExtrema() local 298 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) { in SkChopQuadAtXExtrema() 299 SkChopQuadAt(src, dst, tValue); in SkChopQuadAtXExtrema()
|