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.

81 lines
1.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/30/2000 asecchia
  20. * Created it.
  21. *
  22. **************************************************************************/
  23. #ifndef _CPATHGRADIENT_HPP
  24. #define _CPATHGRADIENT_HPP
  25. #include "CPrimitive.h"
  26. class CPathGradient : public CPrimitive
  27. {
  28. public:
  29. CPathGradient(BOOL bRegression);
  30. void Draw(Graphics *g);
  31. };
  32. class CPathGradient2 : public CPrimitive
  33. {
  34. public:
  35. CPathGradient2(BOOL bRegression);
  36. void Draw(Graphics *g);
  37. };
  38. class CPathGradient3 : public CPrimitive
  39. {
  40. public:
  41. CPathGradient3(BOOL bRegression);
  42. void Draw(Graphics *g);
  43. };
  44. class CLinearGradient : public CPrimitive
  45. {
  46. public:
  47. CLinearGradient(BOOL bRegression);
  48. void Draw(Graphics *g);
  49. };
  50. class CLinearGradient2 : public CPrimitive
  51. {
  52. public:
  53. CLinearGradient2(BOOL bRegression);
  54. void Draw(Graphics *g);
  55. };
  56. #define PATHGRADIENT_GLOBALS \
  57. CPathGradient g_PathGradient(true);\
  58. CPathGradient2 g_PathGradient2(true);\
  59. CPathGradient3 g_PathGradient3(true);\
  60. CLinearGradient g_LinearGradient(true);\
  61. CLinearGradient2 g_LinearGradient2(true);
  62. #define PATHGRADIENT_INIT \
  63. g_PathGradient.Init();\
  64. g_PathGradient2.Init();\
  65. g_PathGradient3.Init();\
  66. g_LinearGradient.Init();\
  67. g_LinearGradient2.Init();
  68. #endif