QWT API (English) 7.0.1
Qt Widget Library for Technical Applications - English API Documentation
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
QwtPolarRenderer Class Reference

Renderer for exporting a polar plot to a document, a printer or anything else, that is supported by QPainter/QPaintDevice . More...

#include <qwt_polar_renderer.h>

Inheritance diagram for QwtPolarRenderer:

Classes

class  PrivateData
 

Public Member Functions

 QwtPolarRenderer (QObject *parent=nullptr)
 Constructor.
 
virtual ~QwtPolarRenderer ()
 Destructor.
 
void renderDocument (QwtPolarPlot *, const QString &format, const QSizeF &sizeMM, int resolution=85)
 Render a polar plot to a document.
 
void renderDocument (QwtPolarPlot *, const QString &title, const QString &format, const QSizeF &sizeMM, int resolution=85)
 Render a polar plot to a document with title.
 
void renderTo (QwtPolarPlot *, QPrinter &) const
 Render a polar plot to a printer.
 
void renderTo (QwtPolarPlot *, QPaintDevice &) const
 Render a polar plot to a paint device.
 
virtual void render (QwtPolarPlot *, QPainter *, const QRectF &rect) const
 Render a polar plot to a painter.
 
bool exportTo (QwtPolarPlot *, const QString &documentName, const QSizeF &sizeMM=QSizeF(200, 200), int resolution=85)
 Export a polar plot to a document.
 
virtual void renderTitle (QPainter *, const QRectF &) const
 Render the title.
 
virtual void renderLegend (const QwtPolarPlot *, QPainter *, const QRectF &) const
 Render the legend.
 

Detailed Description

Renderer for exporting a polar plot to a document, a printer or anything else, that is supported by QPainter/QPaintDevice

.

Constructor & Destructor Documentation

◆ QwtPolarRenderer()

QwtPolarRenderer::QwtPolarRenderer ( QObject *  parent = nullptr)
explicit

Constructor.

◆ ~QwtPolarRenderer()

QwtPolarRenderer::~QwtPolarRenderer ( )
virtual

Destructor.

Destructor

.

Member Function Documentation

◆ exportTo()

bool QwtPolarRenderer::exportTo ( QwtPolarPlot plot,
const QString &  documentName,
const QSizeF &  sizeMM = QSizeF( 200, 200 ),
int  resolution = 85 
)

Export a polar plot to a document.

Execute a file dialog and render the plot to the selected file.

◆ render()

void QwtPolarRenderer::render ( QwtPolarPlot plot,
QPainter *  painter,
const QRectF &  plotRect 
) const
virtual

Render a polar plot to a painter.

Render the plot to a given rectangle.

◆ renderDocument() [1/2]

void QwtPolarRenderer::renderDocument ( QwtPolarPlot plot,
const QString &  fileName,
const QSizeF &  sizeMM,
int  resolution = 85 
)

Render a polar plot to a document.

Render a polar plot to a file.

◆ renderDocument() [2/2]

void QwtPolarRenderer::renderDocument ( QwtPolarPlot plot,
const QString &  fileName,
const QString &  format,
const QSizeF &  sizeMM,
int  resolution = 85 
)

Render a polar plot to a document with title.

Render a plot to a file with specified format.

◆ renderLegend()

void QwtPolarRenderer::renderLegend ( const QwtPolarPlot plot,
QPainter *  painter,
const QRectF &  rect 
) const
virtual

Render the legend.

Render the legend into a given rectangle.

◆ renderTitle()

void QwtPolarRenderer::renderTitle ( QPainter *  painter,
const QRectF &  rect 
) const
virtual

Render the title.

Render the title into a given rectangle.

◆ renderTo() [1/2]

void QwtPolarRenderer::renderTo ( QwtPolarPlot plot,
QPaintDevice &  paintDevice 
) const

Render a polar plot to a paint device.

Render the plot to a QPaintDevice.

◆ renderTo() [2/2]

void QwtPolarRenderer::renderTo ( QwtPolarPlot plot,
QPrinter &  printer 
) const

Render a polar plot to a printer.

Render the plot to a QPrinter.


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