Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
1.1 KiB

  1. /******************************Module*Header*******************************\
  2. * Module Name: CMetafile.h
  3. *
  4. * This file contains the code to support the functionality test harness
  5. * for GDI+.
  6. *
  7. * Created: 14-Sep-2000 - DCurtis
  8. *
  9. * Copyright (c) 2000 Microsoft Corporation
  10. *
  11. \**************************************************************************/
  12. #ifndef __CMETAFILE_H
  13. #define __CMETAFILE_H
  14. #include "COutput.h"
  15. class CMetafile : public COutput
  16. {
  17. public:
  18. // CMetafile(BOOL bRegression, MetafileType metafileType)
  19. // : CMetafile(bRegression, metafileType, FALSE) {};
  20. CMetafile(BOOL bRegression, MetafileType metafileType, BOOL recordFile = FALSE);
  21. virtual ~CMetafile();
  22. Graphics *PreDraw(int &nOffsetX,int &nOffsetY); // Set up graphics at the given X,Y offset
  23. void PostDraw(RECT rTestArea); // Finish off graphics at rTestArea
  24. Gdiplus::Metafile * GdipMetafile;
  25. EmfType RecordType;
  26. MetafileType FinalType;
  27. BOOL RecordFile;
  28. };
  29. #endif // __CMETAFILE_H