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>

Inherits QwtColorFilter.

Inheritance diagram for QwtFltrGray

Inheritance graph
[legend]
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 at Thu Dec 14 00:27:16 2000 for Qwt User's Guide by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000