Searched refs:ShaderPaint (Results 1 – 6 of 6) sorted by relevance
55 sk_sp<ShaderPaint> ShaderPaint::Make(sk_sp<Shader> sh) { in Make()56 return sh ? sk_sp<ShaderPaint>(new ShaderPaint(std::move(sh))) in Make()60 ShaderPaint::ShaderPaint(sk_sp<Shader> sh) in ShaderPaint() function in sksg::ShaderPaint65 ShaderPaint::~ShaderPaint() { in ~ShaderPaint()69 SkRect ShaderPaint::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { in onRevalidate()75 void ShaderPaint::onApplyToPaint(SkPaint* paint) const { in onApplyToPaint()
54 sk_sp<ShaderPaint> ShaderPaint::Make(sk_sp<Shader> sh) { in Make()55 return sh ? sk_sp<ShaderPaint>(new ShaderPaint(std::move(sh))) in Make()59 ShaderPaint::ShaderPaint(sk_sp<Shader> sh) in ShaderPaint() function in sksg::ShaderPaint64 ShaderPaint::~ShaderPaint() { in ~ShaderPaint()68 SkRect ShaderPaint::onRevalidate(InvalidationController* ic, const SkMatrix& ctm) { in onRevalidate()74 void ShaderPaint::onApplyToPaint(SkPaint* paint) const { in onApplyToPaint()
80 class ShaderPaint final : public PaintNode {82 ~ShaderPaint() override;84 static sk_sp<ShaderPaint> Make(sk_sp<Shader>);92 explicit ShaderPaint(sk_sp<Shader>);
212 ? AttachFill(jgrad, abuilder, sksg::ShaderPaint::Make(adapter->node()), adapter) in AttachGradientFill()221 ? AttachStroke(jgrad, abuilder, sksg::ShaderPaint::Make(adapter->node()), adapter) in AttachGradientStroke()
145 sk_sp<sksg::ShaderPaint> AttachGradient(const skjson::ObjectValue& jgrad, in AttachGradient()183 return sksg::ShaderPaint::Make(std::move(gradient_node)); in AttachGradient()