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>.
|
Classes | |
struct | qt_float_point |
Public Types | |
enum | GCMode { PenGC , BrushGC } |
Additional Inherited Members | |
Static Public Member Functions inherited from QPaintEnginePrivate | |
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 i.
|
inline |
Definition at line 118 of file qpaintengine_x11.cpp.
|
inline |
Definition at line 111 of file qpaintengine_x11.cpp.
References QPainter::Antialiasing.
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, fillPolygon_dev(), i, j, matrix, Qt::OddEvenFill, QPaintEngine::OddEvenMode, polygonClipper, qRound(), render_hints, rx(), ry(), 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, QPen::brush(), BrushGC, cbrush, QPaintEngine::ConvexMode, cpen, 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, fillPolygon_dev(), i, qRound(), render_hints, and X11.
void QX11PaintEnginePrivate::init | ( | ) |
Definition at line 517 of file qpaintengine_x11.cpp.
|
inline |
Definition at line 123 of file qpaintengine_x11.cpp.
void QX11PaintEnginePrivate::resetAdaptedOrigin | ( | ) |
Definition at line 539 of file qpaintengine_x11.cpp.
References gc().
Referenced by fillPolygon_dev().
Definition at line 531 of file qpaintengine_x11.cpp.
References gc().
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, 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 i, and strokePolygon_dev().
|
overridevirtual |
Reimplemented from QPaintEnginePrivate.
Definition at line 558 of file qpaintengine_x11.cpp.
References QPainter::clipPath(), QPaintEngine::DirtyTransform, QPainter::hasClipping(), Qt::NoClip, painter, Qt::ReplaceClip, and QPainterPath::toFillPolygon().
uint QX11PaintEnginePrivate::adapted_brush_origin |
Definition at line 156 of file qpaintengine_x11.cpp.
uint QX11PaintEnginePrivate::adapted_pen_origin |
Definition at line 157 of file qpaintengine_x11.cpp.
uint QX11PaintEnginePrivate::adjust_coords |
Definition at line 154 of file qpaintengine_x11.cpp.
Referenced by 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().
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(), and strokePolygon_dev().
GC QX11PaintEnginePrivate::gc |
Definition at line 140 of file qpaintengine_x11.cpp.
Referenced by fillPolygon_dev(), and strokePolygon_dev().
GC QX11PaintEnginePrivate::gc_brush |
Definition at line 141 of file qpaintengine_x11.cpp.
Referenced by fillPolygon_dev().
uint QX11PaintEnginePrivate::has_alpha_brush |
Definition at line 164 of file qpaintengine_x11.cpp.
Referenced by fillPolygon_dev().
uint QX11PaintEnginePrivate::has_alpha_pen |
Definition at line 163 of file qpaintengine_x11.cpp.
Referenced by 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.
uint QX11PaintEnginePrivate::has_complex_xform |
Definition at line 149 of file qpaintengine_x11.cpp.
uint QX11PaintEnginePrivate::has_custom_pen |
Definition at line 152 of file qpaintengine_x11.cpp.
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(), 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.
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 fillPath(), fillPolygon_dev(), and strokePolygon_dev().
uint QX11PaintEnginePrivate::render_hints |
Definition at line 166 of file qpaintengine_x11.cpp.
Referenced by fillPath(), fillPolygon_dev(), and fillPolygon_translated().
int QX11PaintEnginePrivate::scrn |
Definition at line 128 of file qpaintengine_x11.cpp.
Referenced by fillPolygon_dev().
QTransform::TransformationType QX11PaintEnginePrivate::txop |
Definition at line 170 of file qpaintengine_x11.cpp.
uint QX11PaintEnginePrivate::use_path_fallback |
Definition at line 153 of file qpaintengine_x11.cpp.
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.
const QXcbX11Info* QX11PaintEnginePrivate::xinfo |
Definition at line 168 of file qpaintengine_x11.cpp.
int QX11PaintEnginePrivate::xlibMaxLinePoints |
Definition at line 179 of file qpaintengine_x11.cpp.
Referenced by strokePolygon_dev().