lok: calc - send other views our selection in their co-ordinates.
[LibreOffice.git] / include / vcl / BitmapConvolutionMatrixFilter.hxx
blob185d14012d4900e5520fb1b66e28ff9f6c140a05
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_BITMAPCONVOLUTIONMATRIXFILTER_HXX
12 #define INCLUDED_VCL_BITMAPCONVOLUTIONMATRIXFILTER_HXX
14 #include <vcl/BitmapFilter.hxx>
16 class BitmapEx;
18 /** Filter image based on a 3x3 convolution matrix
20 class VCL_DLLPUBLIC BitmapConvolutionMatrixFilter : public BitmapFilter
22 public:
23 BitmapConvolutionMatrixFilter(const long (&rMatrix)[9])
24 : mrMatrix(rMatrix)
28 virtual BitmapEx execute(BitmapEx const& rBitmapEx) const override;
30 private:
31 const long (&mrMatrix)[9];
34 #endif
36 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */