Home
last modified time | relevance | path

Searched refs:radius0 (Results 1 – 8 of 8) sorted by relevance

/external/skqp/gm/
Dgradients_2pt_conical.cpp43 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2ConicalOutside() local
45 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalOutside()
47 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalOutside()
64 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2ConicalOutsideFlip() local
66 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalOutsideFlip()
68 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, data.fColors, in Make2ConicalOutsideFlip()
162 SkScalar radius0 = 0.f; in Make2ConicalZeroRadOutside() local
164 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalZeroRadOutside()
166 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, in Make2ConicalZeroRadOutside()
175 SkScalar radius0 = 0.f; in Make2ConicalZeroRadFlipOutside() local
[all …]
Dgradients_no_texture.cpp61 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2Conical() local
63 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical()
66 center0, radius0, in Make2Conical()
Dgradients.cpp136 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2Conical() local
138 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical()
140 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, in Make2Conical()
148 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2Conical4f() local
150 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical4f()
153 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, in Make2Conical4f()
/external/skia/gm/
Dgradients_2pt_conical.cpp56 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2ConicalOutside() local
58 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalOutside()
60 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalOutside()
77 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2ConicalOutsideFlip() local
79 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalOutsideFlip()
81 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, data.fColors, in Make2ConicalOutsideFlip()
175 SkScalar radius0 = 0.f; in Make2ConicalZeroRadOutside() local
177 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalZeroRadOutside()
179 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, in Make2ConicalZeroRadOutside()
188 SkScalar radius0 = 0.f; in Make2ConicalZeroRadFlipOutside() local
[all …]
Dgradients_no_texture.cpp76 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2Conical() local
78 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical()
81 center0, radius0, in Make2Conical()
Dgradients.cpp155 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2Conical() local
157 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical()
159 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, in Make2Conical()
167 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2Conical4f() local
169 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical4f()
172 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, in Make2Conical4f()
/external/skia/bench/
DGradientBench.cpp105 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in MakeConicalOutside() local
107 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in MakeConicalOutside()
109 return SkGradientShader::MakeTwoPointConical(center0, radius0, in MakeConicalOutside()
119 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in MakeConicalOutsideZeroRad() local
121 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in MakeConicalOutsideZeroRad()
/external/skqp/bench/
DGradientBench.cpp103 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in MakeConicalOutside() local
105 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in MakeConicalOutside()
107 return SkGradientShader::MakeTwoPointConical(center0, radius0, in MakeConicalOutside()
117 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in MakeConicalOutsideZeroRad() local
119 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in MakeConicalOutsideZeroRad()