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