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 /vcl/inc/BitmapScaleSuperFilter.hxx | |
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 'vcl/inc/BitmapScaleSuperFilter.hxx')
-rw-r--r-- | vcl/inc/BitmapScaleSuperFilter.hxx | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/vcl/inc/BitmapScaleSuperFilter.hxx b/vcl/inc/BitmapScaleSuperFilter.hxx new file mode 100644 index 000000000000..3b403015a5c9 --- /dev/null +++ b/vcl/inc/BitmapScaleSuperFilter.hxx @@ -0,0 +1,41 @@ +/* -*- 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/. + * + * This file incorporates work covered by the following license notice: + * + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed + * with this work for additional information regarding copyright + * ownership. The ASF licenses this file to you under the Apache + * License, Version 2.0 (the "License"); you may not use this file + * except in compliance with the License. You may obtain a copy of + * the License at http://www.apache.org/licenses/LICENSE-2.0 . + */ + +#ifndef INCLUDED_VCL_INC_BITMAPSCALESUPER_HXX +#define INCLUDED_VCL_INC_BITMAPSCALESUPER_HXX + +#include <vcl/BitmapFilter.hxx> + +class BitmapScaleSuperFilter : public BitmapFilter +{ +public: + BitmapScaleSuperFilter(const double& rScaleX, const double& rScaleY); + virtual ~BitmapScaleSuperFilter() override; + + virtual BitmapEx execute(BitmapEx const& rBitmap) override; + +private: + double mrScaleX; + double mrScaleY; + +}; + +#endif + +/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |