class IuImageEx : public IuUnknown
{
public:
virtual BOOL Create( int nWidth, int nHeight, int nBPP = 16) = 0;
virtual BYTE* Data(void) = 0;
virtual UINT Height() = 0;
virtual void Height(UINT nHeight) = 0;
virtual UINT Width() = 0;
virtual void Width(UINT nWidth) = 0;
virtual UINT BitCount() = 0;
virtual void BitCount(UINT nBitCount) = 0;
virtual COLORREF GetPixel( int x, int y) = 0;
};
圖型編碼太多種, 但實際使用時, 也只有用到部份函式, 整個拉出介面時, 才發現用到的不多!
2010年2月5日 星期五
IuImageEx
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言