QtBase
v6.3.1
|
#include <qpaintengine_x11_p.h>
Protected Member Functions | |
QX11PaintEngine (QX11PaintEnginePrivate &dptr) | |
Protected Member Functions inherited from QPaintEngine | |
QPaintEngine (QPaintEnginePrivate &data, PaintEngineFeatures devcaps=PaintEngineFeatures()) | |
Friends | |
class | QPixmap |
class | QFontEngineBox |
GC | qt_x11_get_pen_gc (QPainter *) |
GC | qt_x11_get_brush_gc (QPainter *) |
Definition at line 58 of file qpaintengine_x11_p.h.
QX11PaintEngine::QX11PaintEngine | ( | ) |
Definition at line 636 of file qpaintengine_x11.cpp.
QX11PaintEngine::~QX11PaintEngine | ( | ) |
Definition at line 650 of file qpaintengine_x11.cpp.
|
protected |
Definition at line 643 of file qpaintengine_x11.cpp.
|
overridevirtual |
Reimplement this function to initialise your paint engine when painting is to start on the paint device pdev. Return true if the initialization was successful; otherwise return false.
Implements QPaintEngine.
Definition at line 658 of file qpaintengine_x11.cpp.
The default implementation of this function calls the floating point version of this function
Reimplemented from QPaintEngine.
Definition at line 1623 of file qpaintengine_x11.cpp.
Reimplement this function to draw the largest ellipse that can be contained within rectangle rect.
The default implementation calls drawPolygon().
Reimplemented from QPaintEngine.
Definition at line 1614 of file qpaintengine_x11.cpp.
|
overridevirtual |
Reimplement this function to draw the part of the image specified by the sr rectangle in the given rectangle using the given conversion flags flags, to convert it to a pixmap.
Reimplemented from QPaintEngine.
Definition at line 2054 of file qpaintengine_x11.cpp.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
The default implementation converts the first lineCount lines in lines to a QLineF and calls the floating point version of this function.
Reimplemented from QPaintEngine.
Definition at line 834 of file qpaintengine_x11.cpp.
The default implementation splits the list of lines in lines into lineCount separate calls to drawPath() or drawPolygon() depending on the feature set of the paint engine.
Reimplemented from QPaintEngine.
Definition at line 874 of file qpaintengine_x11.cpp.
|
overridevirtual |
The default implementation ignores the path and does nothing.
Reimplemented from QPaintEngine.
Definition at line 1939 of file qpaintengine_x11.cpp.
|
overridevirtual |
Reimplement this function to draw the part of the pm specified by the sr rectangle in the given r.
Implements QPaintEngine.
Definition at line 2076 of file qpaintengine_x11.cpp.
Draws the first pointCount points in the buffer points
The default implementation converts the first pointCount QPoints in points to QPointFs and calls the floating point version of drawPoints.
Reimplemented from QPaintEngine.
Definition at line 1112 of file qpaintengine_x11.cpp.
Draws the first pointCount points in the buffer points
Reimplemented from QPaintEngine.
Definition at line 1170 of file qpaintengine_x11.cpp.
|
inlineoverridevirtual |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Reimplement this virtual function to draw the polygon defined by the pointCount first points in points, using mode mode.
Reimplemented from QPaintEngine.
Definition at line 90 of file qpaintengine_x11_p.h.
|
overridevirtual |
Reimplement this virtual function to draw the polygon defined by the pointCount first points in points, using mode mode.
Reimplemented from QPaintEngine.
Definition at line 1880 of file qpaintengine_x11.cpp.
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
The default implementation converts the first rectCount rectangles in the buffer rects to a QRectF and calls the floating point version of this function.
Reimplemented from QPaintEngine.
Definition at line 985 of file qpaintengine_x11.cpp.
Draws the first rectCount rectangles in the buffer rects. The default implementation of this function calls drawPath() or drawPolygon() depending on the feature set of the paint engine.
Reimplemented from QPaintEngine.
Definition at line 928 of file qpaintengine_x11.cpp.
|
overridevirtual |
This function draws the text item textItem at position p. The default implementation of this function converts the text to a QPainterPath and paints the resulting path.
Reimplemented from QPaintEngine.
Definition at line 2425 of file qpaintengine_x11.cpp.
|
overridevirtual |
Reimplement this function to draw the pixmap in the given rect, starting at the given p. The pixmap will be drawn repeatedly until the rect is filled.
Reimplemented from QPaintEngine.
Definition at line 2278 of file qpaintengine_x11.cpp.
|
overridevirtual |
Reimplement this function to finish painting on the current paint device. Return true if painting was finished successfully; otherwise return false.
Implements QPaintEngine.
Definition at line 729 of file qpaintengine_x11.cpp.
|
virtual |
QPainter::RenderHints QX11PaintEngine::supportedRenderHints | ( | ) | const |
Definition at line 1229 of file qpaintengine_x11.cpp.
|
inlineoverridevirtual |
Reimplement this function to return the paint engine \l{Type}.
Implements QPaintEngine.
Definition at line 101 of file qpaintengine_x11_p.h.
Definition at line 1483 of file qpaintengine_x11.cpp.
void QX11PaintEngine::updateClipRegion_dev | ( | const QRegion & | region, |
Qt::ClipOperation | op | ||
) |
Definition at line 2223 of file qpaintengine_x11.cpp.
void QX11PaintEngine::updateMatrix | ( | const QTransform & | matrix | ) |
Definition at line 2206 of file qpaintengine_x11.cpp.
void QX11PaintEngine::updateRenderHints | ( | QPainter::RenderHints | hints | ) |
|
overridevirtual |
Reimplement this function to update the state of a paint engine.
When implemented, this function is responsible for checking the paint engine's current state and update the properties that are changed. Use the QPaintEngineState::state() function to find out which properties that must be updated, then use the corresponding \l {GetFunction}{get function} to retrieve the current values for the given properties.
Implements QPaintEngine.
Definition at line 1238 of file qpaintengine_x11.cpp.
|
friend |
Definition at line 114 of file qpaintengine_x11_p.h.
|
friend |
Definition at line 113 of file qpaintengine_x11_p.h.
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 307 of file qpaintengine_x11.cpp.
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 292 of file qpaintengine_x11.cpp.