

SVG images are often used to display maps
Definition at line 31 of file qwt_plot_svgitem.h.
Public Member Functions | |
| QwtPlotSvgItem (const QString &title=QString::null) | |
| QwtPlotSvgItem (const QwtText &title) | |
| virtual | ~QwtPlotSvgItem () |
| bool | loadFile (const QwtDoubleRect &, const QString &fileName) |
| bool | loadData (const QwtDoubleRect &, const QByteArray &) |
| virtual QwtDoubleRect | boundingRect () const |
| virtual void | draw (QPainter *p, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRect &rect) const |
| virtual int | rtti () const |
Protected Member Functions | |
| void | render (QPainter *painter, const QwtDoubleRect &viewBox, const QRect &rect) const |
| QwtDoubleRect | viewBox (const QwtDoubleRect &area) const |
|
|
Constructor. Sets the following item attributes:
Definition at line 51 of file qwt_plot_svgitem.cpp. |
|
|
Constructor. Sets the following item attributes:
Definition at line 66 of file qwt_plot_svgitem.cpp. |
|
|
Destructor.
Definition at line 73 of file qwt_plot_svgitem.cpp. |
|
|
Bounding rect of the item.
Reimplemented from QwtPlotItem. Definition at line 142 of file qwt_plot_svgitem.cpp. |
|
||||||||||||||||||||
|
Draw the SVG item
Implements QwtPlotItem. Definition at line 170 of file qwt_plot_svgitem.cpp. References boundingRect(), QwtPlotItem::invTransform(), render(), QwtPlotItem::transform(), and viewBox(). |
|
||||||||||||
|
Load SVG data
Definition at line 123 of file qwt_plot_svgitem.cpp. References QwtPlotItem::itemChanged(). |
|
||||||||||||
|
Load a SVG file
Definition at line 102 of file qwt_plot_svgitem.cpp. References QwtPlotItem::itemChanged(). |
|
||||||||||||||||
|
Render the SVG data
Definition at line 194 of file qwt_plot_svgitem.cpp. Referenced by draw(). |
|
|
Reimplemented from QwtPlotItem. Definition at line 89 of file qwt_plot_svgitem.cpp. |
|
|
Calculate the viewBox from an rect and boundingRect().
Definition at line 254 of file qwt_plot_svgitem.cpp. References boundingRect(), QwtScaleMap::setPaintInterval(), QwtScaleMap::setScaleInterval(), and QwtScaleMap::xTransform(). Referenced by draw(). |
1.4.6