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