|
Quantum GIS API Documentation
1.8
|
#include <qgssvgcache.h>

Public Member Functions | |
| QgsSvgCacheEntry () | |
| QgsSvgCacheEntry (const QString &file, double size, double outlineWidth, double widthScaleFactor, double rasterScaleFctor, const QColor &fill, const QColor &outline) | |
| ~QgsSvgCacheEntry () | |
| bool | operator== (const QgsSvgCacheEntry &other) const |
| Don't consider image, picture, last used timestamp for comparison. | |
| int | dataSize () const |
| Return memory usage in bytes. | |
Public Attributes | |
| QString | file |
| int | size |
| double | outlineWidth |
| double | widthScaleFactor |
| double | rasterScaleFactor |
| QColor | fill |
| QColor | outline |
| QImage * | image |
| QPicture * | picture |
| QByteArray | svgContent |
| QgsSvgCacheEntry * | nextEntry |
| QgsSvgCacheEntry * | previousEntry |
Definition at line 30 of file qgssvgcache.h.
Definition at line 28 of file qgssvgcache.cpp.
| QgsSvgCacheEntry::QgsSvgCacheEntry | ( | const QString & | file, |
| double | size, | ||
| double | outlineWidth, | ||
| double | widthScaleFactor, | ||
| double | rasterScaleFctor, | ||
| const QColor & | fill, | ||
| const QColor & | outline | ||
| ) |
Definition at line 33 of file qgssvgcache.cpp.
Definition at line 39 of file qgssvgcache.cpp.
| int QgsSvgCacheEntry::dataSize | ( | ) | const |
Return memory usage in bytes.
Definition at line 51 of file qgssvgcache.cpp.
References image, picture, size, and svgContent.
Referenced by QgsSvgCache::trimToMaximumSize().
| bool QgsSvgCacheEntry::operator== | ( | const QgsSvgCacheEntry & | other | ) | const |
Don't consider image, picture, last used timestamp for comparison.
Definition at line 45 of file qgssvgcache.cpp.
References file, fill, outline, outlineWidth, rasterScaleFactor, size, and widthScaleFactor.
| QString QgsSvgCacheEntry::file |
Definition at line 36 of file qgssvgcache.h.
Referenced by QgsSvgCache::cacheEntry(), operator==(), QgsSvgCache::printEntryList(), QgsSvgCache::replaceParamsAndCacheSvg(), and QgsSvgCache::trimToMaximumSize().
| QColor QgsSvgCacheEntry::fill |
Definition at line 41 of file qgssvgcache.h.
Referenced by QgsSvgCache::cacheEntry(), operator==(), and QgsSvgCache::replaceParamsAndCacheSvg().
| QImage* QgsSvgCacheEntry::image |
Definition at line 43 of file qgssvgcache.h.
Referenced by QgsSvgCache::cacheImage(), dataSize(), QgsSvgCache::svgAsImage(), and ~QgsSvgCacheEntry().
Definition at line 49 of file qgssvgcache.h.
Referenced by QgsSvgCache::cacheEntry(), QgsSvgCache::insertSVG(), QgsSvgCache::printEntryList(), QgsSvgCache::takeEntryFromList(), and QgsSvgCache::trimToMaximumSize().
| QColor QgsSvgCacheEntry::outline |
Definition at line 42 of file qgssvgcache.h.
Referenced by QgsSvgCache::cacheEntry(), operator==(), and QgsSvgCache::replaceParamsAndCacheSvg().
Definition at line 38 of file qgssvgcache.h.
Referenced by QgsSvgCache::cacheEntry(), operator==(), and QgsSvgCache::replaceParamsAndCacheSvg().
| QPicture* QgsSvgCacheEntry::picture |
Definition at line 44 of file qgssvgcache.h.
Referenced by QgsSvgCache::cachePicture(), dataSize(), QgsSvgCache::svgAsPicture(), and ~QgsSvgCacheEntry().
Definition at line 50 of file qgssvgcache.h.
Referenced by QgsSvgCache::cacheEntry(), QgsSvgCache::insertSVG(), and QgsSvgCache::takeEntryFromList().
Definition at line 40 of file qgssvgcache.h.
Referenced by QgsSvgCache::cacheEntry(), QgsSvgCache::cachePicture(), operator==(), and QgsSvgCache::printEntryList().
Definition at line 37 of file qgssvgcache.h.
Referenced by QgsSvgCache::cacheEntry(), QgsSvgCache::cacheImage(), QgsSvgCache::cachePicture(), dataSize(), operator==(), and QgsSvgCache::printEntryList().
| QByteArray QgsSvgCacheEntry::svgContent |
Definition at line 46 of file qgssvgcache.h.
Referenced by QgsSvgCache::cacheImage(), QgsSvgCache::cachePicture(), dataSize(), and QgsSvgCache::replaceParamsAndCacheSvg().
Definition at line 39 of file qgssvgcache.h.
Referenced by QgsSvgCache::cacheEntry(), QgsSvgCache::cachePicture(), operator==(), and QgsSvgCache::printEntryList().
1.7.6.1