QGIS/python/core/auto_generated/raster/qgscubicrasterresampler.sip.in
Nyall Dawson 41fa4b19fd Fix rendering artifacts on the edges of resampled raster tiles
We now buffer the request for the input to a resample filter by
a variable number of pixels (depending on the resampling type)
in order to fetch the neighbouring pixels to the edges of individual
raster blocks. This allows the resampling to utilise these
neighbouring pixels when resampling the edges of tiles, avoiding
discrepancies and rendering artifacts over the borders of
raster tiles.

Fixes #30152
2019-11-15 13:48:38 +10:00

48 lines
1.6 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/raster/qgscubicrasterresampler.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsCubicRasterResampler: QgsRasterResamplerV2
{
%Docstring
Cubic Raster Resampler
%End
%TypeHeaderCode
#include "qgscubicrasterresampler.h"
%End
public:
QgsCubicRasterResampler();
%Docstring
Constructor for QgsCubicRasterResampler.
%End
virtual QgsCubicRasterResampler *clone() const /Factory/;
virtual QImage resampleV2( const QImage &source, const QSize &size );
virtual void resample( const QImage &srcImage, QImage &dstImage ) /Deprecated/;
virtual QString type() const;
virtual int tileBufferPixels() const;
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/raster/qgscubicrasterresampler.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/