Debian Codegraph @

xcb/libqt6xcbqpa-dev/6.8.0/qxcbimage.h

raw
1 // Copyright (C) 2016 The Qt Company Ltd.
2 // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4 #ifndef QXCBIMAGE_H
5 #define QXCBIMAGE_H
6
7 #include "qxcbscreen.h"
8 #include <QtGui/QImage>
9 #include <QtGui/QPixmap>
10 #include <xcb/xcb_image.h>
11
12 QT_BEGIN_NAMESPACE
13
14 bool qt_xcb_imageFormatForVisual(QXcbConnection *connection, uint8_t depth, const xcb_visualtype_t *visual,
15 QImage::Format *imageFormat, bool *needsRgbSwap = nullptr);
16 QPixmap qt_xcb_pixmapFromXPixmap(QXcbConnection *connection, xcb_pixmap_t pixmap,
17 int width, int height, int depth,
18 const xcb_visualtype_t *visual);
19 xcb_pixmap_t qt_xcb_XPixmapFromBitmap(QXcbScreen *screen, const QImage &image);
20 xcb_cursor_t qt_xcb_createCursorXRender(QXcbScreen *screen, const QImage &image,
21 const QPoint &spot);
22
23 QT_END_NAMESPACE
24
25 #endif