SVGFEComponentTransferElement.h [plain text]
#pragma once
#include "SVGFilterPrimitiveStandardAttributes.h"
namespace WebCore {
class SVGFEComponentTransferElement final : public SVGFilterPrimitiveStandardAttributes {
WTF_MAKE_ISO_ALLOCATED(SVGFEComponentTransferElement);
public:
static Ref<SVGFEComponentTransferElement> create(const QualifiedName&, Document&);
String in1() const { return m_in1.currentValue(attributeOwnerProxy()); }
RefPtr<SVGAnimatedString> in1Animated() { return m_in1.animatedProperty(attributeOwnerProxy()); }
private:
SVGFEComponentTransferElement(const QualifiedName&, Document&);
using AttributeOwnerProxy = SVGAttributeOwnerProxyImpl<SVGFEComponentTransferElement, SVGFilterPrimitiveStandardAttributes>;
static AttributeOwnerProxy::AttributeRegistry& attributeRegistry() { return AttributeOwnerProxy::attributeRegistry(); }
static void registerAttributes();
const SVGAttributeOwnerProxy& attributeOwnerProxy() const final { return m_attributeOwnerProxy; }
void parseAttribute(const QualifiedName&, const AtomicString&) override;
RefPtr<FilterEffect> build(SVGFilterBuilder*, Filter&) override;
AttributeOwnerProxy m_attributeOwnerProxy { *this };
SVGAnimatedStringAttribute m_in1;
};
}