Lines Matching refs:SkGradientShader
57 return SkGradientShader::MakeLinear(pts, data.fColors, data.fPos, data.fCount, tm, 0, in MakeLinear()
64 return SkGradientShader::MakeLinear(pts, data.fColors4f, srgb, data.fPos, data.fCount, tm, 0, in MakeLinear4f()
73 return SkGradientShader::MakeRadial(center, center.fX, data.fColors, data.fPos, data.fCount, in MakeRadial()
83 return SkGradientShader::MakeRadial(center, center.fX, data.fColors4f, srgb, data.fPos, in MakeRadial4f()
92 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors, data.fPos, data.fCount, in MakeSweep()
102 return SkGradientShader::MakeSweep(center.fX, center.fY, data.fColors4f, srgb, data.fPos, in MakeSweep4f()
113 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in Make2Radial()
127 return SkGradientShader::MakeTwoPointConical(center1, (pts[1].fX - pts[0].fX) / 7, in Make2Radial4f()
140 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, in Make2Conical()
153 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, in Make2Conical4f()
408 paint.setShader(SkGradientShader::MakeTwoPointConical(c0, r0, c1, r1, colors, in onDraw()
452 paint.setShader(SkGradientShader::MakeTwoPointConical(c0, r0, c1, r1, colors, pos,
487 paint.setShader(SkGradientShader::MakeRadial( in onDraw()
530 paint.setShader(SkGradientShader::MakeRadial(center, radius, colors, pos, in onDraw()
576 const uint32_t flags[] = { 0, SkGradientShader::kInterpolateColorsInPremul_Flag }; in onDraw()
579 paint1.setShader(SkGradientShader::MakeSweep(cx, cy, sweep_colors, in onDraw()
582 paint2.setShader(SkGradientShader::MakeRadial(center, radius, colors1, in onDraw()
586 paint3.setShader(SkGradientShader::MakeRadial(center, radius, colors2, in onDraw()
628 fShader = SkGradientShader::MakeRadial(center, kRadius, gColors, nullptr, 2, in onOnceBeforeDraw()
665 fShader = SkGradientShader::MakeRadial(center, kRadius, colors, pos, in onOnceBeforeDraw()
713 fShader[index] = SkGradientShader::MakeLinear(pts, colors, pos, in onOnceBeforeDraw()
782 paint.setShader(SkGradientShader::MakeLinear(configs[i].pts, colors, configs[i].pos, in onDraw()
813 return SkGradientShader::MakeLinear(pts, run.fColors, run.fPos, run.fCount, mode); in make_linear()
818 return SkGradientShader::MakeRadial({half,half}, half - 10, run.fColors, run.fPos, in make_radial()
825 return SkGradientShader::MakeTwoPointConical(center, 20, center, half - 10, in make_conical()
831 return SkGradientShader::MakeSweep(half, half, run.fColors, run.fPos, run.fCount); in make_sweep()
907 p.setShader(SkGradientShader::MakeLinear( in draw_many_stops()
953 p.setShader(SkGradientShader::MakeLinear(pts1, colors1, pos, SK_ARRAY_COUNT(colors1), in __anon1de21a9d0202()
958 p.setShader(SkGradientShader::MakeLinear(pts2, colors2, pos, SK_ARRAY_COUNT(colors2), in __anon1de21a9d0202()
980 p.setShader(SkGradientShader::MakeSweep(kTileSize / 2, kTileSize / 2, in __anon1de21a9d0302()
1000 sk_sp<SkShader> sweep1 = SkGradientShader::MakeSweep(center.x(), center.y(), colors, pos, in __anon1de21a9d0402()
1004 sk_sp<SkShader> sweep2 = SkGradientShader::MakeSweep(center.x(), center.y(), colors, pos, in __anon1de21a9d0402()
1015 SkGradientShader::MakeRadial(center, 100, colors, in __anon1de21a9d0402()
1050 p.setShader(SkGradientShader::MakeSweep(size / 2, size / 2, colors, pos,
1100 p.setShader(SkGradientShader::MakeLinear(pts, cfg.colors, cfg.pos, cfg.count,