Qt 6.x
The Qt SDK
Loading...
Searching...
No Matches
qpixmap_raster.cpp File Reference
#include "qpixmap.h"
#include <private/qfont_p.h>
#include "qpixmap_raster_p.h"
#include "qimage_p.h"
#include "qpaintengine.h"
#include "qbitmap.h"
#include "qimage.h"
#include <QBuffer>
#include <QImageReader>
#include <QGuiApplication>
#include <QScreen>
#include <private/qsimd_p.h>
#include <private/qdrawhelper_p.h>
#include <qpa/qplatformscreen.h>
+ Include dependency graph for qpixmap_raster.cpp:

Go to the source code of this file.

Functions

QT_BEGIN_NAMESPACE QPixmap qt_toRasterPixmap (const QImage &image)
 
QPixmap qt_toRasterPixmap (const QPixmap &pixmap)
 
void qt_scrollRectInImage (QImage &img, const QRect &rect, const QPoint &offset)
 

Function Documentation

◆ qt_scrollRectInImage()

void qt_scrollRectInImage ( QImage img,
const QRect rect,
const QPoint offset 
)

Definition at line 289 of file qbackingstore.cpp.

References QRect::bottom(), QRect::contains(), QRect::height(), QRect::isEmpty(), QRect::left(), Q_ASSERT_X, qAbs(), rect, QRect::top(), QRect::translated(), and QRect::width().

Referenced by QRasterBackingStore::scroll(), QOffscreenBackingStore::scroll(), QWindowsBackingStore::scroll(), QCALayerBackingStore::scroll(), and QRasterPlatformPixmap::scroll().

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

◆ qt_toRasterPixmap() [1/2]

QT_BEGIN_NAMESPACE QPixmap qt_toRasterPixmap ( const QImage image)

Definition at line 24 of file qpixmap_raster.cpp.

References Qt::AutoColor, QPlatformPixmap::BitmapType, QRasterPlatformPixmap::fromImage(), and QPlatformPixmap::PixmapType.

Referenced by qt_toRasterPixmap().

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

◆ qt_toRasterPixmap() [2/2]

QPixmap qt_toRasterPixmap ( const QPixmap pixmap)

Definition at line 36 of file qpixmap_raster.cpp.

References data_ptr(), pixmap, qt_toRasterPixmap(), and QPlatformPixmap::RasterClass.

+ Here is the call graph for this function: