43 int xOffset = 0, yOffset = 0;
46 for (
float arc = 134.0f; arc < 136.0f; arc += 0.01f) {
84DEF_GM(
return new ArcOfZorroGM;)
void translate(SkScalar dx, SkScalar dy)
void drawArc(const SkRect &oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, const SkPaint &paint)
@ kStroke_Style
set to stroke geometry
SkString getName() const override
SkISize getISize() override
void onDraw(SkCanvas *canvas) override
GM(SkColor backgroundColor=SK_ColorWHITE)
sk_sp< SkBlender > blender SkRect rect
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)