PicCropperRGB32Impl Class Reference

#include <PicCropperRGB32Impl.h>

Inheritance diagram for PicCropperRGB32Impl:

PicCropperBase PicCropperBase

Detailed Description

An RGB32 implementation derived from the general PicCropperBase() class.

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)

Member Function Documentation

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.

Parameters:
pInImg : Packed RGB 8888 format input image.
pImg : Packed RGB 8888 format output image.
Returns:
: 0 = failed, 1 = success.

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.


The documentation for this class was generated from the following files:
Generated on Fri Mar 13 14:12:39 2009 for RTVC by  doxygen 1.5.3