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>.
Loading...
Searching...
No Matches
qplatformpixmap.cpp File Reference

(2b50d01611b60db07ff5bed38b04f1ef1aec06b9)

#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, QImage image, Qt::ImageConversionFlags flags)
 

Function Documentation

◆ makeBitmapCompliantIfNeeded()

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

Definition at line 68 of file qplatformpixmap.cpp.

References QPlatformPixmap::BitmapType, Qt::black, QImage::convertToFormat(), 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: