Home
last modified time | relevance | path

Searched refs:cAvg (Results 1 – 1 of 1) sorted by relevance

/external/skia/src/gpu/
DGrPathUtils.cpp484 SkPoint cAvg = c0; in convert_noninflect_cubic_to_quads() local
485 cAvg += c1; in convert_noninflect_cubic_to_quads()
486 cAvg.scale(SK_ScalarHalf); in convert_noninflect_cubic_to_quads()
491 !is_point_within_cubic_tangents(p[0], ab, dc, p[3], dir, cAvg)) { in convert_noninflect_cubic_to_quads()
497 cAvg.fX = ab.fY * z1 - z0 * dc.fY; in convert_noninflect_cubic_to_quads()
498 cAvg.fY = z0 * dc.fX - ab.fX * z1; in convert_noninflect_cubic_to_quads()
501 cAvg.fX *= z; in convert_noninflect_cubic_to_quads()
502 cAvg.fY *= z; in convert_noninflect_cubic_to_quads()
504 SkScalar d0Sqd = c0.distanceToSqd(cAvg); in convert_noninflect_cubic_to_quads()
505 SkScalar d1Sqd = c1.distanceToSqd(cAvg); in convert_noninflect_cubic_to_quads()
[all …]