diff options
author | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-06-26 22:16:12 +0200 |
---|---|---|
committer | Xisco Fauli <xiscofauli@libreoffice.org> | 2023-06-26 23:15:03 +0200 |
commit | 9951ffedd6941234447b9655fbc49ed6ca4cc64c (patch) | |
tree | 6bd1034aa6888b6c48a5ba6b4714a5736064ba83 /include | |
parent | 1be3ab048d417611055a76d1776a0a69eb6fc6dd (diff) |
Revert "tdf#132246, tdf#155735: Add support for SourceAlpha"
This reverts commit 75399b8aad6c0f0998b9d0a6eddb2e29f8bc114c.
it was incomplete.
While at it, do not parse 'in' attribute for now, so only
in="SourceGraphic" is used.
Implementing the 'in' attribute is not trivial
Change-Id: I66c721c1144638f5e3759e0aa3a1c2c062499a90
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153627
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/basegfx/color/bcolormodifier.hxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/include/basegfx/color/bcolormodifier.hxx b/include/basegfx/color/bcolormodifier.hxx index 37c6a5b9e2f3..6eb40b67e9d7 100644 --- a/include/basegfx/color/bcolormodifier.hxx +++ b/include/basegfx/color/bcolormodifier.hxx @@ -126,26 +126,6 @@ namespace basegfx SAL_DLLPRIVATE virtual OUString getModifierName() const override; }; - /** - * convert to alpha - */ - class SAL_WARN_UNUSED BASEGFX_DLLPUBLIC BColorModifier_alpha final : public BColorModifier - { - public: - BColorModifier_alpha() - { - } - - virtual ~BColorModifier_alpha() override; - - // compare operator - SAL_DLLPRIVATE virtual bool operator==(const BColorModifier& rCompare) const override; - - // compute modified color - SAL_DLLPRIVATE virtual ::basegfx::BColor getModifiedColor(const ::basegfx::BColor& aSourceColor) const override; - SAL_DLLPRIVATE virtual OUString getModifierName() const override; - }; - /** convert to alpha based on luminance returns a color where red green and blue are first weighted and added |