Fix readImageFile to set mSvg, use in drawShadow also

This commit is contained in:
gitlost
2019-08-23 09:27:14 +01:00
parent 98038e34e7
commit e8daa8aa48
7 changed files with 198 additions and 74 deletions
+4 -1
View File
@@ -153,7 +153,10 @@ namespace glabels
///////////////////////////////////////////////////////////////
void loadImage();
bool readImageFile( const QString& fileName, QImage*& image, QSvgRenderer*& svgRenderer ) const;
bool readImageFile( const QString& fileName,
QImage*& image,
QSvgRenderer*& svgRenderer,
QByteArray& svg ) const;
QImage* createShadowImage( const QImage& image,
const QColor& color ) const;