Lines Matching refs:bary
151 const SkPoint& t2, SkScalar bary[3]) { in inside_triangle()
176 bary[0] = d1 * d12; in inside_triangle()
177 bary[1] = d2 * d20; in inside_triangle()
178 bary[2] = d0 * d01; in inside_triangle()
180 SkScalar sum = bary[0] + bary[1] + bary[2]; in inside_triangle()
181 bary[0] /= sum; in inside_triangle()
182 bary[1] /= sum; in inside_triangle()
183 bary[2] /= sum; in inside_triangle()
201 SkScalar bary[3]; in get_framed_coverage() local
210 if (inside_triangle(point, t0, t1, t2, bary)) { in get_framed_coverage()
216 return bary[0] * c0 + bary[1] * c1 + bary[2] * c2; in get_framed_coverage()