1b23e46051
Introduce BitmapFilter as a general bitmap filtering class, and make scale "super" algorithem independent as BitmapScaleSuper which uses BitmapFilter as superclass. This is an ongoing work to make some bitmap algorithms structured and more independent from the big bitmap class This will make them easier to work with, test and optimize. Change-Id: I37d29709b2af95cab2f6da21129302f5be79318b
26 lines
684 B
C++
26 lines
684 B
C++
/* -*- 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/.
|
|
*
|
|
*/
|
|
|
|
#ifndef INCLUDED_VCL_BITMAPFILTER_HXX
|
|
#define INCLUDED_VCL_BITMAPFILTER_HXX
|
|
|
|
#include <vcl/bitmap.hxx>
|
|
|
|
class VCL_DLLPUBLIC BitmapFilter
|
|
{
|
|
public:
|
|
BitmapFilter();
|
|
virtual ~BitmapFilter();
|
|
virtual bool filter(Bitmap& rBitmap) = 0;
|
|
};
|
|
|
|
#endif // INCLUDED_VCL_BITMAPFILTER_HXX
|
|
|
|
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|