8#ifndef SkSGPaint_DEFINED
9#define SkSGPaint_DEFINED
22class AnimationBuilder;
26class InvalidationController;
57 bool fAntiAlias =
false;
@ kSrcOver
r = s + (1-sa)*d
#define SG_ATTRIBUTE(attr_name, attr_type, attr_container)
@ kButt_Cap
no stroke extension
@ kFill_Style
set to fill geometry
@ kMiter_Join
extends to miter limit
SkRect onRevalidate(InvalidationController *, const SkMatrix &) override
void onApplyToPaint(SkPaint *) const override
static sk_sp< Color > Make(SkColor c)
Node(uint32_t invalTraits)
SkPaint makePaint() const
virtual void onApplyToPaint(SkPaint *) const =0
SkRect onRevalidate(InvalidationController *, const SkMatrix &) override
static sk_sp< ShaderPaint > Make(sk_sp< Shader >)
void onApplyToPaint(SkPaint *) const override