Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members

PLFilterLightness Class Reference

#include <plfilterlightness.h>

Inheritance diagram for PLFilterLightness:

PLFilter List of all members.

Public Member Functions

 PLFilterLightness (int lightness)
virtual void Apply (PLBmp *pBmpSource, PLBmp *pBmpDest) const

Protected Attributes

int m_lightness

Detailed Description

Filter that changes the lightness of a 32 bpp bitmap. lightness values must be in the range -100..100. A value of 0 leaves the image unchanged.

Definition at line 25 of file plfilterlightness.h.

Member Function Documentation

virtual void PLFilterLightness::Apply PLBmp pBmpSource,
PLBmp pBmpDest
const [virtual]

Applies the Filter to pBmpSource and stores the result in pBmpDest. The base-class version copies the bitmap before calling ApplyInPlace (pBmpDest).

Reimplemented from PLFilter.

The documentation for this class was generated from the following file:
Generated on Sun Jun 6 13:42:23 2004 for paintlib by doxygen 1.3.2