#include <qgssvgcache.h>
Constructor & Destructor Documentation
QgsSvgCacheEntry::QgsSvgCacheEntry |
( |
| ) |
|
QgsSvgCacheEntry::QgsSvgCacheEntry |
( |
const QString & |
file, |
|
|
double |
size, |
|
|
double |
outlineWidth, |
|
|
double |
widthScaleFactor, |
|
|
double |
rasterScaleFactor, |
|
|
const QColor & |
fill, |
|
|
const QColor & |
outline |
|
) |
| |
Constructor.
- Parameters
-
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 |
QgsSvgCacheEntry::~QgsSvgCacheEntry |
( |
| ) |
|
Member Function Documentation
int QgsSvgCacheEntry::dataSize |
( |
| ) |
const |
Return memory usage in bytes.
Don't consider image, picture, last used timestamp for comparison.
Member Data Documentation
QString QgsSvgCacheEntry::file |
QColor QgsSvgCacheEntry::fill |
QImage* QgsSvgCacheEntry::image |
QColor QgsSvgCacheEntry::outline |
double QgsSvgCacheEntry::outlineWidth |
QPicture* QgsSvgCacheEntry::picture |
double QgsSvgCacheEntry::rasterScaleFactor |
double QgsSvgCacheEntry::size |
QByteArray QgsSvgCacheEntry::svgContent |
double QgsSvgCacheEntry::widthScaleFactor |
The documentation for this class was generated from the following files: