26 this->
test(loops, canvas, 0, 0, 0.1f, 0.1f, 3, 0,
false);
42 float baseFrequencyX,
float baseFrequencyY,
int numOctaves,
float seed,
46 baseFrequencyX, baseFrequencyY, numOctaves, seed, stitchTiles ? &fSize :
nullptr));
47 for (
int i = 0;
i < loops;
i++) {
48 this->drawClippedRect(canvas,
x,
y,
paint);
const char * onGetName() override
void onDraw(int loops, SkCanvas *canvas) override
void drawRect(const SkRect &rect, const SkPaint &paint)
void clipRect(const SkRect &rect, SkClipOp op, bool doAntiAlias)
SK_API sk_sp< SkShader > MakeFractalNoise(SkScalar baseFrequencyX, SkScalar baseFrequencyY, int numOctaves, SkScalar seed, const SkISize *tileSize=nullptr)
static constexpr SkISize Make(int32_t w, int32_t h)
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)