28 const char* str =
"The quick brown fox jumped over the lazy dog.";
33 for (
int i = 0;
i < 25; ++
i) {
constexpr SkColor SK_ColorBLACK
int saveLayer(const SkRect *bounds, const SkPaint *paint)
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 setColor(SkColor color)
SkScalar nextRangeScalar(SkScalar min, SkScalar max)
uint32_t nextULessThan(uint32_t count)
uint32_t nextBits(unsigned bitCount)
DEF_SIMPLE_GM_BG(imageblur, canvas, WIDTH, HEIGHT, SK_ColorBLACK)
void imageblurgm_draw(SkScalar fSigmaX, SkScalar fSigmaY, SkCanvas *canvas)
font
Font Metadata and Metrics.