Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qplatformdefs.h>
#include "private/qxbmhandler_p.h"
#include <qimage.h>
#include <qiodevice.h>
#include <qloggingcategory.h>
#include <qvariant.h>
#include <private/qtools_p.h>
#include <stdio.h>
Go to the source code of this file.
Functions | |
static int | hex2byte (char *p) |
static bool | read_xbm_header (QIODevice *device, int &w, int &h) |
static bool | read_xbm_body (QIODevice *device, int w, int h, QImage *outImage) |
static bool | read_xbm_image (QIODevice *device, QImage *outImage) |
static bool | write_xbm_image (const QImage &sourceImage, QIODevice *device, const QString &fileName) |
|
inlinestatic |
Definition at line 27 of file qxbmhandler.cpp.
References QtMiscUtils::fromHex().
Referenced by read_xbm_body().
Definition at line 96 of file qxbmhandler.cpp.
References QImageIOHandler::allocateImage(), Qt::color0, device, QImage::Format_MonoLSB, hex2byte(), and qRgb().
Referenced by QXbmHandler::read(), and read_xbm_image().
|
static |
Definition at line 32 of file qxbmhandler.cpp.
References ch, device, QtMiscUtils::isAsciiLetterOrNumber(), and QByteArray().
Referenced by read_xbm_image().
Definition at line 152 of file qxbmhandler.cpp.
References device, read_xbm_body(), and read_xbm_header().
Referenced by QXbmHandler::canRead().
|
static |
Definition at line 160 of file qxbmhandler.cpp.
References device, fileName, QImage::Format_MonoLSB, i, qGray(), qsnprintf(), qstrlen(), and QString::size().
Referenced by QXbmHandler::write().