![]() |
Qt 6.x
The Qt SDK
|
#include "qplatformpixmap.h"
#include <qpa/qplatformintegration.h>
#include <QtCore/qbuffer.h>
#include <QtGui/qbitmap.h>
#include <QtGui/qimagereader.h>
#include <private/qguiapplication_p.h>
#include <private/qimagepixmapcleanuphooks_p.h>
Go to the source code of this file.
Functions | |
static QImage | makeBitmapCompliantIfNeeded (QPlatformPixmap *d, const QImage &image, Qt::ImageConversionFlags flags) |
|
static |
Definition at line 68 of file qplatformpixmap.cpp.
References QPlatformPixmap::BitmapType, Qt::black, d, QImage::Format_MonoLSB, QRgb, QColor::rgb(), and Qt::white.
Referenced by QPlatformPixmap::fromData(), and QPlatformPixmap::fromFile().