大家帮忙看看下面一些图像处理函数,是VC++.NET中自带的函数,还是要自己编写函数实现之后才能用????
如题,下面那些函数是系统已经定义好,我们可以直接拿来用的,还是要我们自己编写的????
void GetImageParament(CImage *pImg,struct IMAGEPARAMENT *ppImgParam);
int InImage(CImage *pImg,int x,int y);
DWORD GetPixelValue(CImage *pImg,int x,int y);
void SetPixelValue(CImage *pImg,int x,int y,DWORD c);
void GetRectValue(CImage *pImg,int x,int y,int Dx,int Dy,BYTE *buf);
void SetRectValue(CImage *pImg,int x,int y,int Dx,int Dy,BYTE *buf);
void GetPalette(CImage *pImg,int n,int *pr,int *pg,int *pb);
void SetPalette(CImage *pImg,int n,int r,int g,int b);
void GetAllPalette(CImage *pImg,RGBQUAD *ColorTab);
void SetAllPalette(CImage *pImg,RGBQUAD *ColorTab);
void RectFillValue(CImage *pImg,int x,int y,int Dx,int Dy,DWORD color);
void DrawBox(CImage *pImg,int x,int y,int Dx,int Dy,int w,DWORD c);
SetDefaultPalette(CImage *pImg);
int PaletteType(RGBQUAD *ColorTab);
int ImageType(CImage *pImgm);
void ImageCopy(CImage *pImgn,CImage *pImgm);