#include <PicCropperRGB32Impl.h>
Crop a packed RGB32 image into another packed RGB32 image.
Definition at line 37 of file Copy of Image/PicCropperRGB32Impl.h.
Public Member Functions | |
PicCropperRGB32Impl (void) | |
PicCropperRGB32Impl (int widthOut, int heightOut, int widthIn, int heightIn, int left, int right, int top, int bottom) | |
virtual | ~PicCropperRGB32Impl (void) |
int | Crop (void *pInImg, void *pImg) |
Crop the input image into the output image. | |
PicCropperRGB32Impl (void) | |
PicCropperRGB32Impl (int widthOut, int heightOut, int widthIn, int heightIn, int left, int right, int top, int bottom) | |
virtual | ~PicCropperRGB32Impl (void) |
int | Crop (void *pInImg, void *pImg) |
int PicCropperRGB32Impl::Crop | ( | void * | pInImg, | |
void * | pImg | |||
) | [virtual] |
Crop the input image into the output image.
Crop the input image by {_byX1, _byX2, _byY1, _byY2} from the {left, right, bottom, top} and write it into the output image. Memory management is the responsibility of the calling process. Very little checking is done to prevent memory overwriting.
pInImg | : Packed RGB 8888 format input image. | |
pImg | : Packed RGB 8888 format output image. |
Check the cropping to ensure it will fit and not overlap.
Align src and dst pointers. Src pointer is offset into the input image.
Whole row at a time.
Next row.
Implements PicCropperBase.
Definition at line 51 of file Copy of Image/PicCropperRGB32Impl.cpp.