- 博客(0)
- 资源 (2)
空空如也
wince 图片类
class Mov
{
public:
~Mov();
Mov();
private:
public:
HRESULT RotateImage(IImagingFactory *pImgFactory, IImage *pImage, IImage * &pImageOut;, LPBYTE &pImageBuf;, double angle);//png图片旋转,任意角度,注意释放pImageBuf
void RotateJpg(IImagingFactory * pImagingFactory,IImage *pImage, IImage * &pImageOut;,FLOAT m_RAngle);//JPG旋转 90,180,270
void StrtoIIm(LPCTSTR szImagePathIn,IImage * &pImageOut;);//文件路径转换为IImage接口
BOOL PlayDDB( CDC* pDC, LPCTSTR lpszBitmap);//CBitmap类型显示
BOOL ReShow(IImage *pImageIn, IImage * pImageOut,CRect rect,int i,CWnd* hwnd);//以滑动方式在主表面上更新,In为原图接口
BOOL ReShow(CString pImageIn, CString pImageOut,CRect rect,int sleep,CWnd* hwnd,IImage * BKImg);
private:
IImagingFactory *pIImgFactory;
public:
void RotateImageBuf(const BYTE* src, int srcWidth, int srcHeight, BYTE*& dst, int& dstWidth, int& dstHeight, double angle);//数据区变换,png格式
BOOL ReadDIB(CFile* pFile, LPBITMAPINFOHEADER* pLpBMIH, LPBYTE* pLpImage);//设备无关位图数据分离
BOOL DrawDc(CString pImageIn,HDC &dc;,CWnd* hwnd);
BOOL DrawDc(IImage *pImageIn,HDC &dc;,CWnd* hwnd);
};
2012-08-16
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人