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.

87 lines
2.1 KiB

  1. // Include all the primitives (classes derived from CPrimitive)
  2. #include "CPolygons.h"
  3. #include "CCachedBitmap.h"
  4. #include "CBitmaps.h"
  5. #include "CCompoundLines.h"
  6. #include "CContainer.h"
  7. #include "CContainerClip.h"
  8. #include "CDashes.h"
  9. #include "CPathGradient.hpp"
  10. #include "CGradients.h"
  11. #include "CImaging.h"
  12. #include "CRecolor.h"
  13. #include "CSystemColor.h"
  14. #include "CInsetLines.h"
  15. #include "CMixedObjects.h"
  16. #include "CPaths.h"
  17. #include "CDash.hpp"
  18. #include "CLines.hpp"
  19. #include "CPrimitives.h"
  20. #include "CRegions.h"
  21. #include "CText.h"
  22. #include "printtest\CPrinting.h"
  23. #include "CRegression.h"
  24. #include "CSourceCopy.h"
  25. #include "CExtra.h"
  26. #include "CReadWrite.h"
  27. #include "CFillMode.h"
  28. // Create global objects for each individual primitive
  29. // First constructor param is the regression flag
  30. // If true, the test will take part of the regression suite
  31. CPolygons g_Polygons(true);
  32. CBitmaps g_Bitmaps(true);
  33. CCachedBitmap g_CachedBitmap(true);
  34. CCompoundLines g_CompoundLines(true);
  35. CContainer g_Container(true);
  36. CContainerClip g_ContainerClip(true);
  37. CDashes g_Dashes(true);
  38. DASH_GLOBALS
  39. INSET_GLOBALS
  40. GRADIENT_GLOBALS
  41. PATHGRADIENT_GLOBALS
  42. LINES_GLOBALS
  43. CImaging g_Imaging(true);
  44. CRecolor g_Recolor(true);
  45. CSystemColor g_SystemColor(false);
  46. CMixedObjects g_MixedObjects(true);
  47. CPaths g_Paths(true);
  48. CJoins g_Joins(true);
  49. CPrimitives g_Primitives(true);
  50. CRegions g_Regions(true);
  51. CText g_Text(true);
  52. CSourceCopy g_SourceCopy(true);
  53. CReadWrite g_ReadWrite(false);
  54. CFillMode g_FillMode(true);
  55. void ExtraInitializations()
  56. {
  57. g_Polygons.Init();
  58. g_Bitmaps.Init();
  59. g_CachedBitmap.Init();
  60. g_CompoundLines.Init();
  61. g_Container.Init();
  62. g_ContainerClip.Init();
  63. g_Dashes.Init();
  64. DASH_INIT;
  65. INSET_INIT;
  66. GRADIENT_INIT;
  67. PATHGRADIENT_INIT;
  68. LINES_INIT;
  69. g_Imaging.Init();
  70. g_Recolor.Init();
  71. g_SystemColor.Init();
  72. g_MixedObjects.Init();
  73. g_Paths.Init();
  74. g_Joins.Init();
  75. g_Primitives.Init();
  76. g_Regions.Init();
  77. g_Text.Init();
  78. g_SourceCopy.Init();
  79. g_ReadWrite.Init();
  80. g_FillMode.Init();
  81. }