Home
last modified time | relevance | path

Searched refs:radiusX (Results 1 – 25 of 47) sorted by relevance

12

/third_party/skia/modules/canvaskit/htmlcanvas/
Dpath2d.js43 function _ellipseHelper(skpath, x, y, radiusX, radiusY, startAngle, endAngle) { argument
47 var oval = CanvasKit.LTRBRect(x - radiusX, y - radiusY, x + radiusX, y + radiusY);
60 function ellipse(skpath, x, y, radiusX, radiusY, rotation, argument
62 if (!allAreFinite([x, y, radiusX, radiusY, rotation, startAngle, endAngle])) {
65 if (radiusX < 0 || radiusY < 0) {
98 _ellipseHelper(skpath, x, y, radiusX, radiusY, startAngle, endAngle);
104 _ellipseHelper(skpath, x, y, radiusX, radiusY, startAngle, endAngle);
186 this.ellipse = function(x, y, radiusX, radiusY, rotation, argument
188 ellipse(this._path, x, y, radiusX, radiusY, rotation,
/third_party/flutter/skia/modules/canvaskit/htmlcanvas/
Dpath2d.js43 function _ellipseHelper(skpath, x, y, radiusX, radiusY, startAngle, endAngle) { argument
47 var oval = CanvasKit.LTRBRect(x - radiusX, y - radiusY, x + radiusX, y + radiusY);
60 function ellipse(skpath, x, y, radiusX, radiusY, rotation, argument
62 if (!allAreFinite([x, y, radiusX, radiusY, rotation, startAngle, endAngle])) {
65 if (radiusX < 0 || radiusY < 0) {
98 _ellipseHelper(skpath, x, y, radiusX, radiusY, startAngle, endAngle);
104 _ellipseHelper(skpath, x, y, radiusX, radiusY, startAngle, endAngle);
185 this.ellipse = function(x, y, radiusX, radiusY, rotation, argument
187 ellipse(this._path, x, y, radiusX, radiusY, rotation,
/third_party/skia/docs/examples/
DRRect_radii.cpp7 for (SkScalar radiusX : { SK_ScalarNaN, SK_ScalarInfinity, 100.f, 50.f, 25.f} ) { in draw()
8 SkRRect rrect1 = SkRRect::MakeRectXY({10, 20, 60, 220}, radiusX, 200); in draw()
9 SkDebugf("left corner: (%g) %g\n", radiusX, rrect1.radii(SkRRect::kUpperLeft_Corner).fX); in draw()
/third_party/flutter/skia/docs/examples/
DRRect_radii.cpp7 for (SkScalar radiusX : { SK_ScalarNaN, SK_ScalarInfinity, 100.f, 50.f, 25.f} ) { in draw()
8 SkRRect rrect1 = SkRRect::MakeRectXY({10, 20, 60, 220}, radiusX, 200); in draw()
9 SkDebugf("left corner: (%g) %g\n", radiusX, rrect1.radii(SkRRect::kUpperLeft_Corner).fX); in draw()
/third_party/flutter/skia/src/core/
DSkMask.cpp58 SkMask SkMask::PrepareDestination(int radiusX, int radiusY, const SkMask& src) { in PrepareDestination() argument
65 size_t dstW = safe.add(src.fBounds.width(), safe.add(radiusX, radiusX)); in PrepareDestination()
80 dst.fBounds.offset(-radiusX, -radiusY); in PrepareDestination()
DSkGpuBlurUtils.cpp112 int radiusX, in convolve_gaussian_2d() argument
143 SkISize size = SkISize::Make(2 * radiusX + 1, 2 * radiusY + 1); in convolve_gaussian_2d()
144 SkIPoint kernelOffset = SkIPoint::Make(radiusX, radiusY); in convolve_gaussian_2d()
287 int radiusX, int radiusY, in decimate() argument
388 radiusX, contentRect->height()); in decimate()
497 int scaleFactorX, radiusX; in GaussianBlur() local
500 sigmaX = adjust_sigma(sigmaX, maxTextureSize, &scaleFactorX, &radiusX); in GaussianBlur()
511 (2 * radiusX + 1) * (2 * radiusY + 1) <= MAX_KERNEL_SIZE) { in GaussianBlur()
518 radiusX, radiusY, sigmaX, sigmaY, mode, finalW, finalH, in GaussianBlur()
533 sigmaY > 0.0f, radiusX, radiusY, mode, finalW, finalH, colorSpace); in GaussianBlur()
[all …]
DSkMaskBlurFilter.cpp877 int radiusX = filterX.radius(), in small_blur() local
880 SkASSERT(radiusX <= 4 && radiusY <= 4); in small_blur()
895 *dst = SkMask::PrepareDestination(radiusX, radiusY, src); in small_blur()
897 return {SkTo<int32_t>(radiusX), SkTo<int32_t>(radiusY)}; in small_blur()
921 dst->fImage + radiusX, dstRB); in small_blur()
927 dst->fImage + radiusX, dstRB); in small_blur()
933 dst->fImage + radiusX, dstRB); in small_blur()
938 dst->fImage + radiusX, dstRB); in small_blur()
945 direct_blur_x(radiusX, gaussFactorsX, in small_blur()
946 dst->fImage + radiusX, dstRB, srcW, in small_blur()
[all …]
/third_party/skia/src/core/
DSkMask.cpp58 SkMask SkMask::PrepareDestination(int radiusX, int radiusY, const SkMask& src) { in PrepareDestination() argument
65 size_t dstW = safe.add(src.fBounds.width(), safe.add(radiusX, radiusX)); in PrepareDestination()
80 dst.fBounds.offset(-radiusX, -radiusY); in PrepareDestination()
DSkGpuBlurUtils.cpp104 int radiusX, in convolve_gaussian_2d() argument
111 SkASSERT(radiusX && radiusY); in convolve_gaussian_2d()
123 SkISize size = SkISize::Make(SkGpuBlurUtils::KernelWidth(radiusX), in convolve_gaussian_2d()
125 SkIPoint kernelOffset = SkIPoint::Make(radiusX, radiusY); in convolve_gaussian_2d()
352 int radiusX, in two_pass_gaussian() argument
356 SkASSERT(radiusX || radiusY); in two_pass_gaussian()
358 if (radiusX > 0) { in two_pass_gaussian()
404 int leftSrcEdge = srcBounds.fLeft - radiusX ; in two_pass_gaussian()
405 int rightSrcEdge = srcBounds.fRight + radiusX; in two_pass_gaussian()
432 Direction::kX, radiusX, sigmaX, mode, colorSpace, xFit); in two_pass_gaussian()
[all …]
DSkMaskBlurFilter.cpp880 int radiusX = filterX.radius(), in small_blur() local
883 SkASSERT(radiusX <= 4 && radiusY <= 4); in small_blur()
898 *dst = SkMask::PrepareDestination(radiusX, radiusY, src); in small_blur()
900 return {SkTo<int32_t>(radiusX), SkTo<int32_t>(radiusY)}; in small_blur()
924 dst->fImage + radiusX, dstRB); in small_blur()
930 dst->fImage + radiusX, dstRB); in small_blur()
936 dst->fImage + radiusX, dstRB); in small_blur()
941 dst->fImage + radiusX, dstRB); in small_blur()
948 direct_blur_x(radiusX, gaussFactorsX, in small_blur()
949 dst->fImage + radiusX, dstRB, srcW, in small_blur()
[all …]
/third_party/flutter/engine/flutter/lib/web_ui/lib/src/engine/
Dpath_to_svg.dart45 ellipse.radiusX,
56 ellipse.radiusX,
67 ellipse.radiusX,
161 double radiusX,
170 final double x = math.cos(startAngle) * radiusX;
176 final double xe = math.cos(endAngle) * radiusX;
189 sb.write('A $radiusX $radiusY $rotationDeg '
/third_party/flutter/skia/include/effects/
DSkMorphologyImageFilter.h17 static sk_sp<SkImageFilter> Make(int radiusX, int radiusY,
32 static sk_sp<SkImageFilter> Make(int radiusX, int radiusY,
DSkImageFilters.h300 static sk_sp<SkImageFilter> Dilate(int radiusX, int radiusY, sk_sp<SkImageFilter> input,
311 static sk_sp<SkImageFilter> Erode(int radiusX, int radiusY, sk_sp<SkImageFilter> input,
/third_party/skia/src/effects/imagefilters/
DSkMorphologyImageFilter.cpp45 SkMorphologyImageFilter(MorphType type, SkScalar radiusX, SkScalar radiusY, in SkMorphologyImageFilter() argument
49 , fRadius(SkSize::Make(radiusX, radiusY)) {} in SkMorphologyImageFilter()
89 sk_sp<SkImageFilter> SkImageFilters::Dilate(SkScalar radiusX, SkScalar radiusY, in Dilate() argument
92 if (radiusX < 0 || radiusY < 0) { in Dilate()
96 MorphType::kDilate, radiusX, radiusY, std::move(input), cropRect)); in Dilate()
99 sk_sp<SkImageFilter> SkImageFilters::Erode(SkScalar radiusX, SkScalar radiusY, in Erode() argument
102 if (radiusX < 0 || radiusY < 0) { in Erode()
106 MorphType::kErode, radiusX, radiusY, std::move(input), cropRect)); in Erode()
142 int radiusX, const SkIRect& bounds) { in call_proc_X() argument
144 radiusX, bounds.width(), bounds.height(), in call_proc_X()
/third_party/flutter/engine/flutter/lib/ui/painting/
Dpath.cc144 float radiusX, in arcToPoint() argument
155 path_.arcTo(radiusX, radiusY, xAxisRotation, arcSize, direction, arcEndX, in arcToPoint()
161 float radiusX, in relativeArcToPoint() argument
171 path_.rArcTo(radiusX, radiusY, xAxisRotation, arcSize, direction, in relativeArcToPoint()
Dpath.h62 float radiusX,
69 float radiusX,
/third_party/flutter/skia/src/effects/imagefilters/
DSkMorphologyImageFilter.cpp47 SkMorphologyImageFilterImpl(MorphType type, int radiusX, int radiusY, in SkMorphologyImageFilterImpl() argument
51 , fRadius(SkISize::Make(radiusX, radiusY)) {} in SkMorphologyImageFilterImpl()
97 sk_sp<SkImageFilter> SkDilateImageFilter::Make(int radiusX, int radiusY, in Make() argument
100 if (radiusX < 0 || radiusY < 0) { in Make()
104 MorphType::kDilate, radiusX, radiusY, std::move(input), cropRect)); in Make()
107 sk_sp<SkImageFilter> SkErodeImageFilter::Make(int radiusX, int radiusY, in Make() argument
110 if (radiusX < 0 || radiusY < 0) { in Make()
114 MorphType::kErode, radiusX, radiusY, std::move(input), cropRect)); in Make()
168 int radiusX, const SkIRect& bounds) { in call_proc_X() argument
170 radiusX, bounds.width(), bounds.height(), in call_proc_X()
DSkImageFilters.cpp197 int radiusX, int radiusY, sk_sp<SkImageFilter> input, const SkIRect* cropRect) { in Dilate() argument
199 return SkDilateImageFilter::Make(radiusX, radiusY, std::move(input), &r); in Dilate()
203 int radiusX, int radiusY, sk_sp<SkImageFilter> input, const SkIRect* cropRect) { in Erode() argument
205 return SkErodeImageFilter::Make(radiusX, radiusY, std::move(input), &r); in Erode()
/third_party/flutter/skia/modules/pathkit/
Dexterns.js49 _ellipse: function(x, y, radiusX, radiusY, rotation, startAngle, endAngle, ccw) {}, argument
98 PathKit.SkPath.prototype.ellipse = function(x, y, radiusX, radiusY, rotation, startAngle, endAngle,… argument
Dchaining.js97 …PathKit.SkPath.prototype.ellipse = function(x, y, radiusX, radiusY, rotation, startAngle, endAngle… argument
98 this._ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle, !!ccw);
Dpathkit_wasm_bindings.cpp333 void ApplyEllipse(SkPath& path, SkScalar x, SkScalar y, SkScalar radiusX, SkScalar radiusY, in ApplyEllipse() argument
337 SkRect bounds = SkRect::MakeLTRB(x-radiusX, y-radiusY, x+radiusX, y+radiusY); in ApplyEllipse()
/third_party/skia/modules/pathkit/
Dexterns.js49 _ellipse: function(x, y, radiusX, radiusY, rotation, startAngle, endAngle, ccw) {}, argument
98 PathKit.SkPath.prototype.ellipse = function(x, y, radiusX, radiusY, rotation, startAngle, endAngle,… argument
Dchaining.js97 …PathKit.SkPath.prototype.ellipse = function(x, y, radiusX, radiusY, rotation, startAngle, endAngle… argument
98 this._ellipse(x, y, radiusX, radiusY, rotation, startAngle, endAngle, !!ccw);
Dpathkit_wasm_bindings.cpp320 void ApplyEllipse(SkPath& path, SkScalar x, SkScalar y, SkScalar radiusX, SkScalar radiusY, in ApplyEllipse() argument
324 SkRect bounds = SkRect::MakeLTRB(x-radiusX, y-radiusY, x+radiusX, y+radiusY); in ApplyEllipse()
/third_party/skia/include/effects/
DSkImageFilters.h375 static sk_sp<SkImageFilter> Dilate(SkScalar radiusX, SkScalar radiusY,
387 static sk_sp<SkImageFilter> Erode(SkScalar radiusX, SkScalar radiusY,

12