#include <PicCropperBase.h>
The instantiation process must set the parameters and limits to the images such that the Crop() implementation only requires source image data pointers. The insertion method is pure virtual and must be implemented by derived classes.
Definition at line 40 of file Copy of Image/PicCropperBase.h.
Public Member Functions | |
PicCropperBase (void) | |
PicCropperBase (int widthOut, int heightOut, int widthIn, int heightIn, int left, int right, int top, int bottom) | |
virtual | ~PicCropperBase (void) |
virtual int | Crop (void *pInImg, void *pImg)=0 |
int | GetOutWidth (void) |
int | GetOutHeight (void) |
int | GetInWidth (void) |
int | GetInHeight (void) |
int | GetCropLeft (void) |
int | GetCropRight (void) |
int | GetCropBottom (void) |
int | GetCropTop (void) |
void | SetOutDimensions (int widthOut, int heightOut) |
void | SetInDimensions (int widthIn, int heightIn) |
void | SetCrop (int left, int right, int top, int bottom) |
PicCropperBase (void) | |
PicCropperBase (int widthOut, int heightOut, int widthIn, int heightIn, int left, int right, int top, int bottom) | |
virtual | ~PicCropperBase (void) |
virtual int | Crop (void *pInImg, void *pImg)=0 |
int | GetOutWidth (void) |
int | GetOutHeight (void) |
int | GetInWidth (void) |
int | GetInHeight (void) |
int | GetCropLeft (void) |
int | GetCropRight (void) |
int | GetCropBottom (void) |
int | GetCropTop (void) |
void | SetOutDimensions (int widthOut, int heightOut) |
void | SetInDimensions (int widthIn, int heightIn) |
void | SetCrop (int left, int right, int top, int bottom) |
Protected Attributes | |
int | _widthOut |
int | _heightOut |
Of cropped output image. | |
int | _widthIn |
int | _heightIn |
Of input image to crop. | |
int | _byX1 |
int | _byX2 |
Crop pels from the left. | |
int | _byY1 |
Crop pels from the right. | |
int | _byY2 |
Crop from the bottom. |