Flutter Engine
The Flutter Engine
Public Member Functions | Static Public Member Functions | List of all members
SkSVGFeTurbulence Class Reference

#include <SkSVGFeTurbulence.h>

Inheritance diagram for SkSVGFeTurbulence:
SkSVGFe SkSVGHiddenContainer SkSVGContainer SkSVGTransformableNode SkSVGNode SkRefCnt SkRefCntBase

Public Member Functions

SVG_ATTR(TurbulenceType, SkSVGFeTurbulenceType, SkSVGFeTurbulenceType(SkSVGFeTurbulenceType::Type::kTurbulence)) protected std::vector< SkSVGFeInputTypegetInputs () const override
 
bool parseAndSetAttribute (const char *, const char *) override
 
- Public Member Functions inherited from SkSVGFe
sk_sp< SkImageFiltermakeImageFilter (const SkSVGRenderContext &ctx, const SkSVGFilterContext &fctx) const
 
SkRect resolveFilterSubregion (const SkSVGRenderContext &, const SkSVGFilterContext &) const
 
virtual SkSVGColorspace resolveColorspace (const SkSVGRenderContext &, const SkSVGFilterContext &) const
 
void applyProperties (SkSVGRenderContext *) const
 
- Public Member Functions inherited from SkSVGContainer
void appendChild (sk_sp< SkSVGNode >) override
 
- Public Member Functions inherited from SkSVGTransformableNode
void setTransform (const SkSVGTransformType &t)
 
- Public Member Functions inherited from SkSVGNode
 ~SkSVGNode () override
 
SkSVGTag tag () const
 
virtual void appendChild (sk_sp< SkSVGNode >)=0
 
void render (const SkSVGRenderContext &) const
 
bool asPaint (const SkSVGRenderContext &, SkPaint *) const
 
SkPath asPath (const SkSVGRenderContext &) const
 
SkRect objectBoundingBox (const SkSVGRenderContext &) const
 
void setAttribute (SkSVGAttribute, const SkSVGValue &)
 
bool setAttribute (const char *attributeName, const char *attributeValue)
 
virtual bool parseAndSetAttribute (const char *name, const char *value)
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 

Static Public Member Functions

static sk_sp< SkSVGFeTurbulenceMake ()
 
- Static Public Member Functions inherited from SkSVGFe
static bool IsFilterEffect (const sk_sp< SkSVGNode > &node)
 

Additional Inherited Members

- Protected Member Functions inherited from SkSVGFe
 SkSVGFe (SkSVGTag t)
 
virtual sk_sp< SkImageFilteronMakeImageFilter (const SkSVGRenderContext &, const SkSVGFilterContext &) const =0
 
virtual std::vector< SkSVGFeInputTypegetInputs () const =0
 
bool parseAndSetAttribute (const char *, const char *) override
 
- Protected Member Functions inherited from SkSVGHiddenContainer
 SkSVGHiddenContainer (SkSVGTag t)
 
void onRender (const SkSVGRenderContext &) const final
 
- Protected Member Functions inherited from SkSVGContainer
 SkSVGContainer (SkSVGTag)
 
void onRender (const SkSVGRenderContext &) const override
 
SkPath onAsPath (const SkSVGRenderContext &) const override
 
SkRect onObjectBoundingBox (const SkSVGRenderContext &) const override
 
bool hasChildren () const final
 
template<typename NodeType , typename Func >
void forEachChild (Func func) const
 
- Protected Member Functions inherited from SkSVGTransformableNode
 SkSVGTransformableNode (SkSVGTag)
 
bool onPrepareToRender (SkSVGRenderContext *) const override
 
void onSetAttribute (SkSVGAttribute, const SkSVGValue &) override
 
void mapToParent (SkPath *) const
 
void mapToParent (SkRect *) const
 
- Protected Member Functions inherited from SkSVGNode
 SkSVGNode (SkSVGTag)
 
virtual bool onPrepareToRender (SkSVGRenderContext *) const
 
virtual void onRender (const SkSVGRenderContext &) const =0
 
virtual bool onAsPaint (const SkSVGRenderContext &, SkPaint *) const
 
virtual SkPath onAsPath (const SkSVGRenderContext &) const =0
 
virtual void onSetAttribute (SkSVGAttribute, const SkSVGValue &)
 
virtual bool hasChildren () const
 
virtual SkRect onObjectBoundingBox (const SkSVGRenderContext &) const
 
- Static Protected Member Functions inherited from SkSVGNode
static SkMatrix ComputeViewboxMatrix (const SkRect &, const SkRect &, SkSVGPreserveAspectRatio)
 
- Protected Attributes inherited from SkSVGContainer
skia_private::STArray< 1, sk_sp< SkSVGNode >, truefChildren
 

Detailed Description

Definition at line 14 of file SkSVGFeTurbulence.h.

Member Function Documentation

◆ getInputs()

SVG_ATTR(TurbulenceType, SkSVGFeTurbulenceType, SkSVGFeTurbulenceType(SkSVGFeTurbulenceType::Type::kTurbulence)) protected std::vector< SkSVGFeInputType > SkSVGFeTurbulence::getInputs ( ) const
inlineoverridevirtual

Implements SkSVGFe.

Definition at line 31 of file SkSVGFeTurbulence.h.

31{ return {}; }

◆ Make()

static sk_sp< SkSVGFeTurbulence > SkSVGFeTurbulence::Make ( )
inlinestatic

Definition at line 16 of file SkSVGFeTurbulence.h.

◆ parseAndSetAttribute()

bool SkSVGFeTurbulence::parseAndSetAttribute ( const char *  name,
const char *  value 
)
overridevirtual

Reimplemented from SkSVGFe.

Definition at line 16 of file SkSVGFeTurbulence.cpp.

16 {
18 this->setNumOctaves(
19 SkSVGAttributeParser::parse<SkSVGIntegerType>("numOctaves", name, value)) ||
20 this->setSeed(SkSVGAttributeParser::parse<SkSVGNumberType>("seed", name, value)) ||
21 this->setBaseFrequency(SkSVGAttributeParser::parse<SkSVGFeTurbulenceBaseFrequency>(
22 "baseFrequency", name, value)) ||
23 this->setTurbulenceType(SkSVGAttributeParser::parse<SkSVGFeTurbulenceType>(
24 "type", name, value));
25}
bool parseAndSetAttribute(const char *, const char *) override
Definition: SkSVGFe.cpp:93
uint8_t value
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32

The documentation for this class was generated from the following files: