|
| QgsSvgCache (QObject *parent=nullptr) |
| Constructor for QgsSvgCache. More...
|
|
void | containsParams (const QString &path, bool &hasFillParam, bool &hasDefaultFillParam, QColor &defaultFillColor, bool &hasFillOpacityParam, bool &hasDefaultFillOpacity, double &defaultFillOpacity, bool &hasStrokeParam, bool &hasDefaultStrokeColor, QColor &defaultStrokeColor, bool &hasStrokeWidthParam, bool &hasDefaultStrokeWidth, double &defaultStrokeWidth, bool &hasStrokeOpacityParam, bool &hasDefaultStrokeOpacity, double &defaultStrokeOpacity, bool blocking=false) const |
| Tests if an SVG file contains parameters for fill, stroke color, stroke width. More...
|
|
void | containsParams (const QString &path, bool &hasFillParam, QColor &defaultFillColor, bool &hasStrokeParam, QColor &defaultStrokeColor, bool &hasStrokeWidthParam, double &defaultStrokeWidth, bool blocking=false) const |
| Tests if an SVG file contains parameters for fill, stroke color, stroke width. More...
|
|
QByteArray | getImageData (const QString &path, bool blocking=false) const |
| Gets the SVG content corresponding to the given path. More...
|
|
QImage | svgAsImage (const QString &path, double size, const QColor &fill, const QColor &stroke, double strokeWidth, double widthScaleFactor, bool &fitsInCache, double fixedAspectRatio=0, bool blocking=false, const QMap< QString, QString > ¶meters=QMap< QString, QString >()) |
| Returns an SVG drawing as a QImage. More...
|
|
QPicture | svgAsPicture (const QString &path, double size, const QColor &fill, const QColor &stroke, double strokeWidth, double widthScaleFactor, bool forceVectorOutput=false, double fixedAspectRatio=0, bool blocking=false, const QMap< QString, QString > ¶meters=QMap< QString, QString >()) |
| Returns an SVG drawing as a QPicture. More...
|
|
QByteArray | svgContent (const QString &path, double size, const QColor &fill, const QColor &stroke, double strokeWidth, double widthScaleFactor, double fixedAspectRatio=0, bool blocking=false, const QMap< QString, QString > ¶meters=QMap< QString, QString >(), bool *isMissingImage=nullptr) |
| Gets the SVG content corresponding to the given path. More...
|
|
QSizeF | svgViewboxSize (const QString &path, double size, const QColor &fill, const QColor &stroke, double strokeWidth, double widthScaleFactor, double fixedAspectRatio=0, bool blocking=false, const QMap< QString, QString > ¶meters=QMap< QString, QString >()) |
| Calculates the viewbox size of a (possibly cached) SVG file. More...
|
|
| QgsAbstractContentCache (QObject *parent=nullptr, const QString &typeString=QString(), long maxCacheSize=20000000, int fileModifiedCheckTimeout=30000) |
| Constructor for QgsAbstractContentCache, with the specified parent object. More...
|
|
| ~QgsAbstractContentCache () override |
|
| QgsAbstractContentCacheBase (QObject *parent) |
| Constructor for QgsAbstractContentCacheBase, with the specified parent object. More...
|
|