(5525779b2ea9e2805c5d4a1b6b070ca8b4838396)
#include "private/qxpmhandler_p.h"
#include <qbytearraymatcher.h>
#include <qdebug.h>
#include <qimage.h>
#include <qloggingcategory.h>
#include <qmap.h>
#include <qtextstream.h>
#include <qvariant.h>
#include <private/qcolor_p.h>
#include <private/qduplicatetracker_p.h>
#include <private/qtools_p.h>
#include <private/qimage_p.h>
#include <algorithm>
#include <array>
Go to the source code of this file.
|
static quint64 | xpmHash (const QString &str) |
|
static quint64 | xpmHash (char *str) |
|
bool | operator< (const char *name, const XPMRGBData &data) |
|
bool | operator< (const XPMRGBData &data, const char *name) |
|
static std::optional< QRgb > | qt_get_named_xpm_rgb (const char *name_no_space) |
|
static QString | fbname (const QString &fileName) |
|
static bool | read_xpm_string (QByteArray &buf, QIODevice *d, const char *const *source, int &index, QByteArray &state) |
|
static bool | is_xpm_color_spec_prefix (const QByteArray &prefix) |
|
static bool | read_xpm_header (QIODevice *device, const char *const *source, int &index, QByteArray &state, int *cpp, int *ncols, int *w, int *h) |
|
static bool | read_xpm_body (QIODevice *device, const char *const *source, int &index, QByteArray &state, int cpp, int ncols, int w, int h, QImage &image) |
|
bool | qt_read_xpm_image_or_array (QIODevice *device, const char *const *source, QImage &image) |
|
static const char * | xpm_color_name (int cpp, int index, CharBuffer< 5 > &&returnable={}) |
|
static bool | write_xpm_image (const QImage &sourceImage, QIODevice *device, const QString &fileName) |
|
◆ QRGB
Value:
GLboolean GLboolean GLboolean b
Definition at line 51 of file qxpmhandler.cpp.
◆ fbname()
◆ is_xpm_color_spec_prefix()
static bool is_xpm_color_spec_prefix |
( |
const QByteArray & | prefix | ) |
|
|
static |
◆ operator<() [1/2]
bool operator< |
( |
const char * | name, |
|
|
const XPMRGBData & | data ) |
|
inline |
◆ operator<() [2/2]
bool operator< |
( |
const XPMRGBData & | data, |
|
|
const char * | name ) |
|
inline |
◆ qt_get_named_xpm_rgb()
static std::optional< QRgb > qt_get_named_xpm_rgb |
( |
const char * | name_no_space | ) |
|
|
inlinestatic |
◆ qt_read_xpm_image_or_array()
bool qt_read_xpm_image_or_array |
( |
QIODevice * | device, |
|
|
const char *const * | source, |
|
|
QImage & | image ) |
◆ read_xpm_body()
static bool read_xpm_body |
( |
QIODevice * | device, |
|
|
const char *const * | source, |
|
|
int & | index, |
|
|
QByteArray & | state, |
|
|
int | cpp, |
|
|
int | ncols, |
|
|
int | w, |
|
|
int | h, |
|
|
QImage & | image ) |
|
static |
◆ read_xpm_header()
static bool read_xpm_header |
( |
QIODevice * | device, |
|
|
const char *const * | source, |
|
|
int & | index, |
|
|
QByteArray & | state, |
|
|
int * | cpp, |
|
|
int * | ncols, |
|
|
int * | w, |
|
|
int * | h ) |
|
static |
◆ read_xpm_string()
◆ write_xpm_image()
◆ xpm_color_name()
static const char * xpm_color_name |
( |
int | cpp, |
|
|
int | index, |
|
|
CharBuffer< 5 > && | returnable = {} ) |
|
static |
◆ xpmHash() [1/2]
static quint64 xpmHash |
( |
char * | str | ) |
|
|
static |
◆ xpmHash() [2/2]
◆ xpmRgbTbl
◆ xpmRgbTblSize
static const int xpmRgbTblSize = 657 |
|
static |