Searched defs:tValue (Results 1 - 10 of 10) sorted by relevance

/external/chromium_org/third_party/skia/experimental/Intersection/
H A DExtrema.cpp75 int findExtrema(double a, double b, double c, double tValue[1]) argument
80 return validUnitDivide(a - b, a - b - b + c, tValue);
H A DQuadraticReduceOrder.cpp26 double tValue; local
34 if (findExtrema(quad[0].y, quad[1].y, quad[2].y, &tValue)) {
35 double yExtrema = interp_quad_coords(quad[0].y, quad[1].y, quad[2].y, tValue);
47 double tValue; local
55 if (findExtrema(quad[0].x, quad[1].x, quad[2].x, &tValue)) {
56 double xExtrema = interp_quad_coords(quad[0].x, quad[1].x, quad[2].x, tValue);
96 double tValue; local
99 root = findExtrema(quad[0].x, quad[1].x, quad[2].x, &tValue);
101 root = findExtrema(quad[0].y, quad[1].y, quad[2].y, &tValue);
105 extrema.x = interp_quad_coords(quad[0].x, quad[1].x, quad[2].x, tValue);
[all...]
H A DQuadraticUtilities.cpp80 double tValue = s[index]; local
81 if (approximately_zero_or_more(tValue) && approximately_one_or_less(tValue)) {
82 if (approximately_less_than_zero(tValue)) {
83 tValue = 0;
84 } else if (approximately_greater_than_one(tValue)) {
85 tValue = 1;
88 if (approximately_equal(t[idx2], tValue)) {
92 t[foundRoots++] = tValue;
/external/skia/experimental/Intersection/
H A DExtrema.cpp75 int findExtrema(double a, double b, double c, double tValue[1]) argument
80 return validUnitDivide(a - b, a - b - b + c, tValue);
H A DQuadraticReduceOrder.cpp26 double tValue; local
34 if (findExtrema(quad[0].y, quad[1].y, quad[2].y, &tValue)) {
35 double yExtrema = interp_quad_coords(quad[0].y, quad[1].y, quad[2].y, tValue);
47 double tValue; local
55 if (findExtrema(quad[0].x, quad[1].x, quad[2].x, &tValue)) {
56 double xExtrema = interp_quad_coords(quad[0].x, quad[1].x, quad[2].x, tValue);
96 double tValue; local
99 root = findExtrema(quad[0].x, quad[1].x, quad[2].x, &tValue);
101 root = findExtrema(quad[0].y, quad[1].y, quad[2].y, &tValue);
105 extrema.x = interp_quad_coords(quad[0].x, quad[1].x, quad[2].x, tValue);
[all...]
H A DQuadraticUtilities.cpp80 double tValue = s[index]; local
81 if (approximately_zero_or_more(tValue) && approximately_one_or_less(tValue)) {
82 if (approximately_less_than_zero(tValue)) {
83 tValue = 0;
84 } else if (approximately_greater_than_one(tValue)) {
85 tValue = 1;
88 if (approximately_equal(t[idx2], tValue)) {
92 t[foundRoots++] = tValue;
/external/chromium_org/third_party/skia/src/pathops/
H A DSkPathOpsQuad.cpp72 double tValue = s[index]; local
73 if (approximately_zero_or_more(tValue) && approximately_one_or_less(tValue)) {
74 if (approximately_less_than_zero(tValue)) {
75 tValue = 0;
76 } else if (approximately_greater_than_one(tValue)) {
77 tValue = 1;
80 if (approximately_equal(t[idx2], tValue)) {
84 t[foundRoots++] = tValue;
322 int SkDQuad::FindExtrema(double a, double b, double c, double tValue[ argument
[all...]
/external/skia/src/pathops/
H A DSkPathOpsQuad.cpp72 double tValue = s[index]; local
73 if (approximately_zero_or_more(tValue) && approximately_one_or_less(tValue)) {
74 if (approximately_less_than_zero(tValue)) {
75 tValue = 0;
76 } else if (approximately_greater_than_one(tValue)) {
77 tValue = 1;
80 if (approximately_equal(t[idx2], tValue)) {
84 t[foundRoots++] = tValue;
322 int SkDQuad::FindExtrema(double a, double b, double c, double tValue[ argument
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkGeometry.cpp244 int SkFindQuadExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar tValue[1]) { argument
248 return valid_unit_divide(a - b, a - b - b + c, tValue);
267 SkScalar tValue; local
268 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) {
269 SkChopQuadAt(src, dst, tValue);
295 SkScalar tValue;
296 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) {
297 SkChopQuadAt(src, dst, tValue);
492 even though the 2nd tValue looks < 1.0, after we renormalize it, we end
/external/skia/src/core/
H A DSkGeometry.cpp244 int SkFindQuadExtrema(SkScalar a, SkScalar b, SkScalar c, SkScalar tValue[1]) { argument
248 return valid_unit_divide(a - b, a - b - b + c, tValue);
267 SkScalar tValue; local
268 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) {
269 SkChopQuadAt(src, dst, tValue);
295 SkScalar tValue;
296 if (valid_unit_divide(a - b, a - b - b + c, &tValue)) {
297 SkChopQuadAt(src, dst, tValue);
492 even though the 2nd tValue looks < 1.0, after we renormalize it, we end

Completed in 1092 milliseconds