QGIS/python/core/qgsmaprenderercache.sip
Denis Rouzaud 93971d5ed3 [sip] align pointer and reference in blacklisted files
this will facilitate sip diff checking
2017-05-01 17:49:43 +02:00

26 lines
605 B
Plaintext

class QgsMapRendererCache : QObject
{
%TypeHeaderCode
#include <qgsmaprenderercache.h>
%End
public:
QgsMapRendererCache();
void clear();
bool init( const QgsRectangle &extent, double scale );
void setCacheImage( const QString &cacheKey, const QImage &image, const QList< QgsMapLayer* > &dependentLayers = QList< QgsMapLayer* >() );
bool hasCacheImage( const QString &cacheKey ) const;
QImage cacheImage( const QString &cacheKey ) const;
QList< QgsMapLayer* > dependentLayers( const QString &cacheKey ) const;
void clearCacheImage( const QString &cacheKey );
};