/external/chromium_org/third_party/skia/src/pathops/ |
SkPathOpsRect.cpp | 20 double tValues[2]; 23 roots = SkDQuad::FindExtrema(quad[0].fX, quad[1].fX, quad[2].fX, tValues); 26 roots += SkDQuad::FindExtrema(quad[0].fY, quad[1].fY, quad[2].fY, &tValues[roots]); 29 add(quad.ptAtT(tValues[x])); 47 double tValues[4]; 50 roots = SkDCubic::FindExtrema(c[0].fX, c[1].fX, c[2].fX, c[3].fX, tValues); 53 roots += SkDCubic::FindExtrema(c[0].fY, c[1].fY, c[2].fY, c[3].fY, &tValues[roots]); 56 add(c.ptAtT(tValues[x]));
|
/external/skia/src/pathops/ |
SkPathOpsRect.cpp | 20 double tValues[2]; 23 roots = SkDQuad::FindExtrema(quad[0].fX, quad[1].fX, quad[2].fX, tValues); 26 roots += SkDQuad::FindExtrema(quad[0].fY, quad[1].fY, quad[2].fY, &tValues[roots]); 29 add(quad.ptAtT(tValues[x])); 47 double tValues[4]; 50 roots = SkDCubic::FindExtrema(c[0].fX, c[1].fX, c[2].fX, c[3].fX, tValues); 53 roots += SkDCubic::FindExtrema(c[0].fY, c[1].fY, c[2].fY, c[3].fY, &tValues[roots]); 56 add(c.ptAtT(tValues[x]));
|
/external/chromium_org/third_party/skia/experimental/Intersection/ |
QuadraticBounds.cpp | 27 double tValues[2]; 30 roots = findExtrema(quad[0].x, quad[1].x, quad[2].x, tValues); 33 roots += findExtrema(quad[0].y, quad[1].y, quad[2].y, &tValues[roots]); 37 xy_at_t(quad, tValues[x], result.x, result.y);
|
CubicBounds.cpp | 46 double tValues[4]; 49 roots = findExtrema(cubic[0].x, cubic[1].x, cubic[2].x, cubic[3].x, tValues); 52 roots += findExtrema(cubic[0].y, cubic[1].y, cubic[2].y, cubic[3].y, &tValues[roots]); 56 xy_at_t(cubic, tValues[x], result.x, result.y);
|
CubicReduceOrder.cpp | 28 double tValues[2]; 36 int roots = findExtrema(cubic[0].y, cubic[1].y, cubic[2].y, cubic[3].y, tValues); 38 double yExtrema = interp_cubic_coords(&cubic[0].y, tValues[index]); 51 double tValues[2]; 59 int roots = findExtrema(cubic[0].x, cubic[1].x, cubic[2].x, cubic[3].x, tValues); 61 double xExtrema = interp_cubic_coords(&cubic[0].x, tValues[index]); 127 double tValues[2]; 130 roots = findExtrema(cubic[0].x, cubic[1].x, cubic[2].x, cubic[3].x, tValues); 132 roots = findExtrema(cubic[0].y, cubic[1].y, cubic[2].y, cubic[3].y, tValues); 136 extrema.x = interp_cubic_coords(&cubic[0].x, tValues[index]) [all...] |
/external/chromium_org/third_party/skia/tests/ |
GeometryTest.cpp | 17 Inspired by this test, which used to assert that the tValues had dups 28 SkScalar tValues[3]; 30 int count = SkChopCubicAtMaxCurvature(src, dst, tValues);
|
/external/skia/experimental/Intersection/ |
QuadraticBounds.cpp | 27 double tValues[2]; 30 roots = findExtrema(quad[0].x, quad[1].x, quad[2].x, tValues); 33 roots += findExtrema(quad[0].y, quad[1].y, quad[2].y, &tValues[roots]); 37 xy_at_t(quad, tValues[x], result.x, result.y);
|
CubicBounds.cpp | 46 double tValues[4]; 49 roots = findExtrema(cubic[0].x, cubic[1].x, cubic[2].x, cubic[3].x, tValues); 52 roots += findExtrema(cubic[0].y, cubic[1].y, cubic[2].y, cubic[3].y, &tValues[roots]); 56 xy_at_t(cubic, tValues[x], result.x, result.y);
|
CubicReduceOrder.cpp | 28 double tValues[2]; 36 int roots = findExtrema(cubic[0].y, cubic[1].y, cubic[2].y, cubic[3].y, tValues); 38 double yExtrema = interp_cubic_coords(&cubic[0].y, tValues[index]); 51 double tValues[2]; 59 int roots = findExtrema(cubic[0].x, cubic[1].x, cubic[2].x, cubic[3].x, tValues); 61 double xExtrema = interp_cubic_coords(&cubic[0].x, tValues[index]); 127 double tValues[2]; 130 roots = findExtrema(cubic[0].x, cubic[1].x, cubic[2].x, cubic[3].x, tValues); 132 roots = findExtrema(cubic[0].y, cubic[1].y, cubic[2].y, cubic[3].y, tValues); 136 extrema.x = interp_cubic_coords(&cubic[0].x, tValues[index]) [all...] |
/external/skia/tests/ |
GeometryTest.cpp | 17 Inspired by this test, which used to assert that the tValues had dups 28 SkScalar tValues[3]; 30 int count = SkChopCubicAtMaxCurvature(src, dst, tValues);
|
/external/chromium_org/third_party/skia/src/core/ |
SkGeometry.cpp | 452 SkScalar tValues[2]) { 458 return SkFindUnitQuadRoots(A, B, C, tValues); 489 valid_unit_divide in SkChopCubicAt(... tValues[], int roots). The reason is 510 const SkScalar tValues[], int roots) { 515 SkASSERT(is_unit_interval(tValues[i])); 516 SkASSERT(is_unit_interval(tValues[i+1])); 517 SkASSERT(tValues[i] < tValues[i+1]); 526 SkScalar t = tValues[0]; 541 if (!valid_unit_divide(tValues[i+1] - tValues[i] [all...] |
SkStroke.cpp | 447 SkScalar tValues[3]; 454 count = SkChopCubicAtMaxCurvature(pts, tmp, tValues);
|
/external/skia/src/core/ |
SkGeometry.cpp | 452 SkScalar tValues[2]) { 458 return SkFindUnitQuadRoots(A, B, C, tValues); 489 valid_unit_divide in SkChopCubicAt(... tValues[], int roots). The reason is 510 const SkScalar tValues[], int roots) { 515 SkASSERT(is_unit_interval(tValues[i])); 516 SkASSERT(is_unit_interval(tValues[i+1])); 517 SkASSERT(tValues[i] < tValues[i+1]); 526 SkScalar t = tValues[0]; 541 if (!valid_unit_divide(tValues[i+1] - tValues[i] [all...] |
SkStroke.cpp | 446 SkScalar tValues[3]; 453 count = SkChopCubicAtMaxCurvature(pts, tmp, tValues);
|