17#include <initializer_list>
24 for (
auto sigma : {0.0, 0.1, 0.2, 0.3, 0.4, 0.6, 0.8, 1.0, 1.2}) {
33 p.setStyle(SkPaint::Style::kStroke_Style);
35 canvas->drawRect(
b,
p);
40 canvas->drawRect(r,
p);
42 canvas->translate(0, 100);
constexpr SkColor SK_ColorRED
constexpr SkColor SK_ColorBLACK
#define SkScalarCeilToInt(x)
DEF_SIMPLE_GM(check_small_sigma_offset, canvas, 200, 1200)
static sk_sp< SkImageFilter > Blur(SkScalar sigmaX, SkScalar sigmaY, SkTileMode tileMode, sk_sp< SkImageFilter > input, const CropRect &cropRect={})
SkRect makeOutset(float dx, float dy) const
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)