mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-26 09:45:06 +02:00
LibWeb: Add SVGComponentTransferFunctionElement
This will be the base for <feFuncR>, <feFuncG>, <feFuncB> and <feFuncA>.
This commit is contained in:
committed by
Jelle Raaijmakers
parent
03a8de566b
commit
db321cb74f
Notes:
github-actions[bot]
2025-11-09 00:23:58 +00:00
Author: https://github.com/gmta Commit: https://github.com/LadybirdBrowser/ladybird/commit/db321cb74fb Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6709
22
Libraries/LibWeb/SVG/SVGComponentTransferFunctionElement.idl
Normal file
22
Libraries/LibWeb/SVG/SVGComponentTransferFunctionElement.idl
Normal file
@@ -0,0 +1,22 @@
|
||||
#import <SVG/SVGElement.idl>
|
||||
|
||||
// https://www.w3.org/TR/filter-effects-1/#InterfaceSVGComponentTransferFunctionElement
|
||||
[Exposed=Window]
|
||||
interface SVGComponentTransferFunctionElement : SVGElement {
|
||||
|
||||
// Component Transfer Types
|
||||
const unsigned short SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
|
||||
const unsigned short SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1;
|
||||
const unsigned short SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2;
|
||||
const unsigned short SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3;
|
||||
const unsigned short SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4;
|
||||
const unsigned short SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
|
||||
|
||||
readonly attribute SVGAnimatedEnumeration type;
|
||||
readonly attribute SVGAnimatedNumberList tableValues;
|
||||
readonly attribute SVGAnimatedNumber slope;
|
||||
readonly attribute SVGAnimatedNumber intercept;
|
||||
readonly attribute SVGAnimatedNumber amplitude;
|
||||
readonly attribute SVGAnimatedNumber exponent;
|
||||
readonly attribute SVGAnimatedNumber offset;
|
||||
};
|
||||
Reference in New Issue
Block a user