conflicting packages
QwtPlotSvgItem(3) | Qwt User's Guide | QwtPlotSvgItem(3) |
NAME¶
QwtPlotSvgItem - A plot item, which displays data in Scalable Vector Graphics (SVG) format.SYNOPSIS¶
#include <qwt_plot_svgitem.h> Inherits QwtPlotItem.Public Member Functions¶
QwtPlotSvgItem (const QString &title=QString::null)
Protected Member Functions¶
const QSvgRenderer & renderer () const
Detailed Description¶
A plot item, which displays data in Scalable Vector Graphics (SVG) format.Constructor & Destructor Documentation¶
QwtPlotSvgItem::QwtPlotSvgItem (const QString &title = QString::null) [explicit]¶
Constructor. Sets the following item attributes:- •
- QwtPlotItem::AutoScale: true
- •
- QwtPlotItem::Legend: false
title Title
QwtPlotSvgItem::QwtPlotSvgItem (const QwtText &title) [explicit]¶
Constructor. Sets the following item attributes:- •
- QwtPlotItem::AutoScale: true
- •
- QwtPlotItem::Legend: false
title Title
QwtPlotSvgItem::~QwtPlotSvgItem () [virtual]¶
Destructor.Member Function Documentation¶
QRectF QwtPlotSvgItem::boundingRect () const [virtual]¶
Bounding rect of the item. Reimplemented from QwtPlotItem.void QwtPlotSvgItem::draw (QPainter *painter, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRectF &canvasRect) const [virtual] Draw the SVG item¶
Parameters:painter Painter
xMap X-Scale Map
yMap Y-Scale Map
canvasRect Contents rect of the plot canvas
bool QwtPlotSvgItem::loadData (const QRectF &rect, const QByteArray &data) Load SVG data¶
Parameters:rect Bounding rectangle
data in SVG format
Returns:
true, if the SVG data could be loaded
bool QwtPlotSvgItem::loadFile (const QRectF &rect, const QString &fileName) Load a SVG file¶
Parameters:rect Bounding rectangle
fileName SVG file name
Returns:
true, if the SVG file could be loaded
void QwtPlotSvgItem::render (QPainter *painter, const QRectF &viewBox, const QRectF &rect) const [protected] Render the SVG data¶
Parameters:painter Painter
viewBox View Box, see QSvgRenderer::viewBox
rect Traget rectangle on the paint device
QSvgRenderer & QwtPlotSvgItem::renderer () [protected] Returns:¶
Renderer used to render the SVG data
const QSvgRenderer & QwtPlotSvgItem::renderer () const [protected] Returns:¶
Renderer used to render the SVG data
int QwtPlotSvgItem::rtti () const [virtual] Returns:¶
QwtPlotItem::Rtti_PlotSVG
QRectF QwtPlotSvgItem::viewBox (const QRectF &rect) const [protected] Calculate the viewBox from an rect and boundingRect().¶
Parameters:rect Rectangle in scale
coordinates
Returns:
viewBox View Box, see
QSvgRenderer::viewBox
Author¶
Generated automatically by Doxygen for Qwt User's Guide from the source code.Fri Apr 15 2011 | Version 6.0.0 |