18#ifndef QGSRASTERRESAMPLER_H 
   19#define QGSRASTERRESAMPLER_H 
   42      sipType = sipType_QgsBilinearRasterResampler;
 
   44      sipType = sipType_QgsCubicRasterResampler;
 
   67    virtual QString 
type() 
const = 0;
 
 
  103    virtual QImage 
resampleV2( 
const QImage &source, 
const QSize &size ) = 0;
 
 
Bilinear raster resampler.
 
Interface for resampling rasters (V2) (e.g.
 
virtual QImage resampleV2(const QImage &source, const QSize &size)=0
Resamples a source image to the specified size.
 
Interface for resampling rasters (e.g.
 
virtual int tileBufferPixels() const
Returns the optional tile buffer size in pixels.
 
virtual ~QgsRasterResampler()=default
 
virtual Q_DECL_DEPRECATED void resample(const QImage &srcImage, QImage &dstImage)=0
Resamples a source image to a destination image.
 
virtual QString type() const =0
Gets a descriptive type identifier for this raster resampler.
 
virtual QgsRasterResampler * clone() const =0
Gets a deep copy of this object.
 
#define SIP_CONVERT_TO_SUBCLASS_CODE(code)