QwtNullPaintDevice(3) | Qwt User's Guide | QwtNullPaintDevice(3) |
QwtNullPaintDevice - A null paint device doing nothing.
#include <qwt_null_paintdevice.h>
Inherits QPaintDevice.
Inherited by QwtGraphic, and QwtStyleSheetRecorder.
enum Mode { NormalMode, PolygonPathMode,
PathMode }
Render mode.
QwtNullPaintDevice ()
Constructor. virtual ~QwtNullPaintDevice ()
Destructor. void setMode (Mode)
Mode mode () const
virtual QPaintEngine * paintEngine () const
See QPaintDevice::paintEngine() virtual int metric (PaintDeviceMetric)
const
virtual void drawRects (const QRect *, int)
See QPaintEngine::drawRects() virtual void drawRects (const QRectF *,
int)
See QPaintEngine::drawRects() virtual void drawLines (const QLine *,
int)
See QPaintEngine::drawLines() virtual void drawLines (const QLineF *,
int)
See QPaintEngine::drawLines() virtual void drawEllipse (const QRectF
&)
See QPaintEngine::drawEllipse() virtual void drawEllipse (const QRect
&)
See QPaintEngine::drawEllipse() virtual void drawPath (const
QPainterPath &)
See QPaintEngine::drawPath() virtual void drawPoints (const QPointF *,
int)
See QPaintEngine::drawPoints() virtual void drawPoints (const QPoint *,
int)
See QPaintEngine::drawPoints() virtual void drawPolygon (const QPointF
*, int, QPaintEngine::PolygonDrawMode)
See QPaintEngine::drawPolygon() virtual void drawPolygon (const QPoint
*, int, QPaintEngine::PolygonDrawMode)
See QPaintEngine::drawPolygon() virtual void drawPixmap (const QRectF
&, const QPixmap &, const QRectF &)
See QPaintEngine::drawPixmap() virtual void drawTextItem (const QPointF
&, const QTextItem &)
See QPaintEngine::drawTextItem() virtual void drawTiledPixmap (const
QRectF &, const QPixmap &, const QPointF &)
See QPaintEngine::drawTiledPixmap() virtual void drawImage (const
QRectF &, const QImage &, const QRectF &,
Qt::ImageConversionFlags)
See QPaintEngine::drawImage() virtual void updateState (const
QPaintEngineState &)
See QPaintEngine::updateState()
virtual QSize sizeMetrics () const =0
A null paint device doing nothing.
Sometimes important layout/rendering geometries are not available or changeable from the public Qt class interface. ( f.e hidden in the style implementation ).
QwtNullPaintDevice can be used to manipulate or filter out this information by analyzing the stream of paint primitives.
F.e. QwtNullPaintDevice is used by QwtPlotCanvas to identify styled backgrounds with rounded corners.
Render mode.
See also:
Enumerator
See QPaintDevice::metric()
Parameters:
Returns:
See also:
Returns:
See also:
Set the render mode
Parameters:
See also:
Returns:
Implemented in QwtGraphic.
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Wed Jan 2 2019 | Version 6.1.4 |