src/hbservers/hbthemeserver/hbpixmapiconprocessor_p.h
changeset 21 4633027730f5
parent 7 923ff622b8b9
child 23 e6ad4ef83b23
equal deleted inserted replaced
7:923ff622b8b9 21:4633027730f5
    77     bool renderOtherFormatsToPixmap(const QString& iconPath);
    77     bool renderOtherFormatsToPixmap(const QString& iconPath);
    78 
    78 
    79 #if defined (HB_NVG_CS_ICON)
    79 #if defined (HB_NVG_CS_ICON)
    80     VGIColorBufferFormat mapToVgiDisplayFormat(QImage::Format imageFormat) const;
    80     VGIColorBufferFormat mapToVgiDisplayFormat(QImage::Format imageFormat) const;
    81     bool renderNvgToPixmap(const QString& iconPath);
    81     bool renderNvgToPixmap(const QString& iconPath);
       
    82     bool pixmapFromByteArray(const QByteArray &byteArray, const QSize iconSize, Qt::AspectRatioMode aspectRatioMode);
    82     HbNvgAspectRatioSettings mapKeyAspectRatioToNvgAspectRatio(
    83     HbNvgAspectRatioSettings mapKeyAspectRatioToNvgAspectRatio(
    83 	                                                Qt::AspectRatioMode aspectRatio) const;
    84 	                                                Qt::AspectRatioMode aspectRatio) const;
    84 #endif //HB_NVG_CS_ICON
    85 #endif //HB_NVG_CS_ICON
    85 private:
    86 private:
    86     QPixmap pixmap;
    87     QPixmap pixmap;