42 #ifndef QPAINTENGINE_X11_P_H 43 #define QPAINTENGINE_X11_P_H 56 #include "QtGui/qpaintengine.h" 57 #include "QtGui/qregion.h" 58 #include "QtGui/qpen.h" 59 #include "QtCore/qpoint.h" 60 #include "private/qpaintengine_p.h" 61 #include "private/qpainter_p.h" 62 #include "private/qpolygonclipper_p.h" 89 void updatePen(
const QPen &pen);
91 void updateRenderHints(QPainter::RenderHints hints);
92 void updateFont(
const QFont &font);
105 void drawEllipse(
const QRect &r);
106 void drawEllipse(
const QRectF &r);
122 QPainter::RenderHints supportedRenderHints()
const;
128 #ifndef QT_NO_FONTCONFIG 154 has_clipping =
false;
157 #ifndef QT_NO_XRENDER 167 void fillPolygon_translated(
const QPointF *points,
int pointCount,
GCMode gcMode,
169 void fillPolygon_dev(
const QPointF *points,
int pointCount,
GCMode gcMode,
172 void strokePolygon_dev(
const QPointF *points,
int pointCount,
bool close);
173 void strokePolygon_translated(
const QPointF *points,
int pointCount,
bool close);
174 void setupAdaptedOrigin(
const QPoint &p);
175 void resetAdaptedOrigin();
177 use_path_fallback = has_alpha_brush
186 || (has_alpha_brush && has_pen && !has_alpha_pen)
190 void systemStateChanged();
197 #if !defined (QT_NO_XRENDER) 239 #ifndef QT_NO_XRENDER 246 #endif // QPAINTENGINE_X11_P_H
The QPainter class performs low-level painting on widgets and other paint devices.
QPolygonClipper< qt_float_point, qt_float_point, float > polygonClipper
uint has_non_scaling_xform
#define QT_END_NAMESPACE
This macro expands to.
The QLine class provides a two-dimensional vector using integer precision.
The QPainterPath class provides a container for painting operations, enabling graphical shapes to be ...
The QPointF class defines a point in the plane using floating point precision.
Q_GUI_EXPORT GC qt_x11_get_brush_gc(QPainter *p)
Returns the X11 specific brush GC for the painter p.
#define Q_DISABLE_COPY(Class)
Disables the use of copy constructors and assignment operators for the given Class.
QTransform::TransformationType txop
The QPen class defines how a QPainter should draw lines and outlines of shapes.
Q_GUI_EXPORT GC qt_x11_get_pen_gc(QPainter *p)
Returns the X11 specific pen GC for the painter p.
The QLineF class provides a two-dimensional vector using floating point precision.
void drawPolygon(const QPoint *points, int pointCount, PolygonDrawMode mode)
Reimplement this virtual function to draw the polygon defined by the pointCount first points in point...
#define QT_BEGIN_NAMESPACE
This macro expands to.
The QRectF class defines a rectangle in the plane using floating point precision. ...
static void drawRects(const T *rects, int n, const QTransform &transform, IDirectFBSurface *surface)
QXRenderTessellator * tessellator
The QPolygonF class provides a vector of points using floating point precision.
The QImage class provides a hardware-independent image representation that allows direct access to th...
virtual void drawPolygon(const QPointF *points, int pointCount, PolygonDrawMode mode)
Reimplement this virtual function to draw the polygon defined by the pointCount first points in point...
The QRegion class specifies a clip region for a painter.
The QPaintEngine class provides an abstract definition of how QPainter draws to a given device on a g...
The QBrush class defines the fill pattern of shapes drawn by QPainter.
The QX11Info class provides information about the X display configuration.
#define Q_DECLARE_PUBLIC(Class)
The QFont class specifies a font used for drawing text.
Type type() const
Reimplement this function to return the paint engine Type.
The QPoint class defines a point in the plane using integer precision.
The QRect class defines a rectangle in the plane using integer precision.
static void drawPoints(const T *points, int n, const QTransform &transform, IDirectFBSurface *surface)
The QPixmap class is an off-screen image representation that can be used as a paint device...
uint adapted_brush_origin
void decidePathFallback()
The QPaintEngineState class provides information about the active paint engine's current state...
#define Q_DECLARE_PRIVATE(Class)
static void drawLines(const T *lines, int n, const QTransform &transform, IDirectFBSurface *surface)
The QTextItem class provides all the information required to draw text in a custom paint engine...
static const KeyPair *const end