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.

44 lines
911 B

  1. #ifndef _Parse_h
  2. #define _Parse_h
  3. // File: Parse.h
  4. // Author: Michael Marr (mikemarr)
  5. //
  6. // History:
  7. // -@- 09/23/97 (mikemarr) copied from projects\vector2d
  8. #include "DXTransP.h"
  9. #define nMAXPOINTS (1 << 16)
  10. #define nMAXPOLYS (1 << 14)
  11. #define nMAXBRUSHES (1 << 14)
  12. #define nMAXPENS 16
  13. #define typePOLY 0
  14. #define typeBRUSH 1
  15. #define typePEN 2
  16. #define typeSTOP 4
  17. typedef struct RenderCmd {
  18. DWORD nType;
  19. void * pvData;
  20. } RenderCmd;
  21. typedef struct BrushInfo {
  22. DXSAMPLE Color;
  23. } BrushInfo;
  24. typedef struct PenInfo {
  25. DXSAMPLE Color;
  26. float fWidth;
  27. DWORD dwStyle;
  28. } PenInfo;
  29. typedef struct PolyInfo {
  30. DXFPOINT * pPoints;
  31. BYTE * pCodes;
  32. DWORD cPoints;
  33. DWORD dwFlags;
  34. } PolyInfo;
  35. HRESULT ParseAIFile(const char *szFilename, RenderCmd **ppCmds);
  36. #endif