HomeSort by relevance Sort by last modified time
    Searched refs:cAvg (Results 1 - 2 of 2) sorted by null

  /external/chromium_org/third_party/skia/src/gpu/
GrPathUtils.cpp 470 SkPoint cAvg = c0;
471 cAvg += c1;
472 cAvg.scale(SK_ScalarHalf);
477 !is_point_within_cubic_tangents(p[0], ab, dc, p[3], dir, cAvg)) {
478 // choose a new cAvg that is the intersection of the two tangent lines.
483 cAvg.fX = SkScalarMul(ab.fY, z1) - SkScalarMul(z0, dc.fY);
484 cAvg.fY = SkScalarMul(z0, dc.fX) - SkScalarMul(ab.fX, z1);
487 cAvg.fX *= z;
488 cAvg.fY *= z;
490 SkScalar d0Sqd = c0.distanceToSqd(cAvg);
    [all...]
  /external/skia/src/gpu/
GrPathUtils.cpp 470 SkPoint cAvg = c0;
471 cAvg += c1;
472 cAvg.scale(SK_ScalarHalf);
477 !is_point_within_cubic_tangents(p[0], ab, dc, p[3], dir, cAvg)) {
478 // choose a new cAvg that is the intersection of the two tangent lines.
483 cAvg.fX = SkScalarMul(ab.fY, z1) - SkScalarMul(z0, dc.fY);
484 cAvg.fY = SkScalarMul(z0, dc.fX) - SkScalarMul(ab.fX, z1);
487 cAvg.fX *= z;
488 cAvg.fY *= z;
490 SkScalar d0Sqd = c0.distanceToSqd(cAvg);
    [all...]

Completed in 429 milliseconds