Searched refs:radius0 (Results 1 – 5 of 5) sorted by relevance
/external/skia/gm/ |
D | gradients_2pt_conical.cpp | 43 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::CreateTwoPointConical(center0, radius0, in Make2ConicalOutside() 56 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2ConicalOutsideFlip() local 58 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalOutsideFlip() 61 center0, radius0, in Make2ConicalOutsideFlip() 147 SkScalar radius0 = 0.f; in Make2ConicalZeroRadOutside() local 149 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2ConicalZeroRadOutside() 151 return SkGradientShader::CreateTwoPointConical(center0, radius0, in Make2ConicalZeroRadOutside() 160 SkScalar radius0 = 0.f; in Make2ConicalZeroRadFlipOutside() local [all …]
|
D | gradients_no_texture.cpp | 62 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2Conical() local 64 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical() 67 center0, radius0, in Make2Conical()
|
D | gradients.cpp | 83 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in Make2Conical() local 85 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in Make2Conical() 88 center0, radius0, in Make2Conical()
|
/external/skia/bench/ |
D | GradientBench.cpp | 104 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in MakeConicalOutside() local 106 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in MakeConicalOutside() 108 return SkGradientShader::CreateTwoPointConical(center0, radius0, in MakeConicalOutside() 118 SkScalar radius0 = (pts[1].fX - pts[0].fX) / 10; in MakeConicalOutsideZeroRad() local 120 center0.set(pts[0].fX + radius0, pts[0].fY + radius0); in MakeConicalOutsideZeroRad()
|
/external/skia/src/effects/gradients/ |
D | SkTwoPointConicalGradient_gpu.cpp | 293 SkScalar radius0 = data.radius(); in setData() local 296 if (fCachedRadius != radius0 || in setData() 300 SkScalarToFloat(radius0), in setData() 301 SkScalarToFloat(SkScalarMul(radius0, radius0)), in setData() 306 fCachedRadius = radius0; in setData()
|