31 : fSigmaX(sigmaX), fSigmaY(sigmaY) {
44 for (
SkScalar y = bounds.top();
y < bounds.bottom();
y += tileSize) {
45 for (
SkScalar x = bounds.left();
x < bounds.right();
x += tileSize) {
57 for (
unsigned i = 0; i < std::size(str); i++) {
76DEF_GM(
return new ImageBlurTiledGM(3.0f, 3.0f);)
int saveLayer(const SkRect *bounds, const SkPaint *paint)
void clipRect(const SkRect &rect, SkClipOp op, bool doAntiAlias)
SkRect getLocalClipBounds() const
void drawString(const char str[], SkScalar x, SkScalar y, const SkFont &font, const SkPaint &paint)
static sk_sp< SkImageFilter > Blur(SkScalar sigmaX, SkScalar sigmaY, SkTileMode tileMode, sk_sp< SkImageFilter > input, const CropRect &cropRect={})
void onDraw(SkCanvas *canvas) override
SkString getName() const override
SkISize getISize() override
ImageBlurTiledGM(SkScalar sigmaX, SkScalar sigmaY)
static constexpr SkISize Make(int32_t w, int32_t h)
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)