37#include <visp3/core/vpConfig.h>
39#if (defined(VISP_HAVE_GDI) || defined(VISP_HAVE_D3D9))
44# pragma clang diagnostic push
45# pragma clang diagnostic ignored "-Wnonportable-system-include-path"
56# pragma clang diagnostic pop
61DWORD vpProcessErrors(
const std::string &api_name);
62void vpSelectObject(HWND hWnd, HDC hDC, HDC hDCMem, HGDIOBJ h);
63void vpPrepareImageWithPen(CRITICAL_SECTION *CriticalSection, HWND hWnd, HBITMAP bmp, COLORREF color,
64 unsigned int thickness,
int style, HDC &hDCScreen, HDC &hDCMem, HPEN &hPen);
65void vpEnterCriticalSection(LPCRITICAL_SECTION lpCriticalSection);
66void vpLeaveCriticalSection(LPCRITICAL_SECTION lpCriticalSection);
67BOOL vpReleaseSemaphore(HANDLE hSemaphore, LONG IReleaseCount, LPLONG lpPreviousCount);
68BOOL vpLineTo(HDC hdc,
int nXEnd,
int nYEnd);
69BOOL vpMoveToEx(HDC hdc,
int X,
int Y, LPPOINT lpPoint);
70BOOL vpBitBlt(HDC hdcDest,
int nXDest,
int nYDest,
int nWidth,
int nHeight, HDC hdcSrc,
int nXSrc,
int nYSrc,
72BOOL vpInvalidateRect(HWND hWnd,
const RECT *lpRect, BOOL bErase);
73COLORREF vpSetPixel(HDC hdc,
int X,
int Y, COLORREF crColor);
74HBITMAP vpCreateBitmap(
int nWidth,
int nHeight, UINT cPlanes, UINT cBitsPerPel,
const VOID *lpvBits);