![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qpixmap_x11_p.h>
Public Member Functions | |
QX11PlatformPixmap (PixelType pixelType) | |
~QX11PlatformPixmap () | |
QPlatformPixmap * | createCompatiblePlatformPixmap () const override |
void | resize (int width, int height) override |
void | fromImage (const QImage &img, Qt::ImageConversionFlags flags) override |
void | copy (const QPlatformPixmap *data, const QRect &rect) override |
bool | scroll (int dx, int dy, const QRect &rect) override |
int | metric (QPaintDevice::PaintDeviceMetric metric) const override |
void | fill (const QColor &fillColor) override |
QBitmap | mask () const override |
void | setMask (const QBitmap &mask) override |
bool | hasAlphaChannel () const override |
QPixmap | transformed (const QTransform &matrix, Qt::TransformationMode mode) const override |
QImage | toImage () const override |
QImage | toImage (const QRect &rect) const override |
QPaintEngine * | paintEngine () const override |
qreal | devicePixelRatio () const override |
void | setDevicePixelRatio (qreal scaleFactor) override |
Drawable | handle () const |
Picture | x11PictureHandle () const |
const QXcbX11Info * | x11_info () const |
Pixmap | x11ConvertToDefaultDepth () |
bool | isBackingStore () const |
void | setIsBackingStore (bool on) |
Public Member Functions inherited from QPlatformPixmap | |
QPlatformPixmap (PixelType pixelType, int classId) | |
virtual | ~QPlatformPixmap () |
virtual void | fromImageInPlace (QImage &image, Qt::ImageConversionFlags flags) |
virtual void | fromImageReader (QImageReader *imageReader, Qt::ImageConversionFlags flags) |
virtual bool | fromFile (const QString &filename, const char *format, Qt::ImageConversionFlags flags) |
virtual bool | fromData (const uchar *buffer, uint len, const char *format, Qt::ImageConversionFlags flags) |
int | serialNumber () const |
PixelType | pixelType () const |
ClassId | classId () const |
virtual QImage * | buffer () |
int | width () const |
int | height () const |
int | colorCount () const |
int | depth () const |
bool | isNull () const |
qint64 | cacheKey () const |
Static Public Member Functions | |
static XID | createBitmapFromImage (const QImage &image) |
Static Public Member Functions inherited from QPlatformPixmap | |
static QPlatformPixmap * | create (int w, int h, PixelType type) |
Friends | |
class | QX11PaintEngine |
const QXcbX11Info & | qt_x11Info (const QPixmap &pixmap) |
void | qt_x11SetScreen (QPixmap &pixmap, int screen) |
Additional Inherited Members | |
Public Types inherited from QPlatformPixmap | |
enum | PixelType { PixmapType , BitmapType } |
enum | ClassId { RasterClass , DirectFBClass , BlitterClass , Direct2DClass , X11Class , CustomClass = 1024 } |
Protected Member Functions inherited from QPlatformPixmap | |
void | setSerialNumber (int serNo) |
void | setDetachNumber (int detNo) |
Protected Attributes inherited from QPlatformPixmap | |
int | w |
int | h |
int | d |
bool | is_null |
Definition at line 23 of file qpixmap_x11_p.h.
QX11PlatformPixmap::QX11PlatformPixmap | ( | PixelType | pixelType | ) |
Definition at line 335 of file qpixmap_x11.cpp.
References QX11PlatformPixmap().
Referenced by QX11PlatformPixmap().
QX11PlatformPixmap::~QX11PlatformPixmap | ( | ) |
Definition at line 341 of file qpixmap_x11.cpp.
|
overridevirtual |
Reimplemented from QPlatformPixmap.
Definition at line 1158 of file qpixmap_x11.cpp.
Definition at line 1693 of file qpixmap_x11.cpp.
|
overridevirtual |
Reimplemented from QPlatformPixmap.
Definition at line 352 of file qpixmap_x11.cpp.
|
overridevirtual |
Implements QPlatformPixmap.
Definition at line 1663 of file qpixmap_x11.cpp.
Implements QPlatformPixmap.
Definition at line 1271 of file qpixmap_x11.cpp.
|
overridevirtual |
Implements QPlatformPixmap.
Definition at line 433 of file qpixmap_x11.cpp.
References QX11AlphaDetector::hasAlpha(), highest_bit(), n_bits(), and qSafeXDestroyImage().
|
inline |
Definition at line 46 of file qpixmap_x11_p.h.
Referenced by qt_x11Handle(), and qt_x11PixmapHandle().
|
overridevirtual |
Implements QPlatformPixmap.
Definition at line 1405 of file qpixmap_x11.cpp.
bool QX11PlatformPixmap::isBackingStore | ( | ) | const |
Definition at line 1734 of file qpixmap_x11.cpp.
|
overridevirtual |
Reimplemented from QPlatformPixmap.
Definition at line 1307 of file qpixmap_x11.cpp.
|
overridevirtual |
Implements QPlatformPixmap.
Definition at line 1230 of file qpixmap_x11.cpp.
|
overridevirtual |
Implements QPlatformPixmap.
Definition at line 1622 of file qpixmap_x11.cpp.
|
overridevirtual |
Implements QPlatformPixmap.
Definition at line 359 of file qpixmap_x11.cpp.
|
overridevirtual |
Reimplemented from QPlatformPixmap.
Definition at line 1220 of file qpixmap_x11.cpp.
Implements QPlatformPixmap.
Definition at line 1668 of file qpixmap_x11.cpp.
void QX11PlatformPixmap::setIsBackingStore | ( | bool | on | ) |
Definition at line 1739 of file qpixmap_x11.cpp.
Referenced by QXcbNativeBackingStore::beginPaint().
Reimplemented from QPlatformPixmap.
Definition at line 1325 of file qpixmap_x11.cpp.
|
overridevirtual |
Implements QPlatformPixmap.
Definition at line 1575 of file qpixmap_x11.cpp.
Reimplemented from QPlatformPixmap.
Definition at line 1580 of file qpixmap_x11.cpp.
References qSafeXDestroyImage(), and QXImageWrapper::xi.
|
overridevirtual |
Reimplemented from QPlatformPixmap.
Definition at line 1416 of file qpixmap_x11.cpp.
References qSafeXDestroyImage().
|
inline |
Definition at line 48 of file qpixmap_x11_p.h.
Pixmap QX11PlatformPixmap::x11ConvertToDefaultDepth | ( | ) |
Definition at line 1673 of file qpixmap_x11.cpp.
|
inline |
Definition at line 47 of file qpixmap_x11_p.h.
Referenced by qt_x11PictureHandle().
|
friend |
Definition at line 118 of file qpixmap_x11_p.h.
References qt_x11Pixmap().
Referenced by QX11PaintEngine::drawTiledPixmap(), and qt_x11Info().
Definition at line 295 of file qpixmap_x11.cpp.
|
friend |
Definition at line 60 of file qpixmap_x11_p.h.