#include <PicScalerBase.h>
The instantiation process must set the parameters and limits to the images such that the Scale()implementation only requires source image data pointers. All memory new/delete must be handled outside of these objects. The scale method is pure virtual and must be implemented by derived classes.
Definition at line 40 of file Copy of Image/PicScalerBase.h.
Public Member Functions | |
PicScalerBase (void) | |
PicScalerBase (int widthOut, int heightOut, int widthIn, int heightIn) | |
virtual | ~PicScalerBase (void) |
virtual int | Scale (void *pOutImg, void *pInImg)=0 |
int | GetOutWidth (void) |
int | GetOutHeight (void) |
int | GetInWidth (void) |
int | GetInHeight (void) |
void | SetOutDimensions (int widthOut, int heightOut) |
void | SetInDimensions (int widthIn, int heightIn) |
PicScalerBase (void) | |
PicScalerBase (int widthOut, int heightOut, int widthIn, int heightIn) | |
virtual | ~PicScalerBase (void) |
virtual int | Scale (void *pOutImg, void *pInImg)=0 |
int | GetOutWidth (void) |
int | GetOutHeight (void) |
int | GetInWidth (void) |
int | GetInHeight (void) |
void | SetOutDimensions (int widthOut, int heightOut) |
void | SetInDimensions (int widthIn, int heightIn) |
Protected Attributes | |
int | _widthOut |
int | _heightOut |
Image dimensions to fit to. | |
int | _widthIn |
int | _heightIn |
Image dimensions to scale from. |