Location:
Search - int wchar
Search list
Description: vc中常用数据格式转换,如wchar_t,char*,CString,int等。-vc commonly used data format conversion, such as wchar_t, char*, CString, int, etc..
Platform: |
Size: 1024 |
Author: zhang lz |
Hits:
Description: 项目中用的一个图像处理类 CCooImage,支持以下方法:
BOOL CompareWithBMPFile(LPCTSTR file)
void SetImage(Image* pImage)
BOOL IsCreated()
BOOL SetImage (LPCTSTR strImageFile)
INT GetHeight()
INT GetWidth()
static void DrawTransparentBitmap(HDC hdc, HBITMAP hBitmap, short xStart, short yStart, COLORREF cTransparentColor)
static int GetEncoderClsid(const WCHAR* format, CLSID* pClsid)
static BOOL SaveTargetToBMPFile(LPCTSTR szFile, HDC hDC)
BOOL SaveToBMPFile(LPCTSTR szFile)
void TileImage (CRect& rect, UINT nAlphaBlend=100, CDC *drawDC=NULL)
void StretchImage(int actualWidth, int actualHeight,UINT nAlphaBlend=100, CDC *drawDC=NULL)
void ShowImage(INT x=0, INT y=0, UINT nAlphaBlend=100, CDC *drawDC=NULL) -A image process class, have below methods:
BOOL CompareWithBMPFile(LPCTSTR file)
void SetImage(Image* pImage)
BOOL IsCreated()
BOOL SetImage (LPCTSTR strImageFile)
INT GetHeight()
INT GetWidth()
static void DrawTransparentBitmap(HDC hdc, HBITMAP hBitmap, short xStart, short yStart, COLORREF cTransparentColor)
static int GetEncoderClsid(const WCHAR* format, CLSID* pClsid)
static BOOL SaveTargetToBMPFile(LPCTSTR szFile, HDC hDC)
BOOL SaveToBMPFile(LPCTSTR szFile)
void TileImage (CRect& rect, UINT nAlphaBlend=100, CDC*drawDC=NULL)
void StretchImage(int actualWidth, int actualHeight,UINT nAlphaBlend=100, CDC*drawDC=NULL)
void ShowImage(INT x=0, INT y=0, UINT nAlphaBlend=100, CDC*drawDC=NULL)
Platform: |
Size: 5120 |
Author: Jack |
Hits: