Lines Matching refs:center
50 SkPoint center; in MakeRadial() local
51 center.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeRadial()
53 return SkGradientShader::CreateRadial(center, center.fX, data.fColors, in MakeRadial()
59 SkPoint center; in MakeSweep() local
60 center.set(SkScalarAve(pts[0].fX, pts[1].fX), in MakeSweep()
62 return SkGradientShader::CreateSweep(center.fX, center.fY, data.fColors, in MakeSweep()
309 SkPoint center; in onDraw() local
310 center.iset(0, 300); in onDraw()
313 SkPoint(center), in onDraw()
347 SkPoint center; in onDraw() local
348 center.set(SkIntToScalar(dim.width())/2, SkIntToScalar(dim.height())/2); in onDraw()
355 SkGradientShader::CreateRadial(center, radius, colors, in onDraw()
394 SkPoint center; in onDraw() local
395 center.set(cx, cy); in onDraw()
407 SkGradientShader::CreateRadial(center, radius, colors1, in onDraw()
412 SkGradientShader::CreateRadial(center, radius, colors2, in onDraw()
445 const SkPoint center = { 0, 0 }; in onOnceBeforeDraw() local
448 fShader.reset(SkGradientShader::CreateRadial(center, kRadius, gColors, NULL, 2, in onOnceBeforeDraw()