![]() |
Qt 6.x
The Qt SDK
|
Classes | |
struct | qt_float_point |
Public Types | |
enum | GCMode { PenGC , BrushGC } |
Additional Inherited Members | |
![]() | |
static QPaintEnginePrivate * | get (QPaintEngine *paintEngine) |
Definition at line 75 of file qpaintengine_x11.cpp.
Enumerator | |
---|---|
PenGC | |
BrushGC |
Definition at line 96 of file qpaintengine_x11.cpp.
|
inline |
Definition at line 79 of file qpaintengine_x11.cpp.
Definition at line 547 of file qpaintengine_x11.cpp.
References QList< T >::data(), i, polygonClipper, QList< T >::resize(), and QList< T >::size().
Referenced by systemStateChanged().
|
inline |
Definition at line 118 of file qpaintengine_x11.cpp.
References adjust_coords.
|
inline |
Definition at line 111 of file qpaintengine_x11.cpp.
References QPainter::Antialiasing, has_alpha_brush, has_alpha_pen, has_complex_xform, has_custom_pen, render_hints, and use_path_fallback.
void QX11PaintEnginePrivate::fillPath | ( | const QPainterPath & | path, |
QX11PaintEnginePrivate::GCMode | gc_mode, | ||
bool | transform | ||
) |
Definition at line 1875 of file qpaintengine_x11.cpp.
References QPainterPath::addRect(), adjust_coords, aliasedCoordinateDelta, QPainter::Antialiasing, QList< T >::at(), QVarLengthArray< T, Prealloc >::data(), fillPolygon_dev(), i, QPainterPath::intersected(), j, matrix, Qt::OddEvenFill, QPaintEngine::OddEvenMode, polygonClipper, qRound(), render_hints, rx(), ry(), QList< T >::size(), QPainterPath::toFillPolygons(), QPaintEngine::WindingMode, and X11.
void QX11PaintEnginePrivate::fillPolygon_dev | ( | const QPointF * | points, |
int | pointCount, | ||
QX11PaintEnginePrivate::GCMode | gcMode, | ||
QPaintEngine::PolygonDrawMode | mode | ||
) |
Definition at line 1688 of file qpaintengine_x11.cpp.
References aligned(), QPainter::Antialiasing, attrs, Qt::AutoColor, bg_origin, QPolygon::boundingRect(), QPen::brush(), BrushGC, cbrush, QPaintEngine::ConvexMode, cpen, QVarLengthArray< T, Prealloc >::data(), Qt::Dense1Pattern, Qt::DiagCrossPattern, dpy, QPainter::drawPolygon(), QPainter::end(), fill(), QImage::Format_ARGB32_Premultiplied, gc, gc_brush, has_alpha_brush, has_alpha_pen, has_pattern, has_texture, hd, QPaintDevice::height(), i, Qt::NoBrush, Qt::NoPen, painter, QPaintEnginePrivate::pdev, polygonClipper, qFloor(), qt_x11PictureHandle(), render_hints, resetAdaptedOrigin(), scrn, QPainter::setBrush(), QPainter::setBrushOrigin(), QPainter::setPen(), setupAdaptedOrigin(), Qt::TexturePattern, QPainter::translate(), QPaintDevice::width(), QPaintEngine::WindingMode, QPointF::x(), X11, and QPointF::y().
Referenced by fillPath(), and fillPolygon_translated().
void QX11PaintEnginePrivate::fillPolygon_translated | ( | const QPointF * | points, |
int | pointCount, | ||
QX11PaintEnginePrivate::GCMode | gcMode, | ||
QPaintEngine::PolygonDrawMode | mode | ||
) |
Definition at line 1641 of file qpaintengine_x11.cpp.
References adjust_coords, aliasedCoordinateDelta, QPainter::Antialiasing, QVarLengthArray< T, Prealloc >::data(), fillPolygon_dev(), i, qRound(), render_hints, and X11.
void QX11PaintEnginePrivate::init | ( | ) |
|
inline |
Definition at line 123 of file qpaintengine_x11.cpp.
References cpen, and QPen::isCosmetic().
void QX11PaintEnginePrivate::resetAdaptedOrigin | ( | ) |
Definition at line 539 of file qpaintengine_x11.cpp.
References adapted_brush_origin, adapted_pen_origin, dpy, gc, and gc_brush.
Referenced by fillPolygon_dev().
Definition at line 531 of file qpaintengine_x11.cpp.
References adapted_brush_origin, adapted_pen_origin, dpy, gc, and gc_brush.
Referenced by fillPolygon_dev().
void QX11PaintEnginePrivate::strokePolygon_dev | ( | const QPointF * | points, |
int | pointCount, | ||
bool | close | ||
) |
Definition at line 1818 of file qpaintengine_x11.cpp.
References aliasedCoordinateDelta, QVarLengthArray< T, Prealloc >::data(), dpy, gc, hd, i, polygonClipper, qMin(), qRound(), and xlibMaxLinePoints.
Referenced by strokePolygon_translated().
void QX11PaintEnginePrivate::strokePolygon_translated | ( | const QPointF * | points, |
int | pointCount, | ||
bool | close | ||
) |
Definition at line 1809 of file qpaintengine_x11.cpp.
References QVarLengthArray< T, Prealloc >::data(), i, and strokePolygon_dev().
|
overridevirtual |
Reimplemented from QPaintEnginePrivate.
Definition at line 558 of file qpaintengine_x11.cpp.
References QPainter::clipPath(), clipPolygon_dev(), QPaintEngine::DirtyTransform, QPainter::hasClipping(), Qt::NoClip, painter, Qt::ReplaceClip, QPainterPath::toFillPolygon(), and QPolygonF::toPolygon().
uint QX11PaintEnginePrivate::adapted_brush_origin |
Definition at line 156 of file qpaintengine_x11.cpp.
Referenced by resetAdaptedOrigin(), and setupAdaptedOrigin().
uint QX11PaintEnginePrivate::adapted_pen_origin |
Definition at line 157 of file qpaintengine_x11.cpp.
Referenced by resetAdaptedOrigin(), and setupAdaptedOrigin().
uint QX11PaintEnginePrivate::adjust_coords |
Definition at line 154 of file qpaintengine_x11.cpp.
Referenced by decideCoordAdjust(), fillPath(), and fillPolygon_translated().
QPointF QX11PaintEnginePrivate::bg_origin |
Definition at line 169 of file qpaintengine_x11.cpp.
Referenced by fillPolygon_dev().
QPixmap QX11PaintEnginePrivate::brush_pm |
Definition at line 131 of file qpaintengine_x11.cpp.
QBrush QX11PaintEnginePrivate::cbrush |
Definition at line 144 of file qpaintengine_x11.cpp.
Referenced by fillPolygon_dev().
QPen QX11PaintEnginePrivate::cpen |
Definition at line 143 of file qpaintengine_x11.cpp.
Referenced by fillPolygon_dev(), and isCosmeticPen().
QRegion QX11PaintEnginePrivate::crgn |
Definition at line 145 of file qpaintengine_x11.cpp.
Display* QX11PaintEnginePrivate::dpy |
Definition at line 127 of file qpaintengine_x11.cpp.
Referenced by fillPolygon_dev(), init(), qt_x11_get_brush_gc(), resetAdaptedOrigin(), setupAdaptedOrigin(), and strokePolygon_dev().
GC QX11PaintEnginePrivate::gc |
Definition at line 140 of file qpaintengine_x11.cpp.
Referenced by fillPolygon_dev(), qt_x11_get_brush_gc(), resetAdaptedOrigin(), setupAdaptedOrigin(), and strokePolygon_dev().
GC QX11PaintEnginePrivate::gc_brush |
Definition at line 141 of file qpaintengine_x11.cpp.
Referenced by fillPolygon_dev(), qt_x11_get_brush_gc(), resetAdaptedOrigin(), and setupAdaptedOrigin().
uint QX11PaintEnginePrivate::has_alpha_brush |
Definition at line 164 of file qpaintengine_x11.cpp.
Referenced by decidePathFallback(), and fillPolygon_dev().
uint QX11PaintEnginePrivate::has_alpha_pen |
Definition at line 163 of file qpaintengine_x11.cpp.
Referenced by decidePathFallback(), and fillPolygon_dev().
uint QX11PaintEnginePrivate::has_alpha_texture |
Definition at line 161 of file qpaintengine_x11.cpp.
uint QX11PaintEnginePrivate::has_brush |
Definition at line 159 of file qpaintengine_x11.cpp.
uint QX11PaintEnginePrivate::has_clipping |
Definition at line 155 of file qpaintengine_x11.cpp.
Referenced by qt_x11_get_brush_gc().
uint QX11PaintEnginePrivate::has_complex_xform |
Definition at line 149 of file qpaintengine_x11.cpp.
Referenced by decidePathFallback().
uint QX11PaintEnginePrivate::has_custom_pen |
Definition at line 152 of file qpaintengine_x11.cpp.
Referenced by decidePathFallback().
uint QX11PaintEnginePrivate::has_non_scaling_xform |
Definition at line 151 of file qpaintengine_x11.cpp.
uint QX11PaintEnginePrivate::has_pattern |
Definition at line 162 of file qpaintengine_x11.cpp.
Referenced by fillPolygon_dev().
uint QX11PaintEnginePrivate::has_pen |
Definition at line 158 of file qpaintengine_x11.cpp.
uint QX11PaintEnginePrivate::has_scaling_xform |
Definition at line 150 of file qpaintengine_x11.cpp.
uint QX11PaintEnginePrivate::has_texture |
Definition at line 160 of file qpaintengine_x11.cpp.
Referenced by fillPolygon_dev().
unsigned long QX11PaintEnginePrivate::hd |
Definition at line 130 of file qpaintengine_x11.cpp.
Referenced by fillPolygon_dev(), init(), qt_x11_get_brush_gc(), and strokePolygon_dev().
QTransform QX11PaintEnginePrivate::matrix |
Definition at line 146 of file qpaintengine_x11.cpp.
Referenced by fillPath().
qreal QX11PaintEnginePrivate::opacity |
Definition at line 147 of file qpaintengine_x11.cpp.
Referenced by qt_x11_get_brush_gc().
int QX11PaintEnginePrivate::pdev_depth |
Definition at line 129 of file qpaintengine_x11.cpp.
unsigned long QX11PaintEnginePrivate::picture |
Definition at line 138 of file qpaintengine_x11.cpp.
QPolygonClipper<qt_float_point, qt_float_point, float> QX11PaintEnginePrivate::polygonClipper |
Definition at line 177 of file qpaintengine_x11.cpp.
Referenced by clipPolygon_dev(), fillPath(), fillPolygon_dev(), and strokePolygon_dev().
uint QX11PaintEnginePrivate::render_hints |
Definition at line 166 of file qpaintengine_x11.cpp.
Referenced by decidePathFallback(), fillPath(), fillPolygon_dev(), fillPolygon_translated(), and qt_x11_get_brush_gc().
int QX11PaintEnginePrivate::scrn |
Definition at line 128 of file qpaintengine_x11.cpp.
Referenced by fillPolygon_dev(), init(), and qt_x11_get_brush_gc().
QTransform::TransformationType QX11PaintEnginePrivate::txop |
Definition at line 170 of file qpaintengine_x11.cpp.
Referenced by qt_x11_get_brush_gc().
uint QX11PaintEnginePrivate::use_path_fallback |
Definition at line 153 of file qpaintengine_x11.cpp.
Referenced by decidePathFallback().
uint QX11PaintEnginePrivate::use_sysclip |
Definition at line 165 of file qpaintengine_x11.cpp.
qreal QX11PaintEnginePrivate::xform_scale |
Definition at line 171 of file qpaintengine_x11.cpp.
Referenced by qt_x11_get_brush_gc().
const QXcbX11Info* QX11PaintEnginePrivate::xinfo |
Definition at line 168 of file qpaintengine_x11.cpp.
Referenced by init(), and qt_x11_get_brush_gc().
int QX11PaintEnginePrivate::xlibMaxLinePoints |
Definition at line 179 of file qpaintengine_x11.cpp.
Referenced by strokePolygon_dev().