Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

QwtFltrGray Class Reference

Maps colors into a grayscale with optional inversion. More...

#include <qwt_clrfltr.h>

Inheritance diagram for QwtFltrGray::

QwtColorFilter List of all members.

Public Methods

 QwtFltrGray (bool inv=FALSE)
QColor operator() (const QColor &c) const

Detailed Description

Maps colors into a grayscale with optional inversion.


Constructor & Destructor Documentation

QwtFltrGray::QwtFltrGray bool    inv = FALSE
 

CTOR.

Parameters:
inv  Invert the result if TRUE


Member Function Documentation

QColor QwtFltrGray::operator() const QColor &    c const [virtual]
 

Filter function which changes a color to grayscale.

Parameters:
c  color to be modified

Reimplemented from QwtColorFilter.


The documentation for this class was generated from the following files:
Generated on Mon Oct 22 18:38:31 2001 for Qwt User's Guide by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001