Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
qwbmphandler.cpp File Reference

(d59c5eb8ccc5777ab99c96c733eafb1405fcb808)

#include "qwbmphandler_p.h"
#include <qimage.h>
#include <qvariant.h>
Include dependency graph for qwbmphandler.cpp:

Go to the source code of this file.

Classes

struct  WBMPHeader
class  WBMPReader

Macros

#define WBMPFIXEDHEADER_SIZE   2

Functions

static bool readMultiByteInt (QIODevice *iodev, quint32 *num)
static bool writeMultiByteInt (QIODevice *iodev, quint32 num)
static bool readWBMPHeader (QIODevice *iodev, WBMPHeader *hdr)
static bool writeWBMPHeader (QIODevice *iodev, const WBMPHeader &hdr)
static bool writeWBMPData (QIODevice *iodev, const QImage &image)
static bool readWBMPData (QIODevice *iodev, QImage &image)

Macro Definition Documentation

◆ WBMPFIXEDHEADER_SIZE

#define WBMPFIXEDHEADER_SIZE   2

Definition at line 27 of file qwbmphandler.cpp.

Function Documentation

◆ readMultiByteInt()

bool readMultiByteInt ( QIODevice * iodev,
quint32 * num )
static

Definition at line 30 of file qwbmphandler.cpp.

◆ readWBMPData()

bool readWBMPData ( QIODevice * iodev,
QImage & image )
static

Definition at line 124 of file qwbmphandler.cpp.

◆ readWBMPHeader()

bool readWBMPHeader ( QIODevice * iodev,
WBMPHeader * hdr )
static

Definition at line 73 of file qwbmphandler.cpp.

Referenced by WBMPReader::canRead(), and QWbmpHandler::option().

Here is the caller graph for this function:

◆ writeMultiByteInt()

bool writeMultiByteInt ( QIODevice * iodev,
quint32 num )
static

Definition at line 53 of file qwbmphandler.cpp.

◆ writeWBMPData()

bool writeWBMPData ( QIODevice * iodev,
const QImage & image )
static

Definition at line 109 of file qwbmphandler.cpp.

◆ writeWBMPHeader()

bool writeWBMPHeader ( QIODevice * iodev,
const WBMPHeader & hdr )
static

Definition at line 93 of file qwbmphandler.cpp.