office-gobmx/include/vcl/BitmapArithmeticBlendFilter.hxx
Xisco Fauli cb4698626f tdf#48062: Add support for arithmetic in feComposite
Took https://github.com/w3c/csswg-drafts/issues/3831
as a reference

Change-Id: I42039c481ec114c3faeae51526a5f29b86960146
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165828
Tested-by: Jenkins
Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
2024-04-16 09:36:37 +02:00

31 lines
861 B
C++

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* 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 INCLUDED_VCL_BITMAPARITHMETICBLENDFILTER_HXX
#define INCLUDED_VCL_BITMAPARITHMETICBLENDFILTER_HXX
#include <vcl/bitmapex.hxx>
class VCL_DLLPUBLIC BitmapArithmeticBlendFilter
{
private:
BitmapEx maBitmapEx;
BitmapEx maBitmapEx2;
public:
BitmapArithmeticBlendFilter(BitmapEx const& rBmpEx, BitmapEx const& rBmpEx2);
virtual ~BitmapArithmeticBlendFilter();
BitmapEx execute(double aK1, double aK2, double aK3, double aK4);
};
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */