GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
QwtPlotSvgItem(3) Qwt User's Guide QwtPlotSvgItem(3)

QwtPlotSvgItem -

#include <qwt_plot_svgitem.h>
Inherits QwtPlotItem.


QwtPlotSvgItem (const QString &title=QString::null)
 
QwtPlotSvgItem (const QwtText &title)
 
virtual ~QwtPlotSvgItem ()
 
virtual QwtDoubleRect boundingRect () const
 
virtual void draw (QPainter *p, const QwtScaleMap &xMap, const QwtScaleMap &yMap, const QRect &rect) const
 
bool loadData (const QwtDoubleRect &, const QByteArray &)
 
bool loadFile (const QwtDoubleRect &, const QString &fileName)
 
virtual int rtti () const
 


void render (QPainter *painter, const QwtDoubleRect &viewBox, const QRect &rect) const
 
QwtDoubleRect viewBox (const QwtDoubleRect &area) const
 

A plot item, which displays data in Scalable Vector Graphics (SVG) format.
SVG images are often used to display maps

Constructor. Sets the following item attributes:
QwtPlotItem::AutoScale: true
QwtPlotItem::Legend: false
Parameters:
title Title

Constructor. Sets the following item attributes:
QwtPlotItem::AutoScale: true
QwtPlotItem::Legend: false
Parameters:
title Title

Draw the SVG item
Parameters:
painter Painter
 
xMap X-Scale Map
 
yMap Y-Scale Map
 
canvasRect Contents rect of the plot canvas
Implements QwtPlotItem.

Load SVG data
Parameters:
rect Bounding rectangle
 
data in SVG format
Returns:
true, if the SVG data could be loaded

Load a SVG file
Parameters:
rect Bounding rectangle
 
fileName SVG file name
Returns:
true, if the SVG file could be loaded

Render the SVG data
Parameters:
painter Painter
 
viewBox View Box, see QSvgRenderer::viewBox
 
rect Traget rectangle on the paint device

Returns:
QwtPlotItem::Rtti_PlotSVG
Reimplemented from QwtPlotItem.

Calculate the viewBox from an rect and boundingRect().
Parameters:
rect Rectangle in scale coordinates
Returns:
viewBox View Box, see QSvgRenderer::viewBox

Generated automatically by Doxygen for Qwt User's Guide from the source code.
Tue Nov 20 2012 Version 5.2.3

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.