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
qbitmap.cpp File Reference

(8ecd81ae86b07ef0ec10f17a343d349c07b1a29b)

#include "qbitmap.h"
#include <qpa/qplatformpixmap.h>
#include <qpa/qplatformintegration.h>
#include "qimage.h"
#include "qscreen.h"
#include "qvariant.h"
#include <qpainter.h>
#include <private/qguiapplication_p.h>
#include <memory>
+ Include dependency graph for qbitmap.cpp:

Go to the source code of this file.

Functions

static QBitmap makeBitmap (QImage &&image, Qt::ImageConversionFlags flags)
 

Function Documentation

◆ makeBitmap()

static QBitmap makeBitmap ( QImage && image,
Qt::ImageConversionFlags flags )
static

Definition at line 146 of file qbitmap.cpp.

References QPlatformPixmap::BitmapType, Qt::black, QBitmap::fromPixmap(), Qt::MonoOnly, QGuiApplicationPrivate::platformIntegration(), QRgb, QColor::rgb(), and Qt::white.

Referenced by QBitmap::fromImage(), and QBitmap::fromImage().

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