sw a11y: clang-format SidebarWinAccessible code
[LibreOffice.git] / vcl / inc / bitmap / BitmapFastScaleFilter.hxx
blobd4c9183046d1817636b80d069e41d786c7ebe3a2
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 BitmapFastScaleFilter final : public BitmapFilter
17 public:
18 explicit BitmapFastScaleFilter(double fScaleX, double fScaleY)
19 : mfScaleX(fScaleX)
20 , mfScaleY(fScaleY)
24 virtual BitmapEx execute(BitmapEx const& rBitmapEx) const override;
26 private:
27 double mfScaleX;
28 double mfScaleY;
31 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */