Lines Matching defs:center
68 SkPoint center;
69 center.set(SkScalarAve(pts[0].fX, pts[1].fX),
71 return SkGradientShader::CreateRadial(center, center.fX, data.fColors,
77 SkPoint center;
78 center.set(SkScalarAve(pts[0].fX, pts[1].fX),
80 return SkGradientShader::CreateSweep(center.fX, center.fY, data.fColors,
99 SkPoint center;
100 center.set(SkScalarAve(pts[0].fX, pts[1].fX),
103 center, (pts[1].fX - pts[0].fX) / 7,
104 center, (pts[1].fX - pts[0].fX) / 2,