![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QGuiApplication>#include <private/qdrawhelper_p.h>#include <private/qimage_p.h>#include <private/qimagepixmapcleanuphooks_p.h>#include "qxcbnativepainting.h"#include "qpixmap_x11_p.h"#include "qcolormap_x11_p.h"#include "qpaintengine_x11_p.h"Go to the source code of this file.
Classes | |
| struct | QXImageWrapper |
| struct | QX11AlphaDetector |
Macros | |
| #define | GET_PIXEL |
| #define | GET_PIXEL_DITHER_TC |
| #define | GET_PIXEL_DITHER_TC_OPT(red_shift, green_shift, blue_shift, red_mask, green_mask, blue_mask, rbits, gbits, bbits) |
| #define | CYCLE(body) |
Functions | |
| QT_BEGIN_NAMESPACE Q_ALWAYS_INLINE uint | PREMUL (uint x) |
| QPixmap | qt_toX11Pixmap (const QImage &image) |
| QPixmap | qt_toX11Pixmap (const QPixmap &pixmap) |
| static void | qSafeXDestroyImage (XImage *x) |
| Drawable | qt_x11Handle (const QPixmap &pixmap) |
| static int | highest_bit (uint v) |
| static uint | n_bits (uint v) |
| static void | cleanup_scale_tables () |
| static void | build_scale_table (uint **table, uint nBits) |
| int | qt_x11SetDefaultScreen (int screen) |
| void | qt_x11SetScreen (QPixmap &pixmap, int screen) |
Variables | |
| static uint * | red_scale_table = nullptr |
| static uint * | green_scale_table = nullptr |
| static uint * | blue_scale_table = nullptr |
| static int | defaultScreen = -1 |
| QBasicAtomicInt | qt_pixmap_serial = Q_BASIC_ATOMIC_INITIALIZER(0) |
| int Q_GUI_EXPORT | qt_x11_preferred_pixmap_depth = 0 |
| #define CYCLE | ( | body | ) |
| #define GET_PIXEL |
| #define GET_PIXEL_DITHER_TC |
| #define GET_PIXEL_DITHER_TC_OPT | ( | red_shift, | |
| green_shift, | |||
| blue_shift, | |||
| red_mask, | |||
| green_mask, | |||
| blue_mask, | |||
| rbits, | |||
| gbits, | |||
| bbits ) |
Definition at line 265 of file qpixmap_x11.cpp.
References cleanup_scale_tables().
|
static |
Definition at line 254 of file qpixmap_x11.cpp.
References blue_scale_table, green_scale_table, and red_scale_table.
Referenced by build_scale_table().
|
static |
Definition at line 230 of file qpixmap_x11.cpp.
Referenced by QX11PlatformPixmap::fromImage().
Definition at line 240 of file qpixmap_x11.cpp.
Referenced by QX11PlatformPixmap::fromImage().
| QT_BEGIN_NAMESPACE Q_ALWAYS_INLINE uint PREMUL | ( | uint | x | ) |
Definition at line 30 of file qpixmap_x11.cpp.
|
inlinestatic |
Definition at line 77 of file qpixmap_x11.cpp.
Referenced by QX11PlatformPixmap::fromImage(), QX11PlatformPixmap::toImage(), and QX11PlatformPixmap::transformed().
Definition at line 51 of file qpixmap_x11.cpp.
Definition at line 63 of file qpixmap_x11.cpp.
Definition at line 211 of file qpixmap_x11.cpp.
References QX11PlatformPixmap::handle().
| int qt_x11SetDefaultScreen | ( | int | screen | ) |
Definition at line 288 of file qpixmap_x11.cpp.
References defaultScreen.
Referenced by QX11PaintEngine::drawTiledPixmap(), and QXcbX11Info::qt_x11SetScreen.
Definition at line 295 of file qpixmap_x11.cpp.
|
static |
Definition at line 252 of file qpixmap_x11.cpp.
Referenced by cleanup_scale_tables().
|
static |
Definition at line 286 of file qpixmap_x11.cpp.
Referenced by qt_x11SetDefaultScreen().
|
static |
Definition at line 251 of file qpixmap_x11.cpp.
Referenced by cleanup_scale_tables().
| QBasicAtomicInt qt_pixmap_serial = Q_BASIC_ATOMIC_INITIALIZER(0) |
Definition at line 332 of file qpixmap_x11.cpp.
| int Q_GUI_EXPORT qt_x11_preferred_pixmap_depth = 0 |
Definition at line 333 of file qpixmap_x11.cpp.
|
static |
Definition at line 250 of file qpixmap_x11.cpp.
Referenced by cleanup_scale_tables().