Lines Matching refs:center
44 SkPoint center; in MakeRadial() local
45 center.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeRadial()
47 return SkGradientShader::CreateRadial(center, center.fX, data.fColors, in MakeRadial()
53 SkPoint center; in MakeSweep() local
54 center.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeSweep()
56 return SkGradientShader::CreateSweep(center.fX, center.fY, data.fColors, in MakeSweep()
200 SkPoint center; in onDraw() local
201 center.iset(0, 300); in onDraw()
204 SkPoint(center), in onDraw()
236 SkPoint center; in onDraw() local
237 center.set(SkIntToScalar(dim.width())/2, SkIntToScalar(dim.height())/2); in onDraw()
244 SkGradientShader::CreateRadial(center, radius, colors, in onDraw()