diff options
author | Chris Sherlock <chris.sherlock79@gmail.com> | 2018-03-13 15:38:44 +1100 |
---|---|---|
committer | Tomaž Vajngerl <quikee@gmail.com> | 2018-04-16 03:19:23 +0200 |
commit | 6631cc554557c56000e0b87d595493b36e6fb7da (patch) | |
tree | 5c5c169fbe648e9daccb62f69f9bfde04d20541e /include | |
parent | 9fb7aaf570c03c8a26d763f1205fb8c890e8211a (diff) |
vcl: migrated BitmapProcessor and scale classes to BitmapFilterEx classes
Change-Id: I0530824cdefb3c714d2664988f887d123e471840
Reviewed-on: https://gerrit.libreoffice.org/52898
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Tomaž Vajngerl <quikee@gmail.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/vcl/BitmapFilter.hxx | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/include/vcl/BitmapFilter.hxx b/include/vcl/BitmapFilter.hxx new file mode 100644 index 000000000000..f8759a1302c2 --- /dev/null +++ b/include/vcl/BitmapFilter.hxx @@ -0,0 +1,29 @@ +/* -*- 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_INC_BITMAPFILTER_HXX +#define INCLUDED_VCL_INC_BITMAPFILTER_HXX + +#include <vcl/bitmapex.hxx> + +class VCL_DLLPUBLIC BitmapFilter +{ +public: + BitmapFilter(); + virtual ~BitmapFilter(); + + virtual BitmapEx execute(BitmapEx const& rBitmapEx) = 0; + + static bool Filter(BitmapEx& rBmpEx, BitmapFilter&& rFilter); +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |