1 #ifndef __DeviceExporter__ 2 #define __DeviceExporter__ 19 #include "GUIDOExport.h" 22 # if defined(_AFXDLL) // using mfc 38 class_export DeviceExporter
49 kImgFormatUnknown = 0,
56 DeviceExporter(
VGDevice * dev) { fDevice = dev; }
57 virtual ~DeviceExporter() { fDevice = 0; }
62 virtual bool ExportToFile(
const char * inFilePath, VImgFormat inImgFormat );
68 PBITMAPINFO WIN32_createBitmapInfoStruct( HWND hwnd, HBITMAP hBmp );
69 void WIN32_saveBitmapToBMPFile( HWND hwnd, LPCTSTR pszFile, PBITMAPINFO pbi, HBITMAP hBMP, HDC hDC );