Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qplatformpixmap.cpp File Reference
#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>
+ Include dependency graph for qplatformpixmap.cpp:

Go to the source code of this file.

Functions

static QImage makeBitmapCompliantIfNeeded (QPlatformPixmap *d, const QImage &image, Qt::ImageConversionFlags flags)
 

Function Documentation

◆ makeBitmapCompliantIfNeeded()

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().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: