50 paint.setAntiAlias(
true);
84 paint.setAntiAlias(
true);
91 const int kXLimit = 700;
92 const int kYIncrement = 5;
93 const int kXIncrement = 5;
111 using INHERITED =
GM;
116DEF_GM(
return new ManyCirclesGM; )
117DEF_GM(
return new ManyRRectsGM; )
SK_API SkColor SkHSVToColor(U8CPU alpha, const SkScalar hsv[3])
constexpr SkColor SK_ColorBLUE
void drawOval(const SkRect &oval, const SkPaint &paint)
void translate(SkScalar dx, SkScalar dy)
void drawRRect(const SkRRect &rrect, const SkPaint &paint)
static SkRRect MakeRectXY(const SkRect &rect, SkScalar xRad, SkScalar yRad)
float nextRangeF(float min, float max)
GM(SkColor backgroundColor=SK_ColorWHITE)
SkISize getISize() override
SkString getName() const override
void onDraw(SkCanvas *canvas) override
void onDraw(SkCanvas *canvas) override
SkString getName() const override
SkISize getISize() override
sk_sp< SkBlender > blender SkRect rect
static SkColor gen_color(SkRandom *rand)
DEF_GM(return F(C(clipbox), 0.0f, 0.0f, {})) DEF_GM(return F(C(clipbox)
static constexpr SkISize Make(int32_t w, int32_t h)
static constexpr SkRect MakeXYWH(float x, float y, float w, float h)
static constexpr SkRect MakeLTRB(float l, float t, float r, float b)