#include <plfiltercrop.h>
Inheritance diagram for PLFilterCrop:
Public Member Functions | |
PLFilterCrop (int XMin, int YMin, int XMax, int YMax) | |
virtual | ~PLFilterCrop () |
virtual void | Apply (PLBmp *pBmpSource, PLBmp *pBmpDest) const |
Applies the Filter to pBmpSource and stores the result in pBmpDest. | |
Private Attributes | |
int | m_XMin |
int | m_XMax |
int | m_YMin |
int | m_YMax |
XMin and YMin are included in the rectangle, XMax and YMax aren't.
Definition at line 24 of file plfiltercrop.h.
|
Definition at line 16 of file plfiltercrop.cpp. |
|
Definition at line 25 of file plfiltercrop.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 30 of file plfiltercrop.cpp. References PLBmp::Create(), PLBmp::GetBitsPerPixel(), PLBmp::GetLineArray(), PLBmp::GetPalette(), PLBmp::GetResolution(), PLBmp::HasAlpha(), m_XMax, m_XMin, m_YMax, m_YMin, PLASSERT, PLBYTE, and PLBmp::SetPalette(). |
Here is the call graph for this function:
|
Definition at line 39 of file plfiltercrop.h. Referenced by Apply(). |
|
Definition at line 38 of file plfiltercrop.h. Referenced by Apply(). |
|
Definition at line 41 of file plfiltercrop.h. Referenced by Apply(). |
|
Definition at line 40 of file plfiltercrop.h. Referenced by Apply(). |