Home
last modified time | relevance | path

Searched refs:radius1 (Results 1 – 7 of 7) sorted by relevance

/third_party/skia/gm/
Dgradients_2pt_conical.cpp57 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalOutside() local
59 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalOutside()
60 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, data.fColors, in Make2ConicalOutside()
78 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalOutsideFlip() local
80 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalOutsideFlip()
81 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, data.fColors, in Make2ConicalOutsideFlip()
176 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalZeroRadOutside() local
178 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2ConicalZeroRadOutside()
179 return SkGradientShader::MakeTwoPointConical(center0, radius0, center1, radius1, in Make2ConicalZeroRadOutside()
189 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2ConicalZeroRadFlipOutside() local
[all …]
Dgradients_no_texture.cpp77 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2Conical() local
79 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2Conical()
80 return SkGradientShader::MakeTwoPointConical(center1, radius1, in Make2Conical()
Dgradients.cpp156 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2Conical() local
158 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2Conical()
159 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, in Make2Conical()
168 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in Make2Conical4f() local
170 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in Make2Conical4f()
172 return SkGradientShader::MakeTwoPointConical(center1, radius1, center0, radius0, in Make2Conical4f()
/third_party/skia/tests/
DScaleToSidesTest.cpp59 float radius1 = (float)interestingValues[i]; in DEF_TEST() local
62 double scale = sk_ieee_double_divide(width, (double)radius1 + (double)radius2); in DEF_TEST()
68 SkScaleToSides::AdjustRadii(width, scale, &radius1, &radius2); in DEF_TEST()
/third_party/skia/bench/
DGradientBench.cpp106 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in MakeConicalOutside() local
108 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in MakeConicalOutside()
110 center1, radius1, in MakeConicalOutside()
120 SkScalar radius1 = (pts[1].fX - pts[0].fX) / 3; in MakeConicalOutsideZeroRad() local
122 center1.set(pts[1].fX - radius1, pts[1].fY - radius1); in MakeConicalOutsideZeroRad()
124 center1, radius1, in MakeConicalOutsideZeroRad()
/third_party/skia/experimental/graphite/src/
DContextUtils.cpp118 float radius1, in make_conical_gradient_uniform_data() argument
128 &radius1, in make_conical_gradient_uniform_data()
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-color-colr-table.hh489 UFWORD radius1; member