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

#include <SkSVGFeLightSource.h>

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

Static Public Member Functions

static sk_sp< SkSVGFeSpotLightMake ()
 

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 65 of file SkSVGFeLightSource.h.

Member Function Documentation

◆ Make()

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

Definition at line 67 of file SkSVGFeLightSource.h.

◆ parseAndSetAttribute()

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

Reimplemented from SkSVGNode.

Definition at line 37 of file SkSVGFeLightSource.cpp.

37 {
39 this->setX(SkSVGAttributeParser::parse<SkSVGNumberType>("x", n, v)) ||
40 this->setY(SkSVGAttributeParser::parse<SkSVGNumberType>("y", n, v)) ||
41 this->setZ(SkSVGAttributeParser::parse<SkSVGNumberType>("z", n, v)) ||
42 this->setPointsAtX(SkSVGAttributeParser::parse<SkSVGNumberType>("pointsAtX", n, v)) ||
43 this->setPointsAtY(SkSVGAttributeParser::parse<SkSVGNumberType>("pointsAtY", n, v)) ||
44 this->setPointsAtZ(SkSVGAttributeParser::parse<SkSVGNumberType>("pointsAtZ", n, v)) ||
45 this->setSpecularExponent(
46 SkSVGAttributeParser::parse<SkSVGNumberType>("specularExponent", n, v)) ||
47 this->setLimitingConeAngle(
48 SkSVGAttributeParser::parse<SkSVGNumberType>("limitingConeAngle", n, v));
49}
virtual bool parseAndSetAttribute(const char *name, const char *value)
Definition SkSVGNode.cpp:90

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