2014-05-31 21:03:34 +02:00
|
|
|
/* -*- 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/.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
2018-04-20 22:22:44 +10:00
|
|
|
#ifndef INCLUDED_VCL_BITMAPFILTER_HXX
|
|
|
|
#define INCLUDED_VCL_BITMAPFILTER_HXX
|
2014-05-31 21:03:34 +02:00
|
|
|
|
2018-03-13 15:38:44 +11:00
|
|
|
#include <vcl/bitmapex.hxx>
|
2018-11-15 22:04:54 +01:00
|
|
|
class Animation;
|
2014-05-31 21:03:34 +02:00
|
|
|
|
2018-03-13 15:38:44 +11:00
|
|
|
class VCL_DLLPUBLIC BitmapFilter
|
2014-05-31 21:03:34 +02:00
|
|
|
{
|
|
|
|
public:
|
2018-03-13 15:38:44 +11:00
|
|
|
BitmapFilter();
|
|
|
|
virtual ~BitmapFilter();
|
2014-09-28 22:33:50 +10:00
|
|
|
|
2018-09-07 17:39:58 +02:00
|
|
|
virtual BitmapEx execute(BitmapEx const& rBitmapEx) const = 0;
|
2018-03-13 15:38:44 +11:00
|
|
|
|
2018-09-07 17:39:58 +02:00
|
|
|
static bool Filter(BitmapEx& rBmpEx, BitmapFilter const& rFilter);
|
|
|
|
static bool Filter(Animation& rBmpEx, BitmapFilter const& rFilter);
|
2014-05-31 21:03:34 +02:00
|
|
|
};
|
|
|
|
|
2016-12-01 16:02:12 +01:00
|
|
|
#endif
|
2014-05-31 21:03:34 +02:00
|
|
|
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|