76 paint.setAntiAlias(
false);
82 paint.setAntiAlias(
true);
96DEF_GM(
return new FillTypeGM; )
constexpr SkColor SK_ColorWHITE
void clipRect(const SkRect &rect, SkClipOp op, bool doAntiAlias)
void translate(SkScalar dx, SkScalar dy)
void drawColor(SkColor color, SkBlendMode mode=SkBlendMode::kSrcOver)
void drawPath(const SkPath &path, const SkPaint &paint)
void scale(SkScalar sx, SkScalar sy)
SkPathBuilder & addCircle(SkScalar center_x, SkScalar center_y, SkScalar radius, SkPathDirection dir=SkPathDirection::kCW)
void setFillType(SkPathFillType ft)
SkString getName() const override
void showPath(SkCanvas *canvas, int x, int y, SkPathFillType ft, SkScalar scale, const SkPaint &paint)
SkISize getISize() override
void onDraw(SkCanvas *canvas) override
void showFour(SkCanvas *canvas, SkScalar scale, const SkPaint &paint)
GM(SkColor backgroundColor=SK_ColorWHITE)
DEF_GM(return F(C(clipbox), 0.0f, 0.0f, {})) DEF_GM(return F(C(clipbox)
static SkPath scale(const SkPath &path, SkScalar scale)
static constexpr SkISize Make(int32_t w, int32_t h)
constexpr float centerX() const
constexpr float centerY() const