74 const QPicture& svgAsPicture(
const QString& file,
double size,
const QColor& fill,
const QColor& outline,
double outlineWidth,
75 double widthScaleFactor,
double rasterScaleFactor,
bool forceVectorOutput =
false );
79 void containsParams(
const QString& path,
bool& hasFillParam, QColor& defaultFillColor,
bool& hasOutlineParam, QColor& defaultOutlineColor,
bool& hasOutlineWidthParam,
80 double& defaultOutlineWidth )
const;
83 QByteArray getImageData(
const QString &path )
const;
87 void statusChanged(
const QString& theStatusQString );
94 QgsSvgCacheEntry* insertSVG(
const QString& file,
double size,
const QColor& fill,
const QColor& outline,
double outlineWidth,
95 double widthScaleFactor,
double rasterScaleFactor );
99 void cachePicture(
QgsSvgCacheEntry* entry,
bool forceVectorOutput =
false );
101 QgsSvgCacheEntry* cacheEntry(
const QString& file,
double size,
const QColor& fill,
const QColor& outline,
double outlineWidth,
102 double widthScaleFactor,
double rasterScaleFactor );
105 void trimToMaximumSize();
111 void downloadProgress( qint64, qint64 );
127 static const long mMaximumSize = 20000000;
130 void replaceElemParams( QDomElement& elem,
const QColor& fill,
const QColor& outline,
double outlineWidth );
132 void containsElemParams(
const QDomElement& elem,
bool& hasFillParam, QColor& defaultFill,
bool& hasOutlineParam, QColor& defaultOutline,
133 bool& hasOutlineWidthParam,
double& defaultOutlineWidth )
const;
139 void printEntryList();
142 #endif // QGSSVGCACHE_H