Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <QtCore/qrandom.h>
#include <private/qpixmapcache_p.h>
#include <private/qpaintengine_p.h>
#include <private/qpainterpath_p.h>
#include <private/qdrawhelper_p.h>
#include <private/qfontengineglyphcache_p.h>
#include "qpaintengine_x11_p.h"
#include "qpolygonclipper_p.h"
#include "qtessellator_p.h"
#include "qpixmap_x11_p.h"
#include "qcolormap_x11_p.h"
#include "qt_x11_p.h"
#include "qxcbexport.h"
#include "qxcbnativepainting.h"
Go to the source code of this file.
Classes | |
class | QX11PaintEnginePrivate |
struct | QX11PaintEnginePrivate::qt_float_point |
struct | HexString< T > |
struct | QConcatenable< HexString< T > > |
Macros | |
#define | X11 qt_x11Data |
#define | DITHER_SIZE 16 |
Variables | |
static const qreal | aliasedCoordinateDelta = 0.5 - 0.015625 |
static const uchar | base_dither_matrix [DITHER_SIZE][DITHER_SIZE] |
#define DITHER_SIZE 16 |
Definition at line 397 of file qpaintengine_x11.cpp.
Referenced by qt_patternForAlpha().
#define X11 qt_x11Data |
Definition at line 283 of file qpaintengine_x11.cpp.
Referenced by QXcbColormap::~QXcbColormap(), QXcbX11Info::appCells(), QXcbX11Info::appColormap(), QXcbX11Info::appDefaultColormap(), QXcbX11Info::appDefaultVisual(), QXcbX11Info::appDepth(), QXcbX11Info::appDpiX(), QXcbX11Info::appDpiY(), QXcbX11Info::appRootWindow(), QXcbX11Info::appScreen(), QXcbX11Info::appVisual(), QXcbColormap::cleanup(), QX11PlatformPixmap::copy(), QXcbX11Info::display(), QX11PlatformPixmap::fill(), QX11PaintEnginePrivate::fillPath(), QX11PaintEnginePrivate::fillPolygon_dev(), QX11PaintEnginePrivate::fillPolygon_translated(), QX11PlatformPixmap::fromImage(), QX11AlphaDetector::hasXRenderAndAlpha(), init_direct(), init_gray(), init_indexed(), QXcbColormap::initialize(), qt_decide_features(), qt_xcb_native_x11_info_init(), query_colormap(), QX11PlatformPixmap::resize(), QX11PlatformPixmap::transformed(), and QX11PlatformPixmap::x11ConvertToDefaultDepth().
Definition at line 728 of file qpaintengine_x11.cpp.
References Bottom, Left, line, p1, p2, rect, Right, and Top.
Referenced by QX11PaintEngine::drawLines(), QX11PaintEngine::drawLines(), and QGeoMapPolylineGeometry::updateSourcePoints().
Definition at line 875 of file qpaintengine_x11.cpp.
References QRect::bottom(), QRect::left(), QLine::p1(), QLine::p2(), Q_ASSERT, qBound(), QRect::right(), and QRect::top().
Referenced by QX11PaintEngine::drawRects().
|
static |
Definition at line 574 of file qpaintengine_x11.cpp.
References QPaintEngine::AlphaBlend, QPaintEngine::Antialiasing, QPaintEngine::LinearGradientFill, QPaintEngine::MaskedBrush, QPaintEngine::PainterPaths, QPaintEngine::PatternBrush, QPaintEngine::PorterDuff, QPaintEngine::PrimitiveTransform, QPaintEngine::RasterOpModes, and X11.
|
extern |
Definition at line 519 of file qpaintengine.cpp.
Referenced by QPaintEngine::drawTiledPixmap(), and QX11PaintEngine::drawTiledPixmap().
Definition at line 417 of file qpaintengine_x11.cpp.
References base_dither_matrix, DITHER_SIZE, QPixmapCache::find(), QImage::Format_ARGB32, QBitmap::fromImage(), QPixmapCache::insert(), qt_x11SetScreen(), and screen.
Referenced by QX11PaintEngine::updateBrush().
|
extern |
Definition at line 80 of file qbrush.cpp.
Referenced by QX11PaintEngine::updateBrush().
Definition at line 62 of file qpixmap_x11.cpp.
References data_ptr(), pixmap, qt_toX11Pixmap(), and QPlatformPixmap::X11Class.
Referenced by QX11PaintEngine::drawPixmap(), and QX11PaintEngine::updateBrush().
Q_GUI_EXPORT void qt_x11_drawImage | ( | const QRect & | rect, |
const QPoint & | pos, | ||
const QImage & | image, | ||
Drawable | hd, | ||
GC | gc, | ||
Display * | dpy, | ||
Visual * | visual, | ||
int | depth ) |
Definition at line 1960 of file qpaintengine_x11.cpp.
References QSysInfo::BigEndian, QImage::bits(), QSysInfo::ByteOrder, QImage::bytesPerLine(), QXcbX11Info::display(), QImage::Format_RGB32, gc(), i, QSysInfo::LittleEndian, pos, Q_ASSERT, and rect.
Referenced by QX11PaintEngine::drawImage().
GC Q_XCB_EXPORT qt_x11_get_brush_gc | ( | QPainter * | p | ) |
Returns the X11 specific brush GC for the painter p.
Note that QPainter::begin() must be called before this function returns a valid GC.
Definition at line 273 of file qpaintengine_x11.cpp.
References gc(), and QTransform::TxNone.
GC Q_XCB_EXPORT qt_x11_get_pen_gc | ( | QPainter * | p | ) |
Returns the X11 specific pen GC for the painter p.
Note that QPainter::begin() must be called before this function returns a valid GC.
Definition at line 258 of file qpaintengine_x11.cpp.
Q_XCB_EXPORT Drawable qt_x11Handle | ( | const QPaintDevice * | pd | ) |
Definition at line 219 of file qpaintengine_x11.cpp.
References QPaintDevice::devType(), QInternal::Pixmap, and qt_x11PixmapHandle().
Referenced by QX11PaintEngine::begin().
|
static |
Definition at line 234 of file qpaintengine_x11.cpp.
References QPaintDevice::devType(), QInternal::Pixmap, and qt_x11Info().
Referenced by QX11PaintEngine::begin(), QX11PaintEngine::drawPixmap(), QX11PaintEngine::drawTiledPixmap(), and qt_x11Info().
Definition at line 1070 of file qpaintengine_x11.cpp.
References QXcbX11Info::display(), and gc().
Referenced by QX11PaintEngine::drawPoints(), and QX11PaintEngine::drawPoints().
|
inlinestatic |
Definition at line 372 of file qpaintengine_x11.cpp.
References attrs, gc(), Q_UNUSED, and XNone.
Referenced by QX11PaintEngine::updateBrush(), QX11PaintEngine::updateClipRegion_dev(), and QX11PaintEngine::updatePen().
|
inlinestatic |
Definition at line 345 of file qpaintengine_x11.cpp.
References gc(), Q_UNUSED, and qt_region_to_xrectangles().
Referenced by QX11PaintEngine::updateBrush(), QX11PaintEngine::updateClipRegion_dev(), and QX11PaintEngine::updatePen().
|
static |
Definition at line 249 of file qpaintengine_x11.cpp.
Referenced by QX11PaintEngine::drawLines(), QX11PaintEngine::drawLines(), QX11PaintEnginePrivate::fillPath(), QX11PaintEnginePrivate::fillPolygon_translated(), and QX11PaintEnginePrivate::strokePolygon_dev().
|
static |
Definition at line 398 of file qpaintengine_x11.cpp.
Referenced by qt_patternForAlpha().