util_gdi.h

来自「一个功能强大的串行口监视和检测程序的源代码。」· C头文件 代码 · 共 31 行

H
31
字号

// util_gdi.h

#ifndef _INC_UTIL_GDI_
#define _INC_UTIL_GDI_


typedef struct tag3DPens
{
   CPen *pPenBlack;
   CPen *pPenDarkGray;
   CPen *pPenWhite;
   CPen *pPenGray;

   tag3DPens();
   ~tag3DPens();

} _3DPENS, *LP3DPENS;
   


int GfxDraw3DBorder(CDC *pDC, LP3DPENS p3DPens, 
                     CRect rectBorder, BOOL bInside=TRUE);
void GfxDrawBorder(CDC *pDC, CRect rectBorder, CPen *pPen=NULL); 
void GfxDrawBorder(CDC *pDC, CRect rectBorder, 
                  COLORREF clFill, CPen *pPen=NULL);



#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?