8 #ifndef SkSVGFeLighting_DEFINED
9 #define SkSVGFeLighting_DEFINED
31 std::vector<SkSVGFeInputType>
getInputs() const final {
return {this->getIn()}; }
uint32_t SkColor
32-bit ARGB color value, unpremultiplied.
Definition: SkColor.h:37
#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
SkScalar SkSVGNumberType
Definition: SkSVGTypes.h:27
Base class for image filters.
Definition: SkImageFilter.h:35
Definition: SkSVGFeLighting.h:92
sk_sp< SkImageFilter > makeDistantLight(const SkSVGRenderContext &, const SkSVGFilterContext &, const SkSVGFeDistantLight *) const final
static sk_sp< SkSVGFeDiffuseLighting > Make()
Definition: SkSVGFeLighting.h:94
bool parseAndSetAttribute(const char *, const char *) override
sk_sp< SkImageFilter > makeSpotLight(const SkSVGRenderContext &, const SkSVGFilterContext &, const SkSVGFeSpotLight *) const final
sk_sp< SkImageFilter > makePointLight(const SkSVGRenderContext &, const SkSVGFilterContext &, const SkSVGFePointLight *) const final
Definition: SkSVGFeLightSource.h:28
Definition: SkSVGFeLighting.h:18
std::vector< SkSVGFeInputType > getInputs() const final
Definition: SkSVGFeLighting.h:31
SkSVGFeLighting(SkSVGTag t)
Definition: SkSVGFeLighting.h:29
bool parseAndSetAttribute(const char *, const char *) override
virtual sk_sp< SkImageFilter > makeDistantLight(const SkSVGRenderContext &, const SkSVGFilterContext &, const SkSVGFeDistantLight *) const =0
sk_sp< SkImageFilter > onMakeImageFilter(const SkSVGRenderContext &, const SkSVGFilterContext &) const final
virtual sk_sp< SkImageFilter > makePointLight(const SkSVGRenderContext &, const SkSVGFilterContext &, const SkSVGFePointLight *) const =0
SkPoint3 resolveXYZ(const SkSVGRenderContext &, const SkSVGFilterContext &, SkSVGNumberType, SkSVGNumberType, SkSVGNumberType) const
SkColor resolveLightingColor(const SkSVGRenderContext &) const
virtual sk_sp< SkImageFilter > makeSpotLight(const SkSVGRenderContext &, const SkSVGFilterContext &, const SkSVGFeSpotLight *) const =0
Definition: SkSVGFeLightSource.h:47
Definition: SkSVGFeLighting.h:62
bool parseAndSetAttribute(const char *, const char *) override
sk_sp< SkImageFilter > makePointLight(const SkSVGRenderContext &, const SkSVGFilterContext &, const SkSVGFePointLight *) const final
sk_sp< SkImageFilter > makeDistantLight(const SkSVGRenderContext &, const SkSVGFilterContext &, const SkSVGFeDistantLight *) const final
static sk_sp< SkSVGFeSpecularLighting > Make()
Definition: SkSVGFeLighting.h:64
sk_sp< SkImageFilter > makeSpotLight(const SkSVGRenderContext &, const SkSVGFilterContext &, const SkSVGFeSpotLight *) const final
Definition: SkSVGFeLightSource.h:65
SkSVGFe(SkSVGTag t)
Definition: SkSVGFe.h:65
Definition: SkSVGFilterContext.h:21
Definition: SkSVGRenderContext.h:61
Definition: SkPoint3.h:14
Definition: SkSVGFeLighting.h:20
SkSVGNumberType fDx
Definition: SkSVGFeLighting.h:21
SkSVGNumberType fDy
Definition: SkSVGFeLighting.h:22