Branch libreoffice-5-0-4
[LibreOffice.git] / include / vcl / BitmapFilterStackBlur.hxx
blob9b400c812c119ba6564fc3d53427b604cc4e376c
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 */
11 #ifndef INCLUDED_VCL_BITMAPFILTERSTACKBLUR_HXX
12 #define INCLUDED_VCL_BITMAPFILTERSTACKBLUR_HXX
14 #include <vcl/bitmap.hxx>
15 #include <vcl/bitmapex.hxx>
16 #include <vcl/bitmapfilter.hxx>
18 class VCL_DLLPUBLIC BitmapFilterStackBlur : BitmapFilter
20 sal_Int32 mnRadius;
21 bool mbExtend;
23 public:
24 BitmapFilterStackBlur(sal_Int32 nRadius, bool bExtend = true);
25 virtual ~BitmapFilterStackBlur();
27 virtual bool filter(Bitmap& rBitmap) SAL_OVERRIDE;
29 bool filter(BitmapEx& rBitmap);
32 #endif // INCLUDED_VCL_BITMAPFILTERSTACKBLUR_HXX
34 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */