tdf#161541 sd: fix the orientation of handouts on the printed page
[LibreOffice.git] / include / vcl / bitmap / BitmapSolarizeFilter.hxx
blobc47d56cd5856bde3d33b7ebd37e54ce679448677
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 #pragma once
13 #include <vcl/bitmap/BitmapFilter.hxx>
15 class BitmapEx;
17 class VCL_DLLPUBLIC BitmapSolarizeFilter final : public BitmapFilter
19 public:
20 BitmapSolarizeFilter(double cSolarGreyThreshold)
21 : mcSolarGreyThreshold(cSolarGreyThreshold)
25 virtual BitmapEx execute(BitmapEx const& rBitmapEx) const override;
27 private:
28 sal_uInt8 mcSolarGreyThreshold;
31 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */