41 #include <visp3/core/vpConfig.h>
43 #if ( defined(VISP_HAVE_GDI) || defined(VISP_HAVE_D3D9) )
48 DWORD vpProcessErrors(
const std::string &api_name);
49 void vpSelectObject(HWND hWnd, HDC hDC, HDC hDCMem, HGDIOBJ h);
50 void vpPrepareImageWithPen(CRITICAL_SECTION* CriticalSection, HWND hWnd,HBITMAP bmp,COLORREF color,
unsigned int thickness,
int style, HDC& hDCScreen,HDC& hDCMem,HPEN& hPen);
51 void vpEnterCriticalSection(LPCRITICAL_SECTION lpCriticalSection);
52 void vpLeaveCriticalSection(LPCRITICAL_SECTION lpCriticalSection);
53 BOOL vpReleaseSemaphore(HANDLE hSemaphore,LONG IReleaseCount,LPLONG lpPreviousCount);
54 BOOL vpLineTo(HDC hdc,
int nXEnd,
int nYEnd);
55 BOOL vpMoveToEx(HDC hdc,
int X,
int Y, LPPOINT lpPoint);
56 BOOL vpBitBlt(HDC hdcDest,
int nXDest,
int nYDest,
int nWidth,
int nHeight, HDC hdcSrc,
int nXSrc,
int nYSrc, DWORD dwRop);
57 BOOL vpInvalidateRect(HWND hWnd,
const RECT *lpRect, BOOL bErase);
58 COLORREF vpSetPixel(HDC hdc,
int X,
int Y, COLORREF crColor);
59 HBITMAP vpCreateBitmap(
int nWidth,
int nHeight, UINT cPlanes, UINT cBitsPerPel,
const VOID *lpvBits);