Home
last modified time | relevance | path

Searched refs:radius1 (Results 1 – 19 of 19) 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/flutter/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/flutter/flutter/packages/flutter/test/painting/
Dborder_radius_test.dart29 const Radius radius1 = Radius.elliptical(89.0, 87.0);
32 borderRadius = const BorderRadius.vertical(top: radius1, bottom: radius2);
34 expect(borderRadius.topLeft, radius1);
35 expect(borderRadius.topRight, radius1);
40 topLeft: radius1,
41 topRight: radius1,
46 borderRadius = const BorderRadius.horizontal(left: radius1, right: radius2);
48 expect(borderRadius.topLeft, radius1);
50 expect(borderRadius.bottomLeft, radius1);
54 topLeft: radius1,
[all …]
/third_party/flutter/skia/src/gpu/gradients/generated/
DGrTwoPointConicalGradientLayout.cpp160 SkScalar radius1 = d->fRandom->nextRangeScalar(0.0f, scale); in TestCreate() local
174 if (SkScalarNearlyZero(radius1 - radius2)) { in TestCreate()
178 radius1 = SkTMax(radius1, .1f); // Make sure that the radius is non-zero in TestCreate()
179 radius2 = radius1; in TestCreate()
191 radius1 = 0; in TestCreate()
194 radius2 = radius1 + SkPoint::Distance(center1, center2); in TestCreate()
197 std::swap(radius1, radius2); in TestCreate()
202 if (SkScalarNearlyZero(radius1 - radius2)) { in TestCreate()
207 if (SkScalarNearlyZero(radius1 - radius2) && in TestCreate()
215 center1, radius1, center2, radius2, params.fColors4f, in TestCreate()
[all …]
/third_party/pixman/demos/
Dradial-test.c96 double x0, x1, radius0, radius1, left, right, center; in create_radial() local
101 radius1 = radiuses[NUM_GRADIENTS - index - 1]; in create_radial()
104 left = MIN (x0 - radius0, x1 - radius1); in create_radial()
105 right = MAX (x0 + radius0, x1 + radius1); in create_radial()
114 radius1 *= 0.25; in create_radial()
123 r1 = pixman_double_to_fixed (radius1); in create_radial()
/third_party/flutter/skia/tests/
DScaleToSidesTest.cpp50 float radius1 = (float)interestingValues[i]; in DEF_TEST() local
53 double scale = sk_ieee_double_divide(width, (double)radius1 + (double)radius2); in DEF_TEST()
59 SkScaleToSides::AdjustRadii(width, scale, &radius1, &radius2); in DEF_TEST()
/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/flutter/skia/src/gpu/gradients/
DGrTwoPointConicalGradientLayout.fp235 SkScalar radius1 = d->fRandom->nextRangeScalar(0.0f, scale);
251 if (SkScalarNearlyZero(radius1 - radius2)) {
255 radius1 = SkTMax(radius1, .1f); // Make sure that the radius is non-zero
256 radius2 = radius1;
268 radius1 = 0;
271 radius2 = radius1 + SkPoint::Distance(center1, center2);
274 std::swap(radius1, radius2);
279 if (SkScalarNearlyZero(radius1 - radius2)) {
284 if (SkScalarNearlyZero(radius1 - radius2) &&
291 SkGradientShader::MakeTwoPointConical(center1, radius1, center2, radius2,
[all …]
/third_party/flutter/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/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/harfbuzz/src/
Dhb-ot-color-colr-table.hh319 Var<UFWORD> radius1; member
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/ui/
Dgeometry.dart1440 // Returns the minimum between min and scale to which radius1 and radius2
1442 double _getMin(double min, double radius1, double radius2, double limit) {
1443 final double sum = radius1 + radius2;
/third_party/flutter/engine/flutter/lib/ui/
Dgeometry.dart1410 // Returns the minimum between min and scale to which radius1 and radius2
1412 double _getMin(double min, double radius1, double radius2, double limit) {
1413 final double sum = radius1 + radius2;
/third_party/skia/third_party/externals/harfbuzz/src/
Dhb-ot-color-colr-table.hh489 UFWORD radius1; member