8 #ifndef SkSVGFe_DEFINED
9 #define SkSVGFe_DEFINED
21 switch (node->
tag()) {
70 virtual std::vector<SkSVGFeInputType>
getInputs()
const = 0;
#define SVG_OPTIONAL_ATTR(attr_name, attr_type)
Definition: SkSVGNode.h:213
SkSVGTag
Definition: SkSVGNode.h:23
#define SVG_ATTR(attr_name, attr_type, attr_default)
Definition: SkSVGNode.h:203
SkSVGColorspace
Definition: SkSVGTypes.h:719
Base class for image filters.
Definition: SkImageFilter.h:35
SkRect resolveFilterSubregion(const SkSVGRenderContext &, const SkSVGFilterContext &) const
virtual sk_sp< SkImageFilter > onMakeImageFilter(const SkSVGRenderContext &, const SkSVGFilterContext &) const =0
bool parseAndSetAttribute(const char *, const char *) override
virtual SkSVGColorspace resolveColorspace(const SkSVGRenderContext &, const SkSVGFilterContext &) const
Resolves the colorspace within which this filter effect should be applied.
virtual std::vector< SkSVGFeInputType > getInputs() const =0
void applyProperties(SkSVGRenderContext *) const
Propagates any inherited presentation attributes in the given context.
sk_sp< SkImageFilter > makeImageFilter(const SkSVGRenderContext &ctx, const SkSVGFilterContext &fctx) const
static bool IsFilterEffect(const sk_sp< SkSVGNode > &node)
Definition: SkSVGFe.h:20
Definition: SkSVGFilterContext.h:21
Definition: SkSVGHiddenContainer.h:13
SkSVGHiddenContainer(SkSVGTag t)
Definition: SkSVGHiddenContainer.h:15
Definition: SkSVGTypes.h:116
SkSVGTag tag() const
Definition: SkSVGNode.h:99
Definition: SkSVGRenderContext.h:61
Light weight class for managing strings.
Definition: SkString.h:118
SkRect holds four float coordinates describing the upper and lower bounds of a rectangle.
Definition: SkRect.h:582