- 博客(0)
- 资源 (9)
- 收藏
- 关注
一个免费的C++ Bitmap 操作类
这是一个用于C++ MFC开发的Bitmap图片操作类,在文件中叫CBitmapEx,可用于放大,缩小,翻转,过渡和其他有用的功能,有兴趣的朋友可以下载看看。
部分public method:
//
// void Create(long width, long height);
// void Create(CBitmapEx& bitmapEx);
// void Load(LPTSTR lpszBitmapFile);
// void Save(LPTSTR lpszBitmapFile);
// void Scale(long horizontalPercent=100, long verticalPercent=100);
// void Rotate(long degrees=0, _PIXEL bgColor=_RGB(0,0,0));
// void FlipHorizontal();
// void FlipVertical();
// void MirrorLeft();
// void MirrorRight();
// void MirrorTop();
// void MirrorBottom();
// void Clear(_PIXEL clearColor=_RGB(0,0,0));
// void Negative();
// void Grayscale();
// void Sepia(long depth=34);
// void Emboss();
// void Engrave();
// void Pixelize(long size=4);
// void Draw(HDC hDC);
// void Draw(long dstX, long dstY, long width, long height,
// CBitmapEx& bitmapEx, long srcX, long srcY);
// void Draw(long dstX, long dstY, long width, long height,
// CBitmapEx& bitmapEx, long srcX, long srcY, long alpha);
// void Draw(long dstX, long dstY, long dstWidth, long dstHeight,
// CBitmapEx& bitmapEx, long srcX, long srcY, long srcWidth, long srcHeight);
// void Draw(long dstX, long dstY, long dstWidth, long dstHeight, CBitmapEx& bitmapEx,
// long srcX, long srcY, long srcWidth, long srcHeight, long alpha);
// void DrawTransparent(long dstX, long dstY, long width, long height,
// CBitmapEx& bitmapEx, long srcX, long srcY, _PIXEL transparentColor=_RGB(0,0,0));
// void DrawTransparent(long dstX, long dstY, long width, long height,
// CBitmapEx& bitmapEx, long srcX, long srcY, long alpha,
// _PIXEL transparentColor=_RGB(0,0,0));
// void DrawTransparent(long dstX, long dstY, long dstWidth, long dstHeight,
// CBitmapEx& bitmapEx, long srcX, long srcY, long srcWidth, long srcHeight,
// _PIXEL transparentColor=_RGB(0,0,0));
// void DrawTransparent(long dstX, long dstY, long dstWidth, long dstHeight,
// CBitmapEx& bitmapEx, long srcX, long srcY, long srcWidth, long srcHeight,
// long alpha, _PIXEL transparentColor=_RGB(0,0,0));
// LPBI
2008-09-06
两个CADODatabse class and the CADORecordset class,这是为了在C++中更好地进行ADO数据库操作,同时带有示例程序
两个CADODatabse class and the CADORecordset class,这是为了在C++中更好地进行ADO数据库操作
主要的类及其函数罗列如下:
The CADODatabase Class
CADODatabase
Open
Execute
GetRecordsAffected
GetActiveConnection
GetRecordCount
BeginTransaction
CommitTransaction
RollbackTransaction
IsOpen
Close
SetConnectionString
GetConnectionString
SetConnectionMode
GetLastError
GetLastErrorString
The CADORecordset Class
CADORecordset
Open
Execute
GetQuery
SetQuery
RecordBinding
GetRecordCount
IsOpen
Close
GetFieldCount
GetFieldValue
IsFieldNull
IsFieldEmpty
IsEof
IsBof
Move
AbsolutePage
GetPageCount
PageSize
AbsolutePosition
GetFieldInfo
GetChunk
AppendChunk
GetString
GetLastError
GetLastErrorString
AddNew
Edit
Delete
Update
CancelUpdate
SetFieldValue
Find
FindFirst
FindNext
GetBookmark
SetBookmark
SetFilter
SetSort
GetRecordset
GetActiveConnection
Clone
SaveAsXML
OpenXML
OpenSchema
Requery
The CADOParameter Class
CADOParameter
SetPrecision
SetScale
SetValue
GetValue
SetName
GetName
GetType
GetParameter
The CADOCommand Class
CADOCommand
AddParameter
SetText
GetText
SetType
GetType
GetCommand
Execute
GetRecordsAffected
The CJectEngine Class
CompactDatabase
The CADOException Class
CADOException
GetErrorMessage
GetError
SetError
COLEDBDataLink
COLEDBDataLink
New
Edit
COLEDBException
GetErrorMessage
GetError
SetError
Common Questions
2008-09-19
敏捷开发的必要技巧Essential skills for agile development
敏捷开发的必要技巧Essential skills for agile development
2008-09-06
Addison.Wesley.C.Sharp.Programming.Language.The.chm
Addison.Wesley.C.Sharp.Programming.Language.The.chm
2008-09-03
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅