⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tkwingdi.h

📁 linux系统下的音频通信
💻 H
📖 第 1 页 / 共 2 页
字号:
        CreateDIBitmap(hdc,lpbmih,fdwInit,lpbInit,lpbmi,fuUsage)#define CkCreateBitmap(nWidth,nHeight,cPlanes,cBitsPerPel,lpvBits)\        CreateBitmap(nWidth,nHeight,cPlanes,cBitsPerPel,lpvBits)#define CkCreateCompatibleBitmap(hdc,nWidth,nHeight) \        CreateCompatibleBitmap(hdc,nWidth,nHeight)#define CkLoadBitmap(hinst,lpszBitmap) \        LoadBitmap(hinst,lpszBitmap)#define CkCreateRectRgn(nLeftRect,nTopRect,nRightRect,nBottomRect)\        CreateRectRgn(nLeftRect,nTopRect,nRightRect,nBottomRect)#define CkCreateFontIndirect(lplogfont) CreateFontIndirect(lplogfont)#define CkCreatePalette(lplogpal) CreatePalette(lplogpal)#define CkGetStockObject(stockobj) GetStockObject(stockobj)#endif /*PROFILE_INFO*/HDC CkGraph_GetDC(HWND hwnd);int CkGraph_ReleaseDC(HWND hwnd,HDC hdc);HDC CkGraph_CreateCompatibleDC(HDC hdc);HDC CkGraph_CreateDC(LPCTSTR lpszDriver,LPCTSTR lpszDevice,LPCTSTR lpszOutput,                     CONST DEVMODE* lpInitData);int CkGraph_DeleteDC(HDC hdc);HDC CkGraph_BeginPaint(HWND hwnd,LPPAINTSTRUCT lpps);BOOL     CkGraph_EndPaint(HWND hwnd, PAINTSTRUCT* lpPaint);HGDIOBJ  CkGraph_SelectObject(HDC hdc,HGDIOBJ hobj_in);HBRUSH   CkGraph_SelectBrush(HDC hdc,HBRUSH hobj_in);HPEN     CkGraph_SelectPen(HDC hdc,HPEN hobj_in);HFONT    CkGraph_SelectFont(HDC hdc,HFONT hobj_in);HBITMAP  CkGraph_SelectBitmap(HDC hdc,HBITMAP hobj_in);void     CkGraph_CheckOutBitmap(HBITMAP hobj_in);int CkGraph_SelectClipRgn(HDC hdc,HRGN hrgn);int CkGraph_OffsetClipRgn(HDC hdc,int xoff,int yoff);HPALETTE CkGraph_SelectPalette(HDC hdc,HPALETTE hobj_in,BOOL f);UINT CkGraph_RealizePalette(HDC hdc);UINT CkGraph_SetPaletteEntries(HPALETTE hPal,UINT iStart,UINT cEntries ,               CONST PALETTEENTRY* lppe);UINT CkGraph_ResizePalette(HPALETTE hPal,UINT nEntries);int CkGraph_SetROP2(HDC hdc,int fnDrawMode);int CkGraph_SetBkMode(HDC hdc,int iBkMode);COLORREF CkGraph_SetColor(HDC hdc,COLORREF color,int bk);int CkGraph_SetPolyFillMode(HDC hdc, int iMode);int CkGraph_DeleteObject(HGDIOBJ hobj);int CkGraph_DeleteBrush(HBRUSH hobj);int CkGraph_DeletePen(HPEN hobj);int CkGraph_DeleteFont(HFONT hobj);int CkGraph_DeleteBitmap(HBITMAP hobj);int CkGraph_DeletePalette(HPALETTE hobj);#define CkGetDC(hwnd) CkGraph_GetDC(hwnd)#define CkReleaseDC(hwnd,hdc) CkGraph_ReleaseDC(hwnd,hdc)#define CkCreateCompatibleDC(hdc) CkGraph_CreateCompatibleDC(hdc)#define CkCreateDC(lpszDriver,lpszDevice,lpszOutput,lpInitData)\        CkGraph_CreateDC(lpszDriver,lpszDevice,lpszOutput,lpInitData)#define CkDeleteDC(hdc) CkGraph_DeleteDC(hdc)#define CkBeginPaint(hwnd,lpps) CkGraph_BeginPaint(hwnd,lpps)#define CkEndPaint(hwnd,lpPaint) CkGraph_EndPaint(hwnd,lpPaint)#define CkSelectObject(hdc,hobj_in) CkGraph_SelectObject(hdc,hobj_in)#define CkSelectBitmap(hdc,hobj_in) CkGraph_SelectBitmap(hdc,hobj_in)#define CkCheckOutBitmap(hobj_in)  CkGraph_CheckOutBitmap(hobj_in)#define CkSelectBrush(hdc,hobj_in) CkGraph_SelectBrush(hdc,hobj_in)#define CkSelectPen(hdc,hobj_in) CkGraph_SelectPen(hdc,hobj_in)#define CkSelectFont(hdc,hobj_in) CkGraph_SelectFont(hdc,hobj_in)#define CkSelectClipRgn(hdc,hrgn) CkGraph_SelectClipRgn(hdc,hrgn)#define CkOffsetClipRgn(hdc,xoff,yoff) CkGraph_OffsetClipRgn(hdc,xoff,yoff)#define CkSelectPalette(hdc,hobj_in,f) CkGraph_SelectPalette(hdc,hobj_in,f)#define CkRealizePalette(hdc) CkGraph_RealizePalette(hdc)#define CkSetPaletteEntries(hPal,iStart,cEntries,lppe)\   CkGraph_SetPaletteEntries(hPal,iStart,cEntries,lppe)#define CkResizePalette(hPal,nEntries) CkGraph_ResizePalette(hPal,nEntries)#define CkSetROP2(hdc,rop) CkGraph_SetROP2(hdc,rop)#define CkSetBkMode(hdc,bkmode) CkGraph_SetBkMode(hdc,bkmode)#define CkSetBkColor(hdc,bkcolor)    CkGraph_SetColor(hdc,bkcolor,1)#define CkSetTextColor(hdc,txtcolor) CkGraph_SetColor(hdc,txtcolor,0)#define CkSetPolyFillMode(hdc,iMode) CkGraph_SetPolyFillMode(hdc,iMode)#define CkDeleteObject(hobj) CkGraph_DeleteObject(hobj)#define CkDeleteBrush(hobj) CkGraph_DeleteBrush(hobj)#define CkDeletePen(hobj) CkGraph_DeletePen(hobj)#define CkDeleteFont(hobj) CkGraph_DeleteFont(hobj)#define CkDeleteBitmap(hobj) CkGraph_DeleteBitmap(hobj)#define CkDeletePalette(hobj) CkGraph_DeletePalette(hobj)#endif /*CKGRAPH_DEBUG*/#else /*!CKGRAPH_IMP*/#define CkCreatePen(fnPenStyle,nWidth,crColor) \        CreatePen(fnPenStyle,nWidth,crColor)#define CkExtCreatePen(dwPenStyle,dwWidth,lplb,dwStyleCount,lpStyle) \        ExtCreatePen(dwPenStyle,dwWidth,lplb,dwStyleCount,lpStyle)#define CkCreateSolidBrush(crColor) CreateSolidBrush(crColor)#define CkCreatePatternBrush(bitmap) CreatePatternBrush(bitmap)#define CkCreateDIBitmap(hdc,lpbmih,fdwInit,lpbInit,lpbmi,fuUsage) \        CreateDIBitmap(hdc,lpbmih,fdwInit,lpbInit,lpbmi,fuUsage)#define CkCreateBitmap(nWidth,nHeight,cPlanes,cBitsPerPel,lpvBits)\        CreateBitmap(nWidth,nHeight,cPlanes,cBitsPerPel,lpvBits)#define CkCreateCompatibleBitmap(hdc,nWidth,nHeight) \        CreateCompatibleBitmap(hdc,nWidth,nHeight)#define CkLoadBitmap(hinst,lpszBitmap) \        LoadBitmap(hinst,lpszBitmap)#define CkCreateRectRgn(nLeftRect,nTopRect,nRightRect,nBottomRect)\        CreateRectRgn(nLeftRect,nTopRect,nRightRect,nBottomRect)#define CkCreateFontIndirect(lplogfont) CreateFontIndirect(lplogfont)#define CkCreatePalette(lplogpal) CreatePalette(lplogpal)#define CkGetStockObject(stockobj) GetStockObject(stockobj)#define CkGetDC(hwnd) GetDC(hwnd)#define CkReleaseDC(hwnd,hdc) ReleaseDC(hwnd,hdc)#define CkCreateCompatibleDC(hdc) CreateCompatibleDC(hdc)#define CkCreateDC(lpszDriver,lpszDevice,lpszOutput,lpInitData)\        CreateDC(lpszDriver,lpszDevice,lpszOutput,lpInitData)#define CkDeleteDC(hdc) DeleteDC(hdc)#define CkBeginPaint(hwnd,lpps) BeginPaint(hwnd,lpps)#define CkEndPaint(hwnd,lpPaint) EndPaint(hwnd,lpPaint)#define CkSelectObject(hdc,hobj_in) SelectObject(hdc,hobj_in)#define CkSelectBrush(hdc,hobj_in) SelectObject(hdc,hobj_in)#define CkSelectPen(hdc,hobj_in) SelectObject(hdc,hobj_in)#define CkSelectFont(hdc,hobj_in) SelectObject(hdc,hobj_in)#define CkSelectBitmap(hdc,hobj_in) SelectObject(hdc,hobj_in)#define CkCheckOutBitmap(hobj_in) #define CkSelectClipRgn(hdc,hrgn) SelectClipRgn(hdc,hrgn)#define CkOffsetClipRgn(hdc,xoff,yoff) OffsetClipRgn(hdc,xoff,yoff)#define CkSelectPalette(hdc,hobj_in,f) SelectPalette(hdc,hobj_in,f)#define CkRealizePalette(hdc) RealizePalette(hdc)#define CkSetPaletteEntries(hPal,iStart,cEntries,lppe)\   SetPaletteEntries(hPal,iStart,cEntries,lppe)#define CkResizePalette(hPal,nEntries) ResizePalette(hPal,nEntries)#define CkSetROP2(hdc,rop) SetROP2(hdc,rop)#define CkSetBkMode(hdc,bkmode)      SetBkMode(hdc,bkmode)#define CkSetBkColor(hdc,bkcolor)    SetBkColor(hdc,bkcolor)#define CkSetTextColor(hdc,txtcolor) SetTextColor(hdc,txtcolor)#define CkSetPolyFillMode(hdc,iMode) SetPolyFillMode(hdc,iMode)#define CkDeleteObject(hobj) DeleteObject(hobj)#define CkDeleteBrush(hobj) DeleteObject(hobj)#define CkDeletePen(hobj) DeleteObject(hobj)#define CkDeleteFont(hobj) DeleteObject(hobj)#define CkDeleteBitmap(hobj) DeleteObject(hobj)#define CkDeletePalette(hobj) DeleteObject(hobj)#endif  /*CKGRAPH_IMP*/#ifdef PROFILE_INFO#ifdef CKGRAPH_DEBUGBOOL CkGraph_BitBlt( HDC hdcDest, int nXDest, int nYDest, int nWidth, int nHeight, HDC hdcSrc, int nXSrc, int nYSrc, DWORD dwRop,char* file,int line);int CkGraph_FillRect(HDC hDC,CONST RECT *lprc,HBRUSH hbr,char* file,int line);BOOL CkGraph_Polyline(HDC hdc,CONST POINT *lppt,int cPoints,char* file,int line);BOOL CkGraph_Polygon(HDC hdc,CONST POINT *lppt,int cPoints,char* file,int line);BOOL CkGraph_Arc(HDC hdc,int nLeftRect,int nTopRect,int nRightRect,    int nBottomRect,int nXStartArc,int nYStartArc,int nXEndArc,int nYEndArc,    char* file,int line);BOOL CkGraph_Chord(HDC hdc,int nLeftRect,int nTopRect,int nRightRect,     int nBottomRect,int nXRadial1,int nYRadial1,int nXRadial2,int nYRadial2,     char* file,int line );BOOL CkGraph_Pie(HDC hdc,int nLeftRect,int nTopRect,int nRightRect,    int nBottomRect,int nXRadial1,int nYRadial1,int nXRadial2,int nYRadial2 ,     char* file,int line);BOOL CkGraph_Rectangle(HDC hdc,int nLeftRect,int nTopRect,int nRightRect,               int nBottomRect,char* file,int line);BOOL CkGraph_TextOut(HDC hdc,int nXStart, int nYStart, LPCTSTR str, int len,                      char* file,int line);BOOL CkGraph_ExtTextOut( HDC hdc, int X, int Y, UINT fuOptions,    CONST RECT *lprc, LPCTSTR lpString, UINT cbCount, CONST INT *lpDx,    char* file,int line );#define CkBitBlt(hdcDest,nXDest,nYDest,nWidth,nHeight,hdcSrc,nXSrc,nYSrc,dwRop)\ CkGraph_BitBlt(hdcDest,nXDest,nYDest,nWidth,nHeight,hdcSrc,nXSrc,nYSrc,dwRop,__FILE__,__LINE__)#define CkFillRect(hDC,lprc,hbr) \        CkGraph_FillRect(hDC,lprc,hbr,__FILE__,__LINE__)#define CkPolyline(hdc,lppt,cPoints) \        CkGraph_Polyline(hdc,lppt,cPoints,__FILE__,__LINE__)#define CkPolygon(hdc,lppt,cPoints) \        CkGraph_Polygon(hdc,lppt,cPoints,__FILE__,__LINE__)#define CkArc(hdc,nLeftRect,nTopRect,nRightRect,\    nBottomRect,nXStartArc,nYStartArc,nXEndArc,nYEndArc) \   CkGraph_Arc(hdc,nLeftRect,nTopRect,nRightRect,\    nBottomRect,nXStartArc,nYStartArc,nXEndArc,nYEndArc,__FILE__,__LINE__)#define CkChord(hdc,nLeftRect,nTopRect,nRightRect,\     nBottomRect,nXRadial1,nYRadial1,nXRadial2,nYRadial2)\   CkGraph_Chord(hdc,nLeftRect,nTopRect,nRightRect,\     nBottomRect,nXRadial1,nYRadial1,nXRadial2,nYRadial2,__FILE__,__LINE__)#define CkPie(hdc,nLeftRect,nTopRect,nRightRect,\     nBottomRect,nXRadial1,nYRadial1,nXRadial2,nYRadial2)\   CkGraph_Pie(hdc,nLeftRect,nTopRect,nRightRect,\     nBottomRect,nXRadial1,nYRadial1,nXRadial2,nYRadial2,__FILE__,__LINE__)#define CkRectangle(hdc,nLeftRect,nTopRect,nRightRect, nBottomRect)\   CkGraph_Rectangle(hdc,nLeftRect,nTopRect,nRightRect,nBottomRect,\      __FILE__,__LINE__)#define CkTextOut(hdc,nXStart,nYStart,str,len)\    CkGraph_TextOut(hdc,nXStart,nYStart,str,len,__FILE__,__LINE__)#define CkExtTextOut(hdc,X,Y,fuOptions,lprc,lpString,cbCount,lpDx)\    CkGraph_ExtTextOut(hdc,X,Y,fuOptions,lprc,lpString,cbCount,lpDx,\      __FILE__,__LINE__)#else  /*CKGRAPH_DEBUG*/BOOL CkGraph_BitBlt( HDC hdcDest, int nXDest, int nYDest, int nWidth, int nHeight, HDC hdcSrc, int nXSrc, int nYSrc, DWORD dwRop);int CkGraph_FillRect(HDC hDC,CONST RECT *lprc,HBRUSH hbr);BOOL CkGraph_Polyline(HDC hdc,CONST POINT *lppt,int cPoints);BOOL CkGraph_Polygon(HDC hdc,CONST POINT *lppt,int cPoints);BOOL CkGraph_Arc(HDC hdc,int nLeftRect,int nTopRect,int nRightRect,    int nBottomRect,int nXStartArc,int nYStartArc,int nXEndArc,int nYEndArc );BOOL CkGraph_Chord(HDC hdc,int nLeftRect,int nTopRect,int nRightRect,     int nBottomRect,int nXRadial1,int nYRadial1,int nXRadial2,int nYRadial2 );BOOL CkGraph_Pie(HDC hdc,int nLeftRect,int nTopRect,int nRightRect,    int nBottomRect,int nXRadial1,int nYRadial1,int nXRadial2,int nYRadial2 );BOOL CkGraph_Rectangle(HDC hdc,int nLeftRect,int nTopRect,int nRightRect,               int nBottomRect);BOOL CkGraph_TextOut(HDC hdc,int nXStart, int nYStart, LPCTSTR str, int len);BOOL CkGraph_ExtTextOut( HDC hdc, int X, int Y, UINT fuOptions,    CONST RECT *lprc, LPCTSTR lpString, UINT cbCount, CONST INT *lpDx);#define CkBitBlt(hdcDest,nXDest,nYDest,nWidth,nHeight,hdcSrc,nXSrc,nYSrc,dwRop)\ CkGraph_BitBlt(hdcDest,nXDest,nYDest,nWidth,nHeight,hdcSrc,nXSrc,nYSrc,dwRop)#define CkFillRect(hDC,lprc,hbr) CkGraph_FillRect(hDC,lprc,hbr)#define CkPolyline(hdc,lppt,cPoints) CkGraph_Polyline(hdc,lppt,cPoints)#define CkPolygon(hdc,lppt,cPoints) CkGraph_Polygon(hdc,lppt,cPoints)#define CkArc(hdc,nLeftRect,nTopRect,nRightRect,\    nBottomRect,nXStartArc,nYStartArc,nXEndArc,nYEndArc) \   CkGraph_Arc(hdc,nLeftRect,nTopRect,nRightRect,\    nBottomRect,nXStartArc,nYStartArc,nXEndArc,nYEndArc)#define CkChord(hdc,nLeftRect,nTopRect,nRightRect,\     nBottomRect,nXRadial1,nYRadial1,nXRadial2,nYRadial2)\   CkGraph_Chord(hdc,nLeftRect,nTopRect,nRightRect,\     nBottomRect,nXRadial1,nYRadial1,nXRadial2,nYRadial2)#define CkPie(hdc,nLeftRect,nTopRect,nRightRect,\     nBottomRect,nXRadial1,nYRadial1,nXRadial2,nYRadial2)\   CkGraph_Pie(hdc,nLeftRect,nTopRect,nRightRect,\     nBottomRect,nXRadial1,nYRadial1,nXRadial2,nYRadial2)#define CkRectangle(hdc,nLeftRect,nTopRect,nRightRect, nBottomRect)\   CkGraph_Rectangle(hdc,nLeftRect,nTopRect,nRightRect,nBottomRect)#define CkTextOut(hdc,nXStart,nYStart,str,len)\    CkGraph_TextOut(hdc,nXStart,nYStart,str,len)#define CkExtTextOut(hdc,X,Y,fuOptions,lprc,lpString,cbCount,lpDx)\    CkGraph_ExtTextOut(hdc,X,Y,fuOptions,lprc,lpString,cbCount,lpDx)#endif /*CKGRAPH_DEBUG*/#else  /*PROFILE_INFO*/#define CkBitBlt(hdcDest,nXDest,nYDest,nWidth,nHeight,hdcSrc,nXSrc,nYSrc,dwRop)\   BitBlt(hdcDest,nXDest,nYDest,nWidth,nHeight,hdcSrc,nXSrc,nYSrc,dwRop)#define CkFillRect(hDC,lprc,hbr) FillRect(hDC,lprc,hbr)#define CkPolyline(hdc,lppt,cPoints) Polyline(hdc,lppt,cPoints)#define CkPolygon(hdc,lppt,cPoints)  Polygon(hdc,lppt,cPoints)#define CkArc(hdc,nLeftRect,nTopRect,nRightRect,\    nBottomRect,nXStartArc,nYStartArc,nXEndArc,nYEndArc) \   Arc(hdc,nLeftRect,nTopRect,nRightRect,\    nBottomRect,nXStartArc,nYStartArc,nXEndArc,nYEndArc)#define CkChord(hdc,nLeftRect,nTopRect,nRightRect,\     nBottomRect,nXRadial1,nYRadial1,nXRadial2,nYRadial2)\   Chord(hdc,nLeftRect,nTopRect,nRightRect,\     nBottomRect,nXRadial1,nYRadial1,nXRadial2,nYRadial2)#define CkPie(hdc,nLeftRect,nTopRect,nRightRect,\     nBottomRect,nXRadial1,nYRadial1,nXRadial2,nYRadial2)\   Pie(hdc,nLeftRect,nTopRect,nRightRect,\     nBottomRect,nXRadial1,nYRadial1,nXRadial2,nYRadial2)#define CkRectangle(hdc,nLeftRect,nTopRect,nRightRect, nBottomRect)\   Rectangle(hdc,nLeftRect,nTopRect,nRightRect,nBottomRect)#define CkTextOut(hdc,nXStart,nYStart,str,len)\    TextOut(hdc,nXStart,nYStart,str,len)#define CkExtTextOut(hdc,X,Y,fuOptions,lprc,lpString,cbCount,lpDx)\    ExtTextOut(hdc,X,Y,fuOptions,lprc,lpString,cbCount,lpDx)#endif /*PROFILE_INFO*/#endif  /*__CKGRAPH_H*/

⌨️ 快捷键说明

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