FreeRDP
libfreerdp/gdi/test/helpers.h
1 
21 #ifndef GDI_TEST_HELPERS_H
22 #define GDI_TEST_HELPERS_H
23 
24 #include <freerdp/codec/color.h>
25 #include <freerdp/gdi/bitmap.h>
26 
27 HGDI_BITMAP test_convert_to_bitmap(const BYTE* src, UINT32 SrcFormat, UINT32 SrcStride, UINT32 xSrc,
28  UINT32 ySrc, UINT32 DstFormat, UINT32 DstStride, UINT32 xDst,
29  UINT32 yDst, UINT32 nWidth, UINT32 nHeight,
30 
31  const gdiPalette* hPalette);
32 
33 void test_dump_bitmap(HGDI_BITMAP hBmp, const char* name);
34 BOOL test_assert_bitmaps_equal(HGDI_BITMAP hBmpActual, HGDI_BITMAP hBmpExpected, const char* name,
35  const gdiPalette* palette);
36 
37 #endif /* __GDI_CORE_H */