Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

qwtalphacolormap(3) [debian man page]

QwtAlphaColorMap(3)						 Qwt User's Guide					       QwtAlphaColorMap(3)

NAME
QwtAlphaColorMap - QwtAlphaColorMap variies the alpha value of a color. SYNOPSIS
#include <qwt_color_map.h> Inherits QwtColorMap. Public Types enum Format { RGB, Indexed } Public Member Functions QColor color () const QColor color (const QwtDoubleInterval &, double value) const virtual QVector< QRgb > colorTable (const QwtDoubleInterval &) const virtual QwtColorMap * copy () const Format format () const QwtAlphaColorMap & operator= (const QwtAlphaColorMap &) QwtAlphaColorMap (const QColor &=QColor(Qt::gray)) QwtAlphaColorMap (const QwtAlphaColorMap &) virtual QRgb rgb (const QwtDoubleInterval &, double value) const void setColor (const QColor &) virtual ~QwtAlphaColorMap () Detailed Description QwtAlphaColorMap variies the alpha value of a color. Member Enumeration Documentation enum QwtColorMap::Format [inherited] .IP o 2 RGB The map is intended to map into QRgb values. o Indexed The map is intended to map into 8 bit values, that are indices into the color table. See also: rgb(), colorIndex(), colorTable() Constructor &; Destructor Documentation QwtAlphaColorMap::QwtAlphaColorMap (const QColor &color = QColor(Qt::gray)) Constructor Parameters: color Color of the map QwtAlphaColorMap::QwtAlphaColorMap (const QwtAlphaColorMap &other) Copy constructor Parameters: other Other color map QwtAlphaColorMap::~QwtAlphaColorMap () [virtual] Destructor. Member Function Documentation QColor QwtAlphaColorMap::color () const Returns: the color See also: setColor() QColor QwtColorMap::color (const QwtDoubleInterval &interval, doublevalue) const [inline, inherited] Map a value into a color Parameters: interval Valid interval for values value Value Returns: Color corresponding to value Warning: This method is slow for Indexed color maps. If it is necessary to map many values, its better to get the color table once and find the color using colorIndex(). QwtColorTable QwtColorMap::colorTable (const QwtDoubleInterval &interval) const [virtual, inherited] Build and return a color map of 256 colors The color table is needed for rendering indexed images in combination with using colorIndex(). Parameters: interval Range for the values Returns: A color table, that can be used for a QImage QwtColorMap * QwtAlphaColorMap::copy () const [virtual] Clone the color map. Implements QwtColorMap. QwtColorMap::Format QwtColorMap::format () const [inline, inherited] Returns: Intended format of the color map See also: Format QwtAlphaColorMap & QwtAlphaColorMap::operator= (const QwtAlphaColorMap &other) Assignment operator Parameters: other Other color map Returns: *this QRgb QwtAlphaColorMap::rgb (const QwtDoubleInterval &interval, doublevalue) const [virtual] Map a value of a given interval into a alpha value. alpha := (value - interval.minValue()) / interval.width(); Parameters: interval Range for all values value Value to map into a rgb value Returns: rgb value, with an alpha value Implements QwtColorMap. void QwtAlphaColorMap::setColor (const QColor &color) Set the color Parameters: color Color See also: color() Author Generated automatically by Doxygen for Qwt User's Guide from the source code. Version 5.2.2 Mon Aug 1 2011 QwtAlphaColorMap(3)

Check Out this Related Man Page

QwtPlotPrintFilter(3)						 Qwt User's Guide					     QwtPlotPrintFilter(3)

NAME
QwtPlotPrintFilter - A base class for plot print filters. SYNOPSIS
#include <qwt_plot_printfilter.h> Public Types 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 } Public Member Functions 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 QwtPlotPrintFilter () virtual void reset (QwtPlotItem *) const virtual void reset (QwtPlot *) const void setOptions (int options) virtual ~QwtPlotPrintFilter () Detailed Description 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. Member Enumeration Documentation enum QwtPlotPrintFilter::Item Print items. enum QwtPlotPrintFilter::Options Print options. Constructor &; Destructor Documentation QwtPlotPrintFilter::QwtPlotPrintFilter () [explicit] Sets filter options to PrintAll QwtPlotPrintFilter::~QwtPlotPrintFilter () [virtual] Destructor. Member Function Documentation void QwtPlotPrintFilter::apply (QwtPlot *plot) const [virtual] Change color and fonts of a plot See also: apply() QColor QwtPlotPrintFilter::color (const QColor &c, Itemitem) const [virtual] 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. QFont QwtPlotPrintFilter::font (const QFont &f, Itemitem) const [virtual] Modifies a font for printing. Parameters: f Font to be modified item Type of item where the font belongs All fonts are returned unmodified int QwtPlotPrintFilter::options () const Get plot print options. See also: setOptions() void QwtPlotPrintFilter::reset (QwtPlot *plot) const [virtual] Reset color and fonts of a plot See also: apply() void QwtPlotPrintFilter::setOptions (intoptions) Set plot print options. Parameters: options Or'd QwtPlotPrintFilter::Options values See also: options() Author Generated automatically by Doxygen for Qwt User's Guide from the source code. Version 5.2.2 Mon Aug 1 2011 QwtPlotPrintFilter(3)
Man Page