![]() |
Qt 6.x
The Qt SDK
|
#include "qxcbimage.h"#include <QtCore/QtEndian>#include <QtGui/QColor>#include <QtGui/private/qimage_p.h>#include <QtGui/private/qdrawhelper_p.h>#include <xcb/render.h>#include <xcb/xcb_renderutil.h>#include "qxcbconnection.h"#include "qxcbintegration.h"
Include dependency graph for qxcbimage.cpp:Go to the source code of this file.
Functions | |
| QT_BEGIN_NAMESPACE bool | qt_xcb_imageFormatForVisual (QXcbConnection *connection, uint8_t depth, const xcb_visualtype_t *visual, QImage::Format *imageFormat, bool *needsRgbSwap) |
| QPixmap | qt_xcb_pixmapFromXPixmap (QXcbConnection *connection, xcb_pixmap_t pixmap, int width, int height, int depth, const xcb_visualtype_t *visual) |
| xcb_pixmap_t | qt_xcb_XPixmapFromBitmap (QXcbScreen *screen, const QImage &image) |
| xcb_cursor_t | qt_xcb_createCursorXRender (QXcbScreen *screen, const QImage &image, const QPoint &spot) |
| xcb_cursor_t qt_xcb_createCursorXRender | ( | QXcbScreen * | screen, |
| const QImage & | image, | ||
| const QPoint & | spot | ||
| ) |
Definition at line 193 of file qxcbimage.cpp.
References QSysInfo::BigEndian, QSysInfo::ByteOrder, cursor, fmt, QImage::Format_ARGB32_Premultiplied, pix, Q_XCB_REPLY, qWarning, screen, QPoint::x(), and QPoint::y().
Here is the call graph for this function:| QT_BEGIN_NAMESPACE bool qt_xcb_imageFormatForVisual | ( | QXcbConnection * | connection, |
| uint8_t | depth, | ||
| const xcb_visualtype_t * | visual, | ||
| QImage::Format * | imageFormat, | ||
| bool * | needsRgbSwap | ||
| ) |
Definition at line 68 of file qxcbimage.cpp.
References connection, QImage::Format_Grayscale8, QImage::Format_Indexed8, QImage::Format_Invalid, QXcbIntegration::instance(), Q_ASSERT, qbswap(), and qWarning.
Referenced by QXcbScreen::format(), qt_xcb_pixmapFromXPixmap(), and QXcbWindow::setImageFormatForVisual().
Here is the call graph for this function:
Here is the caller graph for this function:| QPixmap qt_xcb_pixmapFromXPixmap | ( | QXcbConnection * | connection, |
| xcb_pixmap_t | pixmap, | ||
| int | width, | ||
| int | height, | ||
| int | depth, | ||
| const xcb_visualtype_t * | visual | ||
| ) |
Definition at line 117 of file qxcbimage.cpp.
References connection, QImage::Format_BGR30, QImage::Format_RGB30, QImage::Format_RGB32, QImage::Format_RGBX8888, QPixmap::fromImage(), pixmap, Q_XCB_REPLY_UNCHECKED, QRgb, and qt_xcb_imageFormatForVisual().
Referenced by QXcbScreen::grabWindow().
Here is the call graph for this function:
Here is the caller graph for this function:| xcb_pixmap_t qt_xcb_XPixmapFromBitmap | ( | QXcbScreen * | screen, |
| const QImage & | image | ||
| ) |
Definition at line 166 of file qxcbimage.cpp.
References Qt::black, QImage::Format_MonoLSB, i, map, QRgb, QColor::rgb(), screen, and Qt::white.
Here is the call graph for this function: