class CPalette; // a palette / HPALLETE wrapper class CRgn; // a region / HRGN wrapper class CDC; // a Display Context / HDC wrapper class CClientDC; // CDC for client of window class CWindowDC...
CPalette CRgn Stock Objects Splitter Windows The Different Kinds of Splitters Splitters and Performance Summary Chapter 7: Advanced User Interface Programming Caveat About CWnd System ...
相关推荐
class CPalette; // a palette / HPALLETE wrapper class CRgn; // a region / HRGN wrapper class CDC; // a Display Context / HDC wrapper class CClientDC; // CDC for client of window class CWindowDC...
CPalette hPalette; public: CDib(void); ~CDib(void); CString m_fileName; CString GetFileName(); BOOL IsValid(); DWORD GetSize(); UINT GetWidth(); UINT GetHeight(); UINT GetNumberOfColors(); ...
BOOL WINAPI PaintDIB (HDC, LPRECT, HDIB, LPRECT, CPalette* pPal); BOOL WINAPI CreateDIBPalette(HDIB hDIB, CPalette* cPal); LPSTR WINAPI FindDIBBits (LPSTR lpbi); DWORD WINAPI DIBWidth (LPSTR lpDIB); ...
BOOL ConstructPalette(HGLOBAL hglobal, CPalette * palette); // 取得位图数据的入口地址 LPSTR GetBits(LPSTR lpstr); // 取得位图的宽度 DWORD GetWidth(LPSTR lpstr); DWORD GetHeight(LPSTR lpstr); //...
CPalette HPALETTE 调色板颜色 CPen HPEN 画笔特性—画轮廓时所使用的线的粗细 CRgn HRGN 区域特性—包括定义它的点 表1 图形对象类和它们封装的句柄 使用CDC和图形对象类,在Windows里绘图还算是很简单的。观察...
CPalette afxwin.h CPen afxwin.h CPictureHolder afxctl.h CPoint atltypes.h CPrintDialog 通用打印对话框,提供Print和Print Setup对话框中的功能 afxdlgs.h CPrintInfo CProgressCtrl 通用进程指示器控件 ...
void QuantizeColor(LPBYTE lpbyDibBits24, int nScanWidth, int nScanHeight, LPBYTE lpbyDibBits8, CPalette* pPalette); //对颜色进行量化, 结果被保存在逻辑调色盘pPalette中, 同时将24位数据量化为8位数据, ...
CRgn类,CPalette类。 通常,我们都是使用GDI绘图对象类所创建的对象进行绘制各种图形的, 好象画家手里的画笔,而设备环境就是用什么样的画纸。 CPen 画笔是一种用来画线及绘制有形边框的工具,用户可以指定它的...
CPalette CRgn Stock Objects Splitter Windows The Different Kinds of Splitters Splitters and Performance Summary Chapter 7: Advanced User Interface Programming Caveat About CWnd System ...