mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-12-08 06:09:58 +00:00
LibWeb: Hook up SVG component transfer filter to Skia
This commit is contained in:
parent
70e98e72a8
commit
b4810f47a3
Notes:
github-actions[bot]
2025-11-09 00:23:44 +00:00
Author: https://github.com/gmta
Commit: b4810f47a3
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/6709
8 changed files with 264 additions and 1 deletions
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <AK/ByteBuffer.h>
|
||||
#include <AK/Optional.h>
|
||||
#include <LibWeb/SVG/SVGAnimatedEnumeration.h>
|
||||
#include <LibWeb/SVG/SVGAnimatedNumber.h>
|
||||
#include <LibWeb/SVG/SVGAnimatedNumberList.h>
|
||||
|
|
@ -40,6 +42,9 @@ public:
|
|||
GC::Ref<SVGAnimatedNumber> exponent();
|
||||
GC::Ref<SVGAnimatedNumber> offset();
|
||||
|
||||
Vector<float> table_float_values();
|
||||
ReadonlyBytes color_table();
|
||||
|
||||
protected:
|
||||
SVGComponentTransferFunctionElement(DOM::Document&, DOM::QualifiedName);
|
||||
|
||||
|
|
@ -57,6 +62,8 @@ private:
|
|||
GC::Ptr<SVGAnimatedNumber> m_amplitude;
|
||||
GC::Ptr<SVGAnimatedNumber> m_exponent;
|
||||
GC::Ptr<SVGAnimatedNumber> m_offset;
|
||||
|
||||
Optional<ByteBuffer> m_cached_color_table;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue