Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Static Public Member Functions | Private Member Functions | List of all members
SkSVGFePointLight Class Referencefinal

#include <SkSVGFeLightSource.h>

Inheritance diagram for SkSVGFePointLight:
SkSVGFeLightSource SkSVGHiddenContainer SkSVGContainer SkSVGTransformableNode SkSVGNode SkRefCnt SkRefCntBase

Static Public Member Functions

static sk_sp< SkSVGFePointLightMake ()
 

Private Member Functions

bool parseAndSetAttribute (const char *, const char *) override
 

Additional Inherited Members

- Public Member Functions inherited from SkSVGFeLightSource
void appendChild (sk_sp< SkSVGNode >) final
 
- Public Member Functions inherited from SkSVGTransformableNode
void setTransform (const SkSVGTransformType &t)
 
- Public Member Functions inherited from SkSVGNode
 ~SkSVGNode () override
 
SkSVGTag tag () const
 
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)
 
- Public Member Functions inherited from SkRefCntBase
 SkRefCntBase ()
 
virtual ~SkRefCntBase ()
 
bool unique () const
 
void ref () const
 
void unref () const
 
- Protected Member Functions inherited from SkSVGFeLightSource
 SkSVGFeLightSource (SkSVGTag tag)
 
- Protected Member Functions inherited from SkSVGHiddenContainer
 SkSVGHiddenContainer (SkSVGTag t)
 
void onRender (const SkSVGRenderContext &) const final
 
- Protected Member Functions inherited from SkSVGContainer
 SkSVGContainer (SkSVGTag)
 
SkPath onAsPath (const SkSVGRenderContext &) const override
 
SkRect onObjectBoundingBox (const SkSVGRenderContext &) const override
 
bool hasChildren () const final
 
- 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 onAsPaint (const SkSVGRenderContext &, SkPaint *) 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 >, true > fChildren
 

Detailed Description

Definition at line 47 of file SkSVGFeLightSource.h.

Member Function Documentation

◆ Make()

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

Definition at line 49 of file SkSVGFeLightSource.h.

◆ parseAndSetAttribute()

bool SkSVGFePointLight::parseAndSetAttribute ( const char *  n,
const char *  v 
)
overrideprivatevirtual

Reimplemented from SkSVGNode.

Definition at line 30 of file SkSVGFeLightSource.cpp.

30 {
32 this->setX(SkSVGAttributeParser::parse<SkSVGNumberType>("x", n, v)) ||
33 this->setY(SkSVGAttributeParser::parse<SkSVGNumberType>("y", n, v)) ||
34 this->setZ(SkSVGAttributeParser::parse<SkSVGNumberType>("z", n, v));
35}
virtual bool parseAndSetAttribute(const char *name, const char *value)
Definition SkSVGNode.cpp:90

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