summaryrefslogtreecommitdiff
path: root/svgio/inc
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2024-04-10 18:05:00 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2024-04-12 10:47:56 +0200
commit732ca4879b7e49b171c5930166e4dba7be451841 (patch)
treedc9b7fa7a3c65885739f988e0d1c0897d764c239 /svgio/inc
parent51abf44808c6793a184e986b62c0786753e11ded (diff)
tdf#159660: Add support for screen mode in feBlend
Change-Id: Iefe655a370cca930319290baa2a25d791371f55c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165958 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'svgio/inc')
-rw-r--r--svgio/inc/svgfeblendnode.hxx7
-rw-r--r--svgio/inc/svgtoken.hxx1
2 files changed, 8 insertions, 0 deletions
diff --git a/svgio/inc/svgfeblendnode.hxx b/svgio/inc/svgfeblendnode.hxx
index 8ff46adf15ff..5881959ad418 100644
--- a/svgio/inc/svgfeblendnode.hxx
+++ b/svgio/inc/svgfeblendnode.hxx
@@ -24,12 +24,19 @@
namespace svgio::svgreader
{
+enum class Mode
+{
+ Normal,
+ Screen
+};
+
class SvgFeBlendNode : public SvgFilterNode
{
private:
OUString maIn;
OUString maIn2;
OUString maResult;
+ Mode maMode;
public:
SvgFeBlendNode(SvgDocument& rDocument, SvgNode* pParent);
diff --git a/svgio/inc/svgtoken.hxx b/svgio/inc/svgtoken.hxx
index d988f4b2d993..9e6945859cd4 100644
--- a/svgio/inc/svgtoken.hxx
+++ b/svgio/inc/svgtoken.hxx
@@ -97,6 +97,7 @@ namespace svgio::svgreader
FloodOpacity,
Operator,
Mask,
+ Mode,
ClipPathUnits,
MaskUnits,
MaskContentUnits,