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.

154 lines
2.5 KiB

  1. /**************************************************************************
  2. *
  3. * Copyright (c) 2000 Microsoft Corporation
  4. *
  5. * Module Name:
  6. *
  7. * <an unabbreviated name for the module (not the filename)>
  8. *
  9. * Abstract:
  10. *
  11. * <Description of what this module does>
  12. *
  13. * Notes:
  14. *
  15. * <optional>
  16. *
  17. * Created:
  18. *
  19. * 08/28/2000 asecchia
  20. * Created it.
  21. *
  22. **************************************************************************/
  23. #ifndef _CDASH_HPP
  24. #define _CDASH_HPP
  25. #include "CPrimitive.h"
  26. class CDash : public CPrimitive
  27. {
  28. public:
  29. CDash(BOOL bRegression);
  30. void Draw(Graphics *g);
  31. };
  32. class CDash2 : public CPrimitive
  33. {
  34. public:
  35. CDash2(BOOL bRegression);
  36. void Draw(Graphics *g);
  37. };
  38. class CDash3 : public CPrimitive
  39. {
  40. public:
  41. CDash3(BOOL bRegression);
  42. void Draw(Graphics *g);
  43. };
  44. class CDash4 : public CPrimitive
  45. {
  46. public:
  47. CDash4(BOOL bRegression);
  48. void Draw(Graphics *g);
  49. };
  50. class CDash5 : public CPrimitive
  51. {
  52. public:
  53. CDash5(BOOL bRegression);
  54. void Draw(Graphics *g);
  55. };
  56. class CDash6 : public CPrimitive
  57. {
  58. public:
  59. CDash6(BOOL bRegression);
  60. void Draw(Graphics *g);
  61. };
  62. class CDash7 : public CPrimitive
  63. {
  64. public:
  65. CDash7(BOOL bRegression);
  66. void Draw(Graphics *g);
  67. };
  68. class CDash8 : public CPrimitive
  69. {
  70. public:
  71. CDash8(BOOL bRegression);
  72. void Draw(Graphics *g);
  73. };
  74. class CDash9 : public CPrimitive
  75. {
  76. public:
  77. CDash9(BOOL bRegression);
  78. void Draw(Graphics *g);
  79. };
  80. class CWiden : public CPrimitive
  81. {
  82. public:
  83. CWiden(BOOL bRegression);
  84. void Draw(Graphics *g);
  85. };
  86. class CWidenO : public CPrimitive
  87. {
  88. public:
  89. CWidenO(BOOL bRegression);
  90. void Draw(Graphics *g);
  91. };
  92. class CWidenOO : public CPrimitive
  93. {
  94. public:
  95. CWidenOO(BOOL bRegression);
  96. void Draw(Graphics *g);
  97. };
  98. class CFlatten : public CPrimitive
  99. {
  100. public:
  101. CFlatten(BOOL bRegression);
  102. void Draw(Graphics *g);
  103. };
  104. #define DASH_GLOBALS \
  105. CWiden g_Widen(true);\
  106. CWidenO g_WidenO(true);\
  107. CWidenOO g_WidenOO(true);\
  108. CFlatten g_Flatten(true);\
  109. CDash g_Dash(true);\
  110. CDash2 g_Dash2(true);\
  111. CDash3 g_Dash3(true);\
  112. CDash4 g_Dash4(true);\
  113. CDash5 g_Dash5(true);\
  114. CDash6 g_Dash6(true);\
  115. CDash7 g_Dash7(true);\
  116. CDash8 g_Dash8(true);\
  117. CDash9 g_Dash9(true);
  118. #define DASH_INIT \
  119. g_Widen.Init();\
  120. g_WidenO.Init();\
  121. g_WidenOO.Init();\
  122. g_Flatten.Init();\
  123. g_Dash.Init();\
  124. g_Dash2.Init();\
  125. g_Dash3.Init();\
  126. g_Dash4.Init();\
  127. g_Dash5.Init();\
  128. g_Dash6.Init();\
  129. g_Dash7.Init();\
  130. g_Dash8.Init();\
  131. g_Dash9.Init();
  132. #endif