Qt 4.8
Public Types | Public Functions | Public Variables | List of all members
QX11PaintEnginePrivate Class Reference

#include <qpaintengine_x11_p.h>

Inheritance diagram for QX11PaintEnginePrivate:
QPaintEnginePrivate

Public Types

enum  GCMode { PenGC, BrushGC }
 

Public Functions

void clipPolygon_dev (const QPolygonF &poly, QPolygonF *clipped_poly)
 
void decideCoordAdjust ()
 
void decidePathFallback ()
 
void fillPath (const QPainterPath &path, GCMode gcmode, bool transform)
 
void fillPolygon_dev (const QPointF *points, int pointCount, GCMode gcMode, QPaintEngine::PolygonDrawMode mode)
 
void fillPolygon_translated (const QPointF *points, int pointCount, GCMode gcMode, QPaintEngine::PolygonDrawMode mode)
 
void init ()
 
 QX11PaintEnginePrivate ()
 
void resetAdaptedOrigin ()
 
void setupAdaptedOrigin (const QPoint &p)
 
void strokePolygon_dev (const QPointF *points, int pointCount, bool close)
 
void strokePolygon_translated (const QPointF *points, int pointCount, bool close)
 
void systemStateChanged ()
 
- Public Functions inherited from QPaintEnginePrivate
void drawBoxTextItem (const QPointF &p, const QTextItemInt &ti)
 
 QPaintEnginePrivate ()
 
void setSystemTransform (const QTransform &xform)
 
void setSystemViewport (const QRegion &region)
 
void transformSystemClip ()
 
virtual ~QPaintEnginePrivate ()
 

Public Variables

uint adapted_brush_origin: 1
 
uint adapted_pen_origin: 1
 
uint adjust_coords: 1
 
QPointF bg_origin
 
QPixmap bitmap_texture
 
QPixmap brush_pm
 
QBrush cbrush
 
int composition_mode
 
QPen cpen
 
QRegion crgn
 
Qt::HANDLE current_brush
 
Displaydpy
 
GC gc
 
GC gc_brush
 
uint has_alpha_brush: 1
 
uint has_alpha_pen: 1
 
uint has_alpha_texture: 1
 
uint has_brush: 1
 
uint has_clipping: 1
 
uint has_complex_xform: 1
 
uint has_custom_pen: 1
 
uint has_non_scaling_xform: 1
 
uint has_pattern: 1
 
uint has_pen: 1
 
uint has_scaling_xform: 1
 
uint has_texture: 1
 
Qt::HANDLE hd
 
QTransform matrix
 
qreal opacity
 
int pdev_depth
 
Qt::HANDLE picture
 
QPolygonClipper< qt_float_point, qt_float_point, float > polygonClipper
 
uint render_hints
 
int scrn
 
QXRenderTessellatortessellator
 
QTransform::TransformationType txop
 
uint use_path_fallback: 1
 
qreal xform_scale
 
const QX11Infoxinfo
 
int xlibMaxLinePoints
 
- Public Variables inherited from QPaintEnginePrivate
QWidgetcurrentClipWidget
 
uint hasSystemTransform: 1
 
uint hasSystemViewport: 1
 
QPaintDevicepdev
 
QPaintEngineq_ptr
 
QRegion systemClip
 
QRect systemRect
 
QTransform systemTransform
 
QRegion systemViewport
 

Detailed Description

Definition at line 141 of file qpaintengine_x11_p.h.

Enumerations

◆ GCMode

Enumerator
PenGC 
BrushGC 

Definition at line 161 of file qpaintengine_x11_p.h.

Constructors and Destructors

◆ QX11PaintEnginePrivate()

QX11PaintEnginePrivate::QX11PaintEnginePrivate ( )
inline

Definition at line 145 of file qpaintengine_x11_p.h.

146  {
147  scrn = -1;
148  hd = 0;
149  picture = 0;
150  gc = gc_brush = 0;
151  dpy = 0;
152  xinfo = 0;
154  has_clipping = false;
155  render_hints = 0;
156  xform_scale = 1;
157 #ifndef QT_NO_XRENDER
158  tessellator = 0;
159 #endif
160  }
QTransform::TransformationType txop
QXRenderTessellator * tessellator

Functions

◆ clipPolygon_dev()

void QX11PaintEnginePrivate::clipPolygon_dev ( const QPolygonF poly,
QPolygonF clipped_poly 
)

Definition at line 406 of file qpaintengine_x11.cpp.

407 {
408  int clipped_count = 0;
409  qt_float_point *clipped_points = 0;
411  &clipped_points, &clipped_count);
412  clipped_poly->resize(clipped_count);
413  for (int i=0; i<clipped_count; ++i)
414  (*clipped_poly)[i] = *((QPointF *)(&clipped_points[i]));
415 }
QPolygonClipper< qt_float_point, qt_float_point, float > polygonClipper
The QPointF class defines a point in the plane using floating point precision.
Definition: qpoint.h:214
void resize(int size)
Sets the size of the vector to size.
Definition: qvector.h:342
void clipPolygon(const InType *inPoints, int inCount, OutType **outPoints, int *outCount, bool closePolygon=true)
T * data()
Returns a pointer to the data stored in the vector.
Definition: qvector.h:152
int size() const
Returns the number of items in the vector.
Definition: qvector.h:137

◆ decideCoordAdjust()

void QX11PaintEnginePrivate::decideCoordAdjust ( )
inline

◆ decidePathFallback()

void QX11PaintEnginePrivate::decidePathFallback ( )
inline

◆ fillPath()

void QX11PaintEnginePrivate::fillPath ( const QPainterPath path,
QX11PaintEnginePrivate::GCMode  gc_mode,
bool  transform 
)

Definition at line 1748 of file qpaintengine_x11.cpp.

1749 {
1751 
1752  QPainterPath clippedPath;
1753  QPainterPath clipPath;
1754  clipPath.addRect(polygonClipper.boundingRect());
1755 
1756  if (transform)
1757  clippedPath = (path*matrix).intersected(clipPath);
1758  else
1759  clippedPath = path.intersected(clipPath);
1760 
1761  QList<QPolygonF> polys = clippedPath.toFillPolygons();
1762  for (int i = 0; i < polys.size(); ++i) {
1763  QVarLengthArray<QPointF> translated_points(polys.at(i).size());
1764 
1765  for (int j = 0; j < polys.at(i).size(); ++j) {
1766  translated_points[j] = polys.at(i).at(j);
1767  if (!X11->use_xrender || !(render_hints & QPainter::Antialiasing)) {
1768  translated_points[j].rx() = qRound(translated_points[j].rx() + aliasedCoordinateDelta) + offs;
1769  translated_points[j].ry() = qRound(translated_points[j].ry() + aliasedCoordinateDelta) + offs;
1770  }
1771  }
1772 
1773  fillPolygon_dev(translated_points.data(), polys.at(i).size(), gc_mode,
1775  }
1776 }
QPolygonClipper< qt_float_point, qt_float_point, float > polygonClipper
double qreal
Definition: qglobal.h:1193
The QPainterPath class provides a container for painting operations, enabling graphical shapes to be ...
Definition: qpainterpath.h:67
void fillPolygon_dev(const QPointF *points, int pointCount, GCMode gcMode, QPaintEngine::PolygonDrawMode mode)
QPainterPath intersected(const QPainterPath &r) const
Returns a path which is the intersection of this path&#39;s fill area and p&#39;s fill area.
static const qreal aliasedCoordinateDelta
QList< QPolygonF > toFillPolygons(const QMatrix &matrix=QMatrix()) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
qreal & rx()
Returns a reference to the x coordinate of this point.
Definition: qpoint.h:302
const T & at(int i) const
Returns the item at index position i in the list.
Definition: qlist.h:468
void addRect(const QRectF &rect)
Adds the given rectangle to this path as a closed subpath.
Qt::FillRule fillRule() const
Returns the painter path&#39;s currently set fill rule.
const T & at(int i) const
Returns the item at index position i in the vector.
Definition: qvector.h:350
int size() const
Returns the number of items in the list.
Definition: qlist.h:137
int size() const
Returns the number of items in the vector.
Definition: qvector.h:137
#define X11
Q_DECL_CONSTEXPR int qRound(qreal d)
Definition: qglobal.h:1203
The QList class is a template class that provides lists.
Definition: qdatastream.h:62

◆ fillPolygon_dev()

void QX11PaintEnginePrivate::fillPolygon_dev ( const QPointF points,
int  pointCount,
QX11PaintEnginePrivate::GCMode  gcMode,
QPaintEngine::PolygonDrawMode  mode 
)

Definition at line 1562 of file qpaintengine_x11.cpp.

1565 {
1567 
1568  int clippedCount = 0;
1569  qt_float_point *clippedPoints = 0;
1570 
1571 #ifndef QT_NO_XRENDER
1572  //can change if we switch to pen if gcMode != BrushGC
1573  bool has_fill_texture = has_texture;
1574  bool has_fill_pattern = has_pattern;
1575  ::Picture src;
1576 #endif
1577  QBrush fill;
1578  GC fill_gc;
1579  if (gcMode == BrushGC) {
1580  fill = cbrush;
1581  fill_gc = gc_brush;
1582 #ifndef QT_NO_XRENDER
1583  if (current_brush)
1584  src = current_brush;
1585  else
1586  src = X11->getSolidFill(scrn, fill.color());
1587 #endif
1588  } else {
1589  fill = QBrush(cpen.brush());
1590  fill_gc = gc;
1591 #ifndef QT_NO_XRENDER
1592  //we use the pens brush
1593  has_fill_texture = (fill.style() == Qt::TexturePattern);
1594  has_fill_pattern = (fill.style() >= Qt::Dense1Pattern && fill.style() <= Qt::DiagCrossPattern);
1595  if (has_fill_texture)
1596  src = fill.texture().x11PictureHandle();
1597  else if (has_fill_pattern)
1598  src = getPatternFill(scrn, fill);
1599  else
1600  src = X11->getSolidFill(scrn, fill.color());
1601 #endif
1602  }
1603 
1604  polygonClipper.clipPolygon((qt_float_point *) polygonPoints, pointCount,
1605  &clippedPoints, &clippedCount);
1606 
1607 #ifndef QT_NO_XRENDER
1608  bool solid_fill = fill.color().alpha() == 255;
1609  if (has_fill_texture && fill.texture().depth() == 1 && solid_fill) {
1610  has_fill_texture = false;
1611  has_fill_pattern = true;
1612  }
1613 
1614  bool antialias = render_hints & QPainter::Antialiasing;
1615 
1616  if (X11->use_xrender
1617  && picture
1618  && !has_fill_pattern
1619  && (clippedCount > 0)
1620  && (fill.style() != Qt::NoBrush)
1621  && ((has_fill_texture && fill.texture().hasAlpha()) || antialias || !solid_fill || has_alpha_pen != has_alpha_brush))
1622  {
1623  tessellator->tessellate((QPointF *)clippedPoints, clippedCount,
1624  mode == QPaintEngine::WindingMode);
1625  if (tessellator->size > 0) {
1626  XRenderPictureAttributes attrs;
1627  attrs.poly_edge = antialias ? PolyEdgeSmooth : PolyEdgeSharp;
1628  XRenderChangePicture(dpy, picture, CPPolyEdge, &attrs);
1629  int x_offset = int(XFixedToDouble(tessellator->traps[0].left.p1.x) - bg_origin.x());
1630  int y_offset = int(XFixedToDouble(tessellator->traps[0].left.p1.y) - bg_origin.y());
1632  antialias
1633  ? XRenderFindStandardFormat(dpy, PictStandardA8)
1634  : XRenderFindStandardFormat(dpy, PictStandardA1),
1635  x_offset, y_offset,
1637  tessellator->done();
1638  }
1639  } else
1640 #endif
1641  if (fill.style() != Qt::NoBrush) {
1642  if (clippedCount > 200000) {
1643  QPolygon poly;
1644  for (int i = 0; i < clippedCount; ++i)
1645  poly << QPoint(qFloor(clippedPoints[i].x), qFloor(clippedPoints[i].y));
1646 
1647  const QRect bounds = poly.boundingRect();
1648  const QRect aligned = bounds
1649  & QRect(QPoint(), QSize(pdev->width(), pdev->height()));
1650 
1652  img.fill(0);
1653 
1654  QPainter painter(&img);
1655  painter.translate(-aligned.x(), -aligned.y());
1656  painter.setPen(Qt::NoPen);
1657  painter.setBrush(fill);
1658  if (gcMode == BrushGC)
1659  painter.setBrushOrigin(q->painter()->brushOrigin());
1660  painter.drawPolygon(poly);
1661  painter.end();
1662 
1663  q->drawImage(aligned, img, img.rect(), Qt::AutoColor);
1664  } else if (clippedCount > 0) {
1665  QVarLengthArray<XPoint> xpoints(clippedCount);
1666  for (int i = 0; i < clippedCount; ++i) {
1667  xpoints[i].x = qFloor(clippedPoints[i].x);
1668  xpoints[i].y = qFloor(clippedPoints[i].y);
1669  }
1670  if (mode == QPaintEngine::WindingMode)
1671  XSetFillRule(dpy, fill_gc, WindingRule);
1672  setupAdaptedOrigin(QPoint(xpoints[0].x, xpoints[0].y));
1673  XFillPolygon(dpy, hd, fill_gc,
1674  xpoints.data(), clippedCount,
1675  mode == QPaintEngine::ConvexMode ? Convex : Complex, CoordModeOrigin);
1677  if (mode == QPaintEngine::WindingMode)
1678  XSetFillRule(dpy, fill_gc, EvenOddRule);
1679  }
1680  }
1681 }
The QPainter class performs low-level painting on widgets and other paint devices.
Definition: qpainter.h:86
static Picture getPatternFill(int screen, const QBrush &b)
QPolygonClipper< qt_float_point, qt_float_point, float > polygonClipper
const QColor & color() const
Returns the brush color.
Definition: qbrush.h:183
QRect tessellate(const QPointF *points, int nPoints, bool winding)
static void qt_XRenderCompositeTrapezoids(Display *dpy, int op, Picture src, Picture dst, _Xconst XRenderPictFormat *maskFormat, int xSrc, int ySrc, const XTrapezoid *traps, int size)
int qFloor(qreal v)
Definition: qmath.h:73
#define EvenOddRule
Definition: qregion.cpp:1782
int height() const
Definition: qpaintdevice.h:92
void fill(uint pixel)
Fills the entire image with the given pixelValue.
Definition: qimage.cpp:2032
The QPointF class defines a point in the plane using floating point precision.
Definition: qpoint.h:214
The QPolygon class provides a vector of points using integer precision.
Definition: qpolygon.h:60
int depth() const
Returns the depth of the pixmap.
Definition: qpixmap.cpp:695
#define WindingRule
Definition: qregion.cpp:1783
qreal x() const
Returns the x-coordinate of this point.
Definition: qpoint.h:282
#define Q_Q(Class)
Definition: qglobal.h:2483
int width() const
Definition: qpaintdevice.h:91
void clipPolygon(const InType *inPoints, int inCount, OutType **outPoints, int *outCount, bool closePolygon=true)
QXRenderTessellator * tessellator
QSize size() const
Returns the size of the rectangle.
Definition: qrect.h:309
The QImage class provides a hardware-independent image representation that allows direct access to th...
Definition: qimage.h:87
QBrush brush() const
Returns the brush used to fill strokes generated with this pen.
Definition: qpen.cpp:797
Qt::BrushStyle style() const
Returns the brush style.
Definition: qbrush.h:182
QPixmap texture() const
Returns the custom brush pattern, or a null pixmap if no custom brush pattern has been set...
Definition: qbrush.cpp:785
unsigned long Picture
The QBrush class defines the fill pattern of shapes drawn by QPainter.
Definition: qbrush.h:76
void setupAdaptedOrigin(const QPoint &p)
ushort alpha
Returns the alpha color component of this color.
Definition: qcolor.h:242
int y() const
Returns the y-coordinate of the rectangle&#39;s top edge.
Definition: qrect.h:255
bool hasAlpha() const
Returns true if this pixmap has an alpha channel, or has a mask, otherwise returns false...
Definition: qpixmap.cpp:1938
int x() const
Returns the x-coordinate of the rectangle&#39;s left edge.
Definition: qrect.h:252
The QPoint class defines a point in the plane using integer precision.
Definition: qpoint.h:53
The QRect class defines a rectangle in the plane using integer precision.
Definition: qrect.h:58
QRect boundingRect() const
Returns the bounding rectangle of the polygon, or QRect(0, 0, 0, 0) if the polygon is empty...
Definition: qpolygon.cpp:492
qreal y() const
Returns the y-coordinate of this point.
Definition: qpoint.h:287
QPaintDevice * pdev
struct _XGC * GC
Definition: qwindowdefs.h:117
The QSize class defines the size of a two-dimensional object using integer point precision.
Definition: qsize.h:53
#define X11

◆ fillPolygon_translated()

void QX11PaintEnginePrivate::fillPolygon_translated ( const QPointF points,
int  pointCount,
QX11PaintEnginePrivate::GCMode  gcMode,
QPaintEngine::PolygonDrawMode  mode 
)

Definition at line 1515 of file qpaintengine_x11.cpp.

1518 {
1519 
1520  QVarLengthArray<QPointF> translated_points(pointCount);
1521  QPointF offset(matrix.dx(), matrix.dy());
1522 
1524  if (!X11->use_xrender || !(render_hints & QPainter::Antialiasing))
1526 
1527  for (int i = 0; i < pointCount; ++i) {
1528  translated_points[i] = polygonPoints[i] + offset;
1529 
1530  translated_points[i].rx() = qRound(translated_points[i].x()) + offs;
1531  translated_points[i].ry() = qRound(translated_points[i].y()) + offs;
1532  }
1533 
1534  fillPolygon_dev(translated_points.data(), pointCount, gcMode, mode);
1535 }
qreal dy() const
Returns the vertical translation factor.
Definition: qtransform.h:277
double qreal
Definition: qglobal.h:1193
The QPointF class defines a point in the plane using floating point precision.
Definition: qpoint.h:214
void fillPolygon_dev(const QPointF *points, int pointCount, GCMode gcMode, QPaintEngine::PolygonDrawMode mode)
static const qreal aliasedCoordinateDelta
qreal & rx()
Returns a reference to the x coordinate of this point.
Definition: qpoint.h:302
qreal dx() const
Returns the horizontal translation factor.
Definition: qtransform.h:273
#define X11
Q_DECL_CONSTEXPR int qRound(qreal d)
Definition: qglobal.h:1203

◆ init()

void QX11PaintEnginePrivate::init ( )

Definition at line 376 of file qpaintengine_x11.cpp.

377 {
378  dpy = 0;
379  scrn = 0;
380  hd = 0;
381  picture = 0;
382  xinfo = 0;
383 #ifndef QT_NO_XRENDER
384  current_brush = 0;
385  composition_mode = PictOpOver;
387 #endif
388 }
QXRenderTessellator * tessellator

◆ resetAdaptedOrigin()

void QX11PaintEnginePrivate::resetAdaptedOrigin ( )

Definition at line 398 of file qpaintengine_x11.cpp.

399 {
400  if (adapted_pen_origin)
401  XSetTSOrigin(dpy, gc, 0, 0);
403  XSetTSOrigin(dpy, gc_brush, 0, 0);
404 }

◆ setupAdaptedOrigin()

void QX11PaintEnginePrivate::setupAdaptedOrigin ( const QPoint p)

Definition at line 390 of file qpaintengine_x11.cpp.

391 {
392  if (adapted_pen_origin)
393  XSetTSOrigin(dpy, gc, p.x(), p.y());
395  XSetTSOrigin(dpy, gc_brush, p.x(), p.y());
396 }
int y() const
Returns the y coordinate of this point.
Definition: qpoint.h:131
int x() const
Returns the x coordinate of this point.
Definition: qpoint.h:128

◆ strokePolygon_dev()

void QX11PaintEnginePrivate::strokePolygon_dev ( const QPointF points,
int  pointCount,
bool  close 
)

Definition at line 1692 of file qpaintengine_x11.cpp.

1693 {
1694  int clippedCount = 0;
1695  qt_float_point *clippedPoints = 0;
1696  polygonClipper.clipPolygon((qt_float_point *) polygonPoints, pointCount,
1697  &clippedPoints, &clippedCount, close);
1698 
1699  if (clippedCount > 0) {
1700  QVarLengthArray<XPoint> xpoints(clippedCount);
1701  for (int i = 0; i < clippedCount; ++i) {
1702  xpoints[i].x = qRound(clippedPoints[i].x + aliasedCoordinateDelta);
1703  xpoints[i].y = qRound(clippedPoints[i].y + aliasedCoordinateDelta);
1704  }
1705  uint numberPoints = qMin(clippedCount, xlibMaxLinePoints);
1706  XPoint *pts = xpoints.data();
1707  XDrawLines(dpy, hd, gc, pts, numberPoints, CoordModeOrigin);
1708  pts += numberPoints;
1709  clippedCount -= numberPoints;
1710  numberPoints = qMin(clippedCount, xlibMaxLinePoints-1);
1711  while (clippedCount) {
1712  XDrawLines(dpy, hd, gc, pts-1, numberPoints+1, CoordModeOrigin);
1713  pts += numberPoints;
1714  clippedCount -= numberPoints;
1715  numberPoints = qMin(clippedCount, xlibMaxLinePoints-1);
1716  }
1717  }
1718 }
QPolygonClipper< qt_float_point, qt_float_point, float > polygonClipper
Q_DECL_CONSTEXPR const T & qMin(const T &a, const T &b)
Definition: qglobal.h:1215
static const qreal aliasedCoordinateDelta
void clipPolygon(const InType *inPoints, int inCount, OutType **outPoints, int *outCount, bool closePolygon=true)
unsigned int uint
Definition: qglobal.h:996
Q_DECL_CONSTEXPR int qRound(qreal d)
Definition: qglobal.h:1203

◆ strokePolygon_translated()

void QX11PaintEnginePrivate::strokePolygon_translated ( const QPointF points,
int  pointCount,
bool  close 
)

Definition at line 1683 of file qpaintengine_x11.cpp.

1684 {
1685  QVarLengthArray<QPointF> translated_points(pointCount);
1686  QPointF offset(matrix.dx(), matrix.dy());
1687  for (int i = 0; i < pointCount; ++i)
1688  translated_points[i] = polygonPoints[i] + offset;
1689  strokePolygon_dev(translated_points.data(), pointCount, close);
1690 }
qreal dy() const
Returns the vertical translation factor.
Definition: qtransform.h:277
The QPointF class defines a point in the plane using floating point precision.
Definition: qpoint.h:214
void strokePolygon_dev(const QPointF *points, int pointCount, bool close)
qreal dx() const
Returns the horizontal translation factor.
Definition: qtransform.h:273

◆ systemStateChanged()

void QX11PaintEnginePrivate::systemStateChanged ( )
virtual

Reimplemented from QPaintEnginePrivate.

Definition at line 417 of file qpaintengine_x11.cpp.

418 {
420  QPainter *painter = q->state ? static_cast<QPainterState *>(q->state)->painter : 0;
421  if (painter && painter->hasClipping()) {
422  if (q->testDirty(QPaintEngine::DirtyTransform))
423  q->updateMatrix(q->state->transform());
424  QPolygonF clip_poly_dev(matrix.map(painter->clipPath().toFillPolygon()));
425  QPolygonF clipped_poly_dev;
426  clipPolygon_dev(clip_poly_dev, &clipped_poly_dev);
427  q->updateClipRegion_dev(QRegion(clipped_poly_dev.toPolygon()), Qt::ReplaceClip);
428  } else {
429  q->updateClipRegion_dev(QRegion(), Qt::NoClip);
430  }
431 }
QPainterPath clipPath() const
Returns the currently clip as a path.
Definition: qpainter.cpp:2690
The QPainter class performs low-level painting on widgets and other paint devices.
Definition: qpainter.h:86
void clipPolygon_dev(const QPolygonF &poly, QPolygonF *clipped_poly)
QPolygon toPolygon() const
Creates and returns a QPolygon by converting each QPointF to a QPoint.
Definition: qpolygon.cpp:772
#define Q_Q(Class)
Definition: qglobal.h:2483
QPolygonF toFillPolygon(const QMatrix &matrix=QMatrix()) const
This is an overloaded member function, provided for convenience. It differs from the above function o...
bool hasClipping() const
Returns true if clipping has been set; otherwise returns false.
Definition: qpainter.cpp:2499
The QPolygonF class provides a vector of points using floating point precision.
Definition: qpolygon.h:134
QPoint map(const QPoint &p) const
Creates and returns a QPoint object that is a copy of the given point, mapped into the coordinate sys...
The QRegion class specifies a clip region for a painter.
Definition: qregion.h:68

Properties

◆ adapted_brush_origin

uint QX11PaintEnginePrivate::adapted_brush_origin

Definition at line 221 of file qpaintengine_x11_p.h.

◆ adapted_pen_origin

uint QX11PaintEnginePrivate::adapted_pen_origin

Definition at line 222 of file qpaintengine_x11_p.h.

◆ adjust_coords

uint QX11PaintEnginePrivate::adjust_coords

Definition at line 219 of file qpaintengine_x11_p.h.

◆ bg_origin

QPointF QX11PaintEnginePrivate::bg_origin

Definition at line 233 of file qpaintengine_x11_p.h.

◆ bitmap_texture

QPixmap QX11PaintEnginePrivate::bitmap_texture

Definition at line 200 of file qpaintengine_x11_p.h.

◆ brush_pm

QPixmap QX11PaintEnginePrivate::brush_pm

Definition at line 196 of file qpaintengine_x11_p.h.

◆ cbrush

QBrush QX11PaintEnginePrivate::cbrush

Definition at line 209 of file qpaintengine_x11_p.h.

◆ composition_mode

int QX11PaintEnginePrivate::composition_mode

Definition at line 201 of file qpaintengine_x11_p.h.

◆ cpen

QPen QX11PaintEnginePrivate::cpen

Definition at line 208 of file qpaintengine_x11_p.h.

◆ crgn

QRegion QX11PaintEnginePrivate::crgn

Definition at line 210 of file qpaintengine_x11_p.h.

◆ current_brush

Qt::HANDLE QX11PaintEnginePrivate::current_brush

Definition at line 199 of file qpaintengine_x11_p.h.

◆ dpy

Display* QX11PaintEnginePrivate::dpy

Definition at line 192 of file qpaintengine_x11_p.h.

◆ gc

GC QX11PaintEnginePrivate::gc

Definition at line 205 of file qpaintengine_x11_p.h.

◆ gc_brush

GC QX11PaintEnginePrivate::gc_brush

Definition at line 206 of file qpaintengine_x11_p.h.

◆ has_alpha_brush

uint QX11PaintEnginePrivate::has_alpha_brush

Definition at line 229 of file qpaintengine_x11_p.h.

◆ has_alpha_pen

uint QX11PaintEnginePrivate::has_alpha_pen

Definition at line 228 of file qpaintengine_x11_p.h.

◆ has_alpha_texture

uint QX11PaintEnginePrivate::has_alpha_texture

Definition at line 226 of file qpaintengine_x11_p.h.

◆ has_brush

uint QX11PaintEnginePrivate::has_brush

Definition at line 224 of file qpaintengine_x11_p.h.

◆ has_clipping

uint QX11PaintEnginePrivate::has_clipping

Definition at line 220 of file qpaintengine_x11_p.h.

◆ has_complex_xform

uint QX11PaintEnginePrivate::has_complex_xform

Definition at line 214 of file qpaintengine_x11_p.h.

◆ has_custom_pen

uint QX11PaintEnginePrivate::has_custom_pen

Definition at line 217 of file qpaintengine_x11_p.h.

◆ has_non_scaling_xform

uint QX11PaintEnginePrivate::has_non_scaling_xform

Definition at line 216 of file qpaintengine_x11_p.h.

◆ has_pattern

uint QX11PaintEnginePrivate::has_pattern

Definition at line 227 of file qpaintengine_x11_p.h.

◆ has_pen

uint QX11PaintEnginePrivate::has_pen

Definition at line 223 of file qpaintengine_x11_p.h.

◆ has_scaling_xform

uint QX11PaintEnginePrivate::has_scaling_xform

Definition at line 215 of file qpaintengine_x11_p.h.

◆ has_texture

uint QX11PaintEnginePrivate::has_texture

Definition at line 225 of file qpaintengine_x11_p.h.

◆ hd

Qt::HANDLE QX11PaintEnginePrivate::hd

Definition at line 195 of file qpaintengine_x11_p.h.

◆ matrix

QTransform QX11PaintEnginePrivate::matrix

Definition at line 211 of file qpaintengine_x11_p.h.

◆ opacity

qreal QX11PaintEnginePrivate::opacity

Definition at line 212 of file qpaintengine_x11_p.h.

◆ pdev_depth

int QX11PaintEnginePrivate::pdev_depth

Definition at line 194 of file qpaintengine_x11_p.h.

◆ picture

Qt::HANDLE QX11PaintEnginePrivate::picture

Definition at line 198 of file qpaintengine_x11_p.h.

◆ polygonClipper

QPolygonClipper<qt_float_point, qt_float_point, float> QX11PaintEnginePrivate::polygonClipper

Definition at line 236 of file qpaintengine_x11_p.h.

◆ render_hints

uint QX11PaintEnginePrivate::render_hints

Definition at line 230 of file qpaintengine_x11_p.h.

◆ scrn

int QX11PaintEnginePrivate::scrn

Definition at line 193 of file qpaintengine_x11_p.h.

◆ tessellator

QXRenderTessellator* QX11PaintEnginePrivate::tessellator

Definition at line 240 of file qpaintengine_x11_p.h.

◆ txop

QTransform::TransformationType QX11PaintEnginePrivate::txop

Definition at line 234 of file qpaintengine_x11_p.h.

◆ use_path_fallback

uint QX11PaintEnginePrivate::use_path_fallback

Definition at line 218 of file qpaintengine_x11_p.h.

◆ xform_scale

qreal QX11PaintEnginePrivate::xform_scale

Definition at line 235 of file qpaintengine_x11_p.h.

◆ xinfo

const QX11Info* QX11PaintEnginePrivate::xinfo

Definition at line 232 of file qpaintengine_x11_p.h.

◆ xlibMaxLinePoints

int QX11PaintEnginePrivate::xlibMaxLinePoints

Definition at line 238 of file qpaintengine_x11_p.h.


The documentation for this class was generated from the following files: