103 const QPicture& svgAsPicture(
const QString& file,
double size,
const QColor& fill,
const QColor& outline,
double outlineWidth,
104 double widthScaleFactor,
double rasterScaleFactor,
bool forceVectorOutput =
false );
108 void containsParams(
const QString& path,
bool& hasFillParam, QColor& defaultFillColor,
bool& hasOutlineParam, QColor& defaultOutlineColor,
bool& hasOutlineWidthParam,
109 double& defaultOutlineWidth )
const;
112 QByteArray getImageData(
const QString &path )
const;
116 void statusChanged(
const QString& theStatusQString );
132 QgsSvgCacheEntry* insertSVG(
const QString& file,
double size,
const QColor& fill,
const QColor& outline,
double outlineWidth,
133 double widthScaleFactor,
double rasterScaleFactor );
137 void cachePicture(
QgsSvgCacheEntry* entry,
bool forceVectorOutput =
false );
139 QgsSvgCacheEntry* cacheEntry(
const QString& file,
double size,
const QColor& fill,
const QColor& outline,
double outlineWidth,
140 double widthScaleFactor,
double rasterScaleFactor );
143 void trimToMaximumSize();
149 void downloadProgress( qint64, qint64 );
163 static const long mMaximumSize = 20000000;
166 void replaceElemParams( QDomElement& elem,
const QColor& fill,
const QColor& outline,
double outlineWidth );
168 void containsElemParams(
const QDomElement& elem,
bool& hasFillParam, QColor& defaultFill,
bool& hasOutlineParam, QColor& defaultOutline,
169 bool& hasOutlineWidthParam,
double& defaultOutlineWidth )
const;
175 void printEntryList();
181 #endif // QGSSVGCACHE_H