mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
26 lines
605 B
Plaintext
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 );
|
|
|
|
};
|