(efd332516f510144927121fa749ce819b82ec633)
#include "qicnshandler_p.h"
#include <QtCore/qmath.h>
#include <QtCore/qendian.h>
#include <QtCore/qregularexpression.h>
#include <QtCore/qbuffer.h>
#include <QtGui/qimage.h>
Go to the source code of this file.
|
| | Q_STATIC_ASSERT (sizeof(ICNSColorTableMono)/sizeof(ICNSColorTableMono[0])==(1<< ICNSEntry::DepthMono)) |
| | Q_STATIC_ASSERT (sizeof(ICNSColorTable4bit)/sizeof(ICNSColorTable4bit[0])==(1<< ICNSEntry::Depth4bit)) |
| | Q_STATIC_ASSERT (sizeof(ICNSColorTable8bit)/sizeof(ICNSColorTable8bit[0])==(1<< ICNSEntry::Depth8bit)) |
| static QDataStream & | operator>> (QDataStream &in, ICNSBlockHeader &p) |
| static QDataStream & | operator<< (QDataStream &out, const ICNSBlockHeader &p) |
| static bool | isPowOf2OrDividesBy16 (quint32 u, qreal r) |
| static bool | isBlockHeaderValid (const ICNSBlockHeader &header, quint64 bound=0) |
| static bool | isIconCompressed (const ICNSEntry &icon) |
| static bool | isMaskSuitable (const ICNSEntry &mask, const ICNSEntry &icon, ICNSEntry::Depth target) |
| static QByteArray | nameFromOSType (quint32 ostype) |
| static quint32 | nameToOSType (const QByteArray &ostype) |
| static QByteArray | nameForCompressedIcon (quint8 iconNumber) |
| static QList< QRgb > | getColorTable (ICNSEntry::Depth depth) |
| static bool | parseIconEntryData (ICNSEntry &icon, QIODevice *device) |
| static bool | parseIconEntryInfo (ICNSEntry &icon) |
| static QImage | readMask (const ICNSEntry &mask, QDataStream &stream) |
| template<ICNSEntry::Depth depth> |
| static QImage | readLowDepthIcon (const ICNSEntry &icon, QDataStream &stream) |
| static QImage | read32bitIcon (const ICNSEntry &icon, QDataStream &stream) |
◆ getColorTable()
◆ isBlockHeaderValid()
◆ isIconCompressed()
| bool isIconCompressed |
( |
const ICNSEntry & | icon | ) |
|
|
inlinestatic |
◆ isMaskSuitable()
◆ isPowOf2OrDividesBy16()
◆ nameForCompressedIcon()
◆ nameFromOSType()
◆ nameToOSType()
◆ operator<<()
◆ operator>>()
◆ parseIconEntryData()
◆ parseIconEntryInfo()
Definition at line 410 of file qicnshandler.cpp.
References ICNSEntry::dataFormat, ICNSEntry::depth, ICNSEntry::Depth32bit, ICNSEntry::DepthMono, ICNSEntry::DepthUnknown, ICNSEntry::flags, ICNSEntry::group, ICNSEntry::GroupHuge, ICNSEntry::GroupLarge, ICNSEntry::GroupMini, ICNSEntry::GroupSmall, ICNSEntry::GroupThumbnail, ICNSEntry::IconPlusMask, ICNSEntry::IsIcon, isIconCompressed(), ICNSEntry::IsMask, ICNSEntry::RawIcon, and ICNSEntry::RLE24.
◆ Q_STATIC_ASSERT() [1/3]
◆ Q_STATIC_ASSERT() [2/3]
◆ Q_STATIC_ASSERT() [3/3]
◆ read32bitIcon()
◆ readLowDepthIcon()
◆ readMask()
◆ ICNSBlockHeaderSize
◆ ICNSColorTable4bit
| const QRgb ICNSColorTable4bit |
|
static |
Initial value:= {
}
constexpr QRgb qRgb(int r, int g, int b)
Definition at line 26 of file qicnshandler.cpp.
◆ ICNSColorTable8bit
| const QRgb ICNSColorTable8bit |
|
static |
◆ ICNSColorTableMono
| const QRgb ICNSColorTableMono |
|
static |