Qt 4.8
|
#include "qplatformdefs.h"
#include "qdebug.h"
#include "qiodevice.h"
#include "qpixmap_x11_p.h"
#include "qbitmap.h"
#include "qcolormap.h"
#include "qimage.h"
#include "qmatrix.h"
#include "qapplication.h"
#include <private/qpaintengine_x11_p.h>
#include <private/qt_x11_p.h>
#include "qx11info_x11.h"
#include <private/qdrawhelper_p.h>
#include <private/qimage_p.h>
#include <private/qimagepixmapcleanuphooks_p.h>
#include <stdlib.h>
Go to the source code of this file.
Classes | |
struct | QX11AlphaDetector |
struct | QXImageWrapper |
Macros | |
#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) |
Functions | |
static void | build_scale_table (uint **table, uint nBits) |
static void | cleanup_scale_tables () |
static int | highest_bit (uint v) |
static int | lowest_bit (uint v) |
static uint | n_bits (uint v) |
static void | qSafeXDestroyImage (XImage *x) |
const uchar * | qt_get_bitflip_array () |
static XRenderPictFormat * | qt_renderformat_for_depth (const QX11Info &xinfo, int depth) |
QPixmap | qt_toX11Pixmap (const QImage &image) |
QPixmap | qt_toX11Pixmap (const QPixmap &pixmap) |
Variables | |
static uint * | blue_scale_table = 0 |
static int | defaultScreen = -1 |
static uint * | green_scale_table = 0 |
QBasicAtomicInt | qt_pixmap_serial = Q_BASIC_ATOMIC_INITIALIZER(0) |
int Q_GUI_EXPORT | qt_x11_preferred_pixmap_depth = 0 |
static uint * | red_scale_table = 0 |
#define CYCLE | ( | body | ) |
Referenced by QX11PixmapData::fromImage().
#define GET_PIXEL |
Referenced by QX11PixmapData::fromImage().
#define GET_PIXEL_DITHER_TC |
Referenced by QX11PixmapData::fromImage().
#define GET_PIXEL_DITHER_TC_OPT | ( | red_shift, | |
green_shift, | |||
blue_shift, | |||
red_mask, | |||
green_mask, | |||
blue_mask, | |||
rbits, | |||
gbits, | |||
bbits | |||
) |
Referenced by QX11PixmapData::fromImage().
Definition at line 286 of file qpixmap_x11.cpp.
Referenced by QX11PixmapData::toImage().
|
static |
|
static |
Definition at line 241 of file qpixmap_x11.cpp.
Referenced by QX11PixmapData::fromImage(), and QX11PixmapData::toImage().
|
static |
Definition at line 261 of file qpixmap_x11.cpp.
Referenced by QX11PixmapData::fromImage(), and QX11PixmapData::toImage().
|
inlinestatic |
Definition at line 107 of file qpixmap_x11.cpp.
Referenced by QX11PixmapData::bitmap_to_mask(), QX11PixmapData::fromImage(), QX11PixmapData::toImage(), and QX11PixmapData::transformed().
const uchar* qt_get_bitflip_array | ( | ) |
Definition at line 765 of file qimage.cpp.
Referenced by QX11PixmapData::bitmap_to_mask().
|
static |
Definition at line 2189 of file qpixmap_x11.cpp.
Referenced by QX11PixmapData::convertToARGB32(), and QX11PixmapData::paintEngine().
Definition at line 81 of file qpixmap_x11.cpp.
Referenced by QWidgetPrivate::mapFromGlobal(), QCursor::QCursor(), qstring_to_xtp(), qt_toX11Pixmap(), and QX11PixmapData::transformed().
Definition at line 93 of file qpixmap_x11.cpp.
Referenced by QX11PaintEngine::drawPixmap(), and QX11PaintEngine::updateBrush().
|
static |
Definition at line 273 of file qpixmap_x11.cpp.
Referenced by cleanup_scale_tables(), and QX11PixmapData::toImage().
|
static |
Definition at line 307 of file qpixmap_x11.cpp.
Referenced by QX11PixmapData::convertToARGB32(), QX11PixmapData::fromImage(), QX11PixmapData::resize(), and QX11PixmapData::transformed().
|
static |
Definition at line 272 of file qpixmap_x11.cpp.
Referenced by cleanup_scale_tables(), and QX11PixmapData::toImage().
QBasicAtomicInt qt_pixmap_serial = Q_BASIC_ATOMIC_INITIALIZER(0) |
Definition at line 313 of file qpixmap_x11.cpp.
int Q_GUI_EXPORT qt_x11_preferred_pixmap_depth = 0 |
Definition at line 314 of file qpixmap_x11.cpp.
Referenced by QX11PixmapData::fromImage(), and QX11PixmapData::resize().
|
static |
Definition at line 271 of file qpixmap_x11.cpp.
Referenced by cleanup_scale_tables(), and QX11PixmapData::toImage().