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.

43 lines
1.1 KiB

  1. /****************************** Module Header ******************************\
  2. * Module Name: wndstuff.h
  3. *
  4. * Kent's Window Test. To be used as a program template.
  5. *
  6. * Created: 09-May-91
  7. * Author: KentD
  8. *
  9. * Copyright (c) 1991 Microsoft Corporation
  10. \***************************************************************************/
  11. #define DONTUSE(x) (x)
  12. #include "resource.h"
  13. enum PtFlag {
  14. PtNoFlag = 0,
  15. PtBezierFlag = 1,
  16. PtOutlineBeforeFlag = 2,
  17. PtOutlineAfterFlag = 4,
  18. PtDashPatternFlag = 8,
  19. PtHatchBrushFlag = 16,
  20. PtTextureFillFlag = 32,
  21. PtTransSolidFillFlag = 64,
  22. PtTransGradFillFlag = 128,
  23. PTBackgroundGradFillFlag = 256,
  24. };
  25. void DrawPath(HWND hwnd, HDC *phdc, HANDLE *hprinter, float flatness, PtFlag flags);
  26. void AddPoint(INT x, INT y);
  27. void OpenPath(char *filename);
  28. void SavePath(char *filename);
  29. void ChangeTexture(const WCHAR *filename);
  30. void SetColorMode(INT colorMode);
  31. void ClosePath();
  32. void ClearPath();
  33. void ClipPath(BOOL bezmode);
  34. void ClearClipPath();
  35. void Resize(INT x, INT y);
  36. void CleanUp();
  37. void Print(HWND hwnd, float flatness, PtFlag flags);