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
QwtPlotPrintFilter(3) Qwt User's Guide QwtPlotPrintFilter(3)

QwtPlotPrintFilter -

#include <qwt_plot_printfilter.h>


enum Item { Title, Legend, Curve, CurveSymbol, Marker, MarkerSymbol, MajorGrid, MinorGrid, CanvasBackground, AxisScale, AxisTitle, WidgetBackground }
 
enum Options { PrintMargin = 1, PrintTitle = 2, PrintLegend = 4, PrintGrid = 8, PrintBackground = 16, PrintFrameWithScales = 32, PrintAll = ~PrintFrameWithScales }
 


QwtPlotPrintFilter ()
 
virtual ~QwtPlotPrintFilter ()
 
virtual void apply (QwtPlot *) const
 
virtual void apply (QwtPlotItem *) const
 
virtual QColor color (const QColor &, Item item) const
 
virtual QFont font (const QFont &, Item item) const
 
int options () const
 
virtual void reset (QwtPlot *) const
 
virtual void reset (QwtPlotItem *) const
 
void setOptions (int options)
 

A base class for plot print filters.
A print filter can be used to customize QwtPlot::print().
Deprecated
In Qwt 5.0 the design of QwtPlot allows/recommends writing individual QwtPlotItems, that are not known to QwtPlotPrintFilter. So this concept is outdated and QwtPlotPrintFilter will be removed/replaced in Qwt 6.x.

Sets filter options to PrintAll

Change color and fonts of a plot
See also:
apply()

Modifies a color for printing. Parameters:
c Color to be modified
 
item Type of item where the color belongs
Returns:
Modified color.
In case of !( QwtPlotPrintFilter::options() & PrintBackground) MajorGrid is modified to Qt::darkGray, MinorGrid to Qt::gray. All other colors are returned unmodified.

Modifies a font for printing. Parameters:
f Font to be modified
 
item Type of item where the font belongs
All fonts are returned unmodified

Get plot print options. See also:
setOptions()

Reset color and fonts of a plot
See also:
apply()

Set plot print options. Parameters:
options Or'd QwtPlotPrintFilter::Options values
See also:
options()

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.