QGIS API Documentation
2.8.2-Wien
|
#include <qgssvgcache.h>
Public Member Functions | |
QgsSvgCacheEntry () | |
QgsSvgCacheEntry (const QString &file, double size, double outlineWidth, double widthScaleFactor, double rasterScaleFactor, const QColor &fill, const QColor &outline) | |
Constructor. | |
~QgsSvgCacheEntry () | |
int | dataSize () const |
Return memory usage in bytes. | |
bool | operator== (const QgsSvgCacheEntry &other) const |
Don't consider image, picture, last used timestamp for comparison. |
Public Attributes | |
QString | file |
QColor | fill |
QImage * | image |
QgsSvgCacheEntry * | nextEntry |
QColor | outline |
double | outlineWidth |
QPicture * | picture |
QgsSvgCacheEntry * | previousEntry |
double | rasterScaleFactor |
double | size |
QByteArray | svgContent |
double | widthScaleFactor |
Definition at line 32 of file qgssvgcache.h.
QgsSvgCacheEntry::QgsSvgCacheEntry | ( | ) |
Definition at line 39 of file qgssvgcache.cpp.
QgsSvgCacheEntry::QgsSvgCacheEntry | ( | const QString & | file, |
double | size, | ||
double | outlineWidth, | ||
double | widthScaleFactor, | ||
double | rasterScaleFactor, | ||
const QColor & | fill, | ||
const QColor & | outline | ||
) |
Constructor.
file | Absolute path to SVG file (relative paths are not resolved). |
size | |
outlineWidth | width of outline |
widthScaleFactor | width scale factor |
rasterScaleFactor | raster scale factor |
fill | color of fill |
outline | color of outline |
Definition at line 44 of file qgssvgcache.cpp.
QgsSvgCacheEntry::~QgsSvgCacheEntry | ( | ) |
Definition at line 50 of file qgssvgcache.cpp.
int QgsSvgCacheEntry::dataSize | ( | ) | const |
Return memory usage in bytes.
Definition at line 62 of file qgssvgcache.cpp.
bool QgsSvgCacheEntry::operator== | ( | const QgsSvgCacheEntry & | other | ) | const |
Don't consider image, picture, last used timestamp for comparison.
Definition at line 56 of file qgssvgcache.cpp.
QString QgsSvgCacheEntry::file |
Definition at line 48 of file qgssvgcache.h.
QColor QgsSvgCacheEntry::fill |
Definition at line 53 of file qgssvgcache.h.
QImage* QgsSvgCacheEntry::image |
Definition at line 55 of file qgssvgcache.h.
QgsSvgCacheEntry* QgsSvgCacheEntry::nextEntry |
Definition at line 61 of file qgssvgcache.h.
QColor QgsSvgCacheEntry::outline |
Definition at line 54 of file qgssvgcache.h.
double QgsSvgCacheEntry::outlineWidth |
Definition at line 50 of file qgssvgcache.h.
QPicture* QgsSvgCacheEntry::picture |
Definition at line 56 of file qgssvgcache.h.
QgsSvgCacheEntry* QgsSvgCacheEntry::previousEntry |
Definition at line 62 of file qgssvgcache.h.
double QgsSvgCacheEntry::rasterScaleFactor |
Definition at line 52 of file qgssvgcache.h.
double QgsSvgCacheEntry::size |
Definition at line 49 of file qgssvgcache.h.
QByteArray QgsSvgCacheEntry::svgContent |
Definition at line 58 of file qgssvgcache.h.
double QgsSvgCacheEntry::widthScaleFactor |
Definition at line 51 of file qgssvgcache.h.