Canvas of a QwtPolarPlot.
More...
#include <qwt_polar_canvas.h>
|
| virtual void | paintEvent (QPaintEvent *) QWT_OVERRIDE |
| | Paint event.
|
| |
| virtual void | resizeEvent (QResizeEvent *) QWT_OVERRIDE |
| | Resize event.
|
| |
Canvas of a QwtPolarPlot.
The canvas is the widget, where all polar items are painted to.
- Note
- In opposite to QwtPlot all axes are painted on the canvas.
- See also
- QwtPolarPlot
◆ PaintAttribute
Paint attributes.
The default setting enables BackingStore
- See also
- setPaintAttribute(), testPaintAttribute(), backingStore()
| Enumerator |
|---|
| BackingStore | Paint double buffered and reuse the content of the pixmap buffer for some spontaneous repaints that happen when a plot gets unhidden, deiconified or changes the focus.
|
◆ backingStore()
| const QPixmap * QwtPolarCanvas::backingStore |
( |
| ) |
const |
- Returns
- Backing store, might be null
◆ invTransform()
| QwtPointPolar QwtPolarCanvas::invTransform |
( |
const QPoint & |
pos | ) |
const |
Translate a point from widget into plot coordinates.
- Parameters
-
| pos | Point in widget coordinates of the plot canvas |
- Returns
- Point in plot coordinates
- See also
- transform()
◆ paintEvent()
| void QwtPolarCanvas::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protectedvirtual |
◆ plot() [1/2]
- Returns
- Parent plot widget
◆ plot() [2/2]
- Returns
- Parent plot widget
◆ resizeEvent()
| void QwtPolarCanvas::resizeEvent |
( |
QResizeEvent * |
event | ) |
|
|
protectedvirtual |
◆ setPaintAttribute()
| void QwtPolarCanvas::setPaintAttribute |
( |
PaintAttribute |
attribute, |
|
|
bool |
on = true |
|
) |
| |
Changing the paint attributes.
- Parameters
-
| attribute | Paint attribute |
| on | On/Off |
The default setting enables BackingStore
- See also
- testPaintAttribute(), paintCache()
◆ testPaintAttribute()
| bool QwtPolarCanvas::testPaintAttribute |
( |
PaintAttribute |
attribute | ) |
const |
Test whether a paint attribute is enabled.
- Parameters
-
- Returns
- true if the attribute is enabled
- See also
- setPaintAttribute()
◆ transform()
| QPoint QwtPolarCanvas::transform |
( |
const QwtPointPolar & |
polarPos | ) |
const |
Translate a point from plot into widget coordinates.
- Parameters
-
| polarPos | Point in plot coordinates |
- Returns
- Point in widget coordinates
- See also
- transform()
The documentation for this class was generated from the following files:
- /home/runner/work/QWT/QWT/src/qwt_polar_canvas.h
- /home/runner/work/QWT/QWT/src/qwt_polar_canvas.cpp