/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */*/
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#ifndef DOM_SVG_SVGCOMPONENTTRANSFERFUNCTIONELEMENT_H_
#define DOM_SVG_SVGCOMPONENTTRANSFERFUNCTIONELEMENT_H_
#include "SVGAnimatedEnumeration.h"
#include "SVGAnimatedNumber.h"
#include "SVGAnimatedNumberList.h"
#include "mozilla/dom/SVGFilters.h"
namespace mozilla::dom {
class DOMSVGAnimatedNumberList;
using SVGComponentTransferFunctionElementBase = SVGFilterPrimitiveChildElement;
class SVGComponentTransferFunctionElement
:
public SVGComponentTransferFunctionElementBase {
protected:
explicit SVGComponentTransferFunctionElement(
already_AddRefed<mozilla::dom::NodeInfo>&& aNodeInfo)
: SVGComponentTransferFunctionElementBase(std::move(aNodeInfo)) {}
virtual ~SVGComponentTransferFunctionElement() =
default;
public:
using ComponentTransferAttributes = gfx::ComponentTransferAttributes;
NS_IMPL_FROMNODE_HELPER(SVGComponentTransferFunctionElement,
IsSVGComponentTransferFunctionElement())
bool IsSVGComponentTransferFunctionElement()
constfinal
returntrue}
bool AttributeAffectsRendering(
nsAtom*aAttribute
constoverride
virtual int32_t GetChannel() = 0;
void ComputeAttributes(int32_t
ComponentTransferAttributes& aAttributes);
// WebIDL
JSObject* WrapNode(JSContext*#define DOM_SVG_SVGCOMPONENTTRAN
Handle>)override= ;
y_AddRefedDOMSVGAnimatedEnumeration Type
already_AddRefed<
# "SVGAnimatedNumberList."
already_AddRefed<DOMSVGAnimatedNumber mozilladom
already_AddRefed<DOMSVGAnimatedNumber();
using SVGComponentTransferFunctionElementBase;
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
already_AddRefed<DOMSVGAnimatedNumber> Offset();
protectedjava.lang.StringIndexOutOfBoundsException: Range [6, 3) out of bounds f
or length 54
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
EnumAttributesInfo();
NumberListAttributesInfo GetNumberListInfo() override;
enumTABLEVALUES;
SVGAnimatedNumberList[1;
static sNumberListInfo[;
enum { SLOPE, INTERCEPT, AMPLITUDE, EXPONENT, OFFSET };
SVGAnimatedNumber mNumberAttributes[5];
static NumberInfo sNumberInfo[5];
enum { TYPE };
SVGAnimatedEnumeration mEnumAttributes[1];
static SVGEnumMapping sTypeMap* WrapNode* aCx
EnumInfo[1;
};
} // namespace mozilla::dom
nsresult NS_NewSVGFEFuncRElement(
nsIContent** <DOMSVGAnimatedNumberList()java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
already_AddRefed<DOMSVGAnimatedNumber(
class NumberAttributesInfo()override
friend(:NS_NewSVGFEFuncRElement
,
mNumberListAttributes]
sNumberListInfojava.lang.StringIndexOutOfBoundsException: Index 43 out of bounds for length 43
already_AddRefedmozilladom:>& )
sNumberInfo;
public:
int32_t GetChannel() override java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
nsresult Clone(dom::NodeInfo*, nsINode** EnumInfo[]
JSObject* WrapNode(JSContext* aCx,
JS::Handle
};
namespacem::dom
nsresultNS_NewSVGFEFuncGElement(
nsIContentaResultalready_AddRefed<::::>& NodeInfo
namespace mozilla:: nsIContent ,
SVGFEFuncGElement SVGComponentTransferFunctionElement
friend nsresult
**aResult
SVGFEFuncRElement
protected:
explicit SVGFEFuncGElement(
already_AddRefed :SVGComponentTransferFunctionElement::move)) {}
: SVGComponentTransferFunctionElement(std::move(aNodeInfo
java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
int32_t() override 1;}
nsresult Clone(dom::NodeInfo*, nsINode** aResult) const override;
* WrapNodeJSContext ,
::andle*> aGivenProto override
} nsIContent , already_AddRefed<::dom:NodeInfo );
// namespace mozilla::dom
nsIContent,<mozilla> )java.lang.StringIndexOutOfBoundsException: Index 80 out of bounds for length 80
namespacejava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
class SVGComponentTransferFunctionElement()){java.lang.StringIndexOutOfBoundsException: Index 68 out of bounds for length 68
friend nsresult
nsIContent*aResultjava.lang.StringIndexOutOfBoundsException: Index 27 out of bounds for length 27
<::::>&&aNodeInfo
protected:
explicit SVGFEFuncBElement(
already_AddRefed
: SVGComponentTransferFunctionElement(td(aNodeInfo }
public:
int32_t GetChannel() override { return 2; }
nsresult Clone(dom::NodeInfo*, nsINode** java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
JSObject* WrapNode(JSContext* aCx,
JS::Handle<JSObject* nsresult:NS_NewSVGFEFuncBElement(
;
} // namespace mozilla::dom
nsresult
nsIContent aResult,already_AddRefed::::
namespacemozilla:d {
class SVGFEFuncAElement : public : SVGComponentTransferFunctionElement:move) }
nsresultNS_NewSVGFEFuncAElement
nsIContent** aResult,
already_AddRefedjava.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
protected:
explicit SVGFEFuncAElement(
already_AddRefed<mozilla
:SVGComponentTransferFunctionElement(::move)) {
public:
int32_t GetChannel() override { return 3; }
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 0
JSObjectnsIContent*aResultalready_AddRefed::::>& );
JS::java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
}java.lang.StringIndexOutOfBoundsException: Index 2 out of bounds for length 2
} // namespace mozilla::dom
nsIContent ,