|
QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
|
A null paint device that does nothing. More...
#include <qwt_null_paintdevice.h>
Classes | |
| class | PaintEngine |
| class | PrivateData |
Public Types | |
| enum | Mode { NormalMode , PolygonPathMode , PathMode } |
| Render mode for the paint device. More... | |
Public Member Functions | |
| QwtNullPaintDevice () | |
| Constructor. | |
| virtual | ~QwtNullPaintDevice () |
| Destructor. | |
| void | setMode (Mode) |
| Set the render mode. | |
| Mode | mode () const |
| Get the render mode. | |
| virtual QPaintEngine * | paintEngine () const override |
| Return the paint engine. | |
| virtual int | metric (PaintDeviceMetric) const override |
| Return metric information for the paint device. | |
| virtual void | drawRects (const QRect *, int) |
| Draw rectangles (integer version) | |
| virtual void | drawRects (const QRectF *, int) |
| Draw rectangles (floating point version) | |
| virtual void | drawLines (const QLine *, int) |
| Draw lines (integer version) | |
| virtual void | drawLines (const QLineF *, int) |
| Draw lines (floating point version) | |
| virtual void | drawEllipse (const QRectF &) |
| Draw ellipse (floating point version) | |
| virtual void | drawEllipse (const QRect &) |
| Draw ellipse (integer version) | |
| virtual void | drawPath (const QPainterPath &) |
| Draw a painter path. | |
| virtual void | drawPoints (const QPointF *, int) |
| Draw points (floating point version) | |
| virtual void | drawPoints (const QPoint *, int) |
| Draw points (integer version) | |
| virtual void | drawPolygon (const QPointF *, int, QPaintEngine::PolygonDrawMode) |
| Draw polygon (floating point version) | |
| virtual void | drawPolygon (const QPoint *, int, QPaintEngine::PolygonDrawMode) |
| Draw polygon (integer version) | |
| virtual void | drawPixmap (const QRectF &, const QPixmap &, const QRectF &) |
| Draw a pixmap. | |
| virtual void | drawTextItem (const QPointF &, const QTextItem &) |
| Draw a text item. | |
| virtual void | drawTiledPixmap (const QRectF &, const QPixmap &, const QPointF &) |
| Draw a tiled pixmap. | |
| virtual void | drawImage (const QRectF &, const QImage &, const QRectF &, Qt::ImageConversionFlags) |
| Draw an image. | |
| virtual void | updateState (const QPaintEngineState &) |
| Update the paint engine state. | |
Protected Member Functions | |
| virtual QSize | sizeMetrics () const =0 |
A null paint device that does nothing.
| QwtNullPaintDevice::QwtNullPaintDevice | ( | ) |
Constructor.
Constructor .
|
virtual |
Destructor.
Destructor .
|
virtual |
Draw ellipse (integer version)
See QPaintEngine::drawEllipse()
|
virtual |
Draw ellipse (floating point version)
See QPaintEngine::drawEllipse()
|
virtual |
|
virtual |
Draw lines (integer version)
See QPaintEngine::drawLines()
|
virtual |
Draw lines (floating point version)
See QPaintEngine::drawLines()
|
virtual |
Draw a painter path.
See QPaintEngine::drawPath()
Reimplemented in QwtGraphic, and QwtStyleSheetRecorder.
|
virtual |
|
virtual |
Draw points (integer version)
See QPaintEngine::drawPoints()
|
virtual |
Draw points (floating point version)
See QPaintEngine::drawPoints()
|
virtual |
Draw polygon (integer version)
See QPaintEngine::drawPolygon()
|
virtual |
Draw polygon (floating point version)
See QPaintEngine::drawPolygon()
|
virtual |
Draw rectangles (integer version)
See QPaintEngine::drawRects()
Reimplemented in QwtStyleSheetRecorder.
|
virtual |
Draw rectangles (floating point version)
See QPaintEngine::drawRects()
Reimplemented in QwtStyleSheetRecorder.
|
virtual |
Draw a text item.
See QPaintEngine::drawTextItem()
|
virtual |
Draw a tiled pixmap.
See QPaintEngine::drawTiledPixmap()
|
overridevirtual |
Return metric information for the paint device.
| QwtNullPaintDevice::Mode QwtNullPaintDevice::mode | ( | ) | const |
Get the render mode.
|
overridevirtual |
Return the paint engine.
Return the paint engine for this device.
| void QwtNullPaintDevice::setMode | ( | Mode | mode | ) |
Set the render mode.
|
protectedpure virtual |
Implemented in QwtGraphic, and QwtStyleSheetRecorder.
|
virtual |
Update the paint engine state.
See QPaintEngine::updateState()
Reimplemented in QwtGraphic, and QwtStyleSheetRecorder.