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.

97 lines
2.2 KiB

  1. /**************************************************************************\
  2. *
  3. * Copyright (c) 1998 Microsoft Corporation
  4. *
  5. * Module Name:
  6. *
  7. * ddiplus.hpp
  8. *
  9. * Abstract:
  10. *
  11. * Contains the interface definition for the high-level GDI+ device
  12. * driver interface.
  13. *
  14. * Revision History:
  15. *
  16. * 12/01/1998 andrewgo
  17. * Created it.
  18. *
  19. * 03/11/1999 agodfrey
  20. * Changed the DDI model. For this version, I'm not using COM, and
  21. * we'll use the result to decide whether we should be using COM.
  22. \**************************************************************************/
  23. #ifndef _DDIPLUS_HPP
  24. #define _DDIPLUS_HPP
  25. // !! shift this to dpflat.hpp ??
  26. // !! do we want to bother with namespaces for driver, they may link to
  27. // other stuff in GDI, and hence name clashes.
  28. class EpPaletteMap;
  29. template<class T> class EpScanBufferNative;
  30. #define DpScanBuffer EpScanBufferNative<ARGB>
  31. class DpOutputSpan;
  32. class DpClipRegion;
  33. class DpContext;
  34. struct DpBrush;
  35. struct DpPen;
  36. class DpBitmap;
  37. class DpDriver;
  38. class DpRegion;
  39. class DpDevice;
  40. class EpScan;
  41. class DpPath;
  42. class DpCustomLineCap;
  43. struct DpImageAttributes;
  44. class DpCachedBitmap;
  45. #define WINGDIPAPI __stdcall
  46. // The naming convention is Dpc<function><object> for Driver callbacks
  47. DpPath* WINGDIPAPI
  48. DpcCreateWidenedPath(
  49. const DpPath* path,
  50. const DpPen* pen,
  51. DpContext* context,
  52. BOOL outline
  53. );
  54. VOID WINGDIPAPI
  55. DpcDeletePath(
  56. DpPath* path
  57. );
  58. DpPath* WINGDIPAPI
  59. DpcClonePath(
  60. DpPath* path
  61. );
  62. VOID WINGDIPAPI
  63. DpcTransformPath(
  64. DpPath* path,
  65. GpMatrix* transform
  66. );
  67. #include "dpregion.hpp"
  68. // Hack: DpContext depends on GpRegion
  69. #include "..\Entry\object.hpp"
  70. #include "..\Entry\region.hpp"
  71. // EndHack
  72. #include "dpbitmap.hpp"
  73. #include "dpbrush.hpp"
  74. #include "dpcontext.hpp"
  75. #include "dpdriver.hpp"
  76. #include "dppath.hpp"
  77. #include "dpcustomlinecap.hpp"
  78. #include "dppen.hpp"
  79. #include "dpscan.hpp"
  80. #include "dppathiterator.hpp"
  81. #include "dpimageattributes.hpp"
  82. #include "dpcachedbitmap.hpp"
  83. #endif // !_DDIPLUS_HPP