#include <plfilterlightness.h>
Inheritance diagram for PLFilterLightness:
Public Member Functions | |
PLFilterLightness (int lightness) | |
virtual | ~PLFilterLightness () |
virtual void | Apply (PLBmp *pBmpSource, PLBmp *pBmpDest) const |
Applies the Filter to pBmpSource and stores the result in pBmpDest. | |
Protected Attributes | |
int | m_lightness |
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.
|
Definition at line 15 of file plfilterlightness.cpp. |
|
Definition at line 21 of file plfilterlightness.cpp. |
|
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. Definition at line 26 of file plfilterlightness.cpp. References PLBmp::Create(), PLBmp::GetBitsPerPixel(), PLBmp::GetHeight(), PLBmp::GetLineArray(), PLBmp::GetResolution(), PLBmp::GetWidth(), PLBmp::HasAlpha(), PLASSERT, and PLBYTE. |
Here is the call graph for this function:
|
Definition at line 38 of file plfilterlightness.h. |