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

(05fc3aef53348fb58be6308076e000825b704e58)

#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 )
extern

Definition at line 300 of file qbackingstore.cpp.

References QRect::bottom(), QRect::height(), QRect::intersected(), 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: