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.

74 lines
1.1 KiB

  1. /**************************************************************************\
  2. *
  3. * Copyright (c) 1998 Microsoft Corporation
  4. *
  5. * Module Name:
  6. *
  7. * flatddi.cpp
  8. *
  9. * Abstract:
  10. *
  11. * Flat GDI+ DDI API wrappers
  12. *
  13. * Revision History:
  14. *
  15. * 1/14/2k ericvan
  16. * Created it.
  17. *
  18. \**************************************************************************/
  19. #include "precomp.hpp"
  20. DpPath*
  21. WINGDIPAPI
  22. DpcCreateWidenedPath(
  23. const DpPath* path,
  24. const DpPen* pen,
  25. DpContext* context,
  26. BOOL outline
  27. )
  28. {
  29. ASSERT(path && pen);
  30. // context can be NULL
  31. return GpPath::DriverCreateWidenedPath(
  32. path,
  33. pen,
  34. context,
  35. outline
  36. );
  37. }
  38. VOID
  39. WINGDIPAPI
  40. DpcDeletePath(
  41. DpPath* path
  42. )
  43. {
  44. ASSERT(path);
  45. GpPath::DriverDeletePath(path);
  46. }
  47. DpPath*
  48. WINGDIPAPI
  49. DpcClonePath(
  50. DpPath* path
  51. )
  52. {
  53. ASSERT(path);
  54. return GpPath::DriverClonePath(path);
  55. }
  56. VOID
  57. WINGDIPAPI
  58. DpcTransformPath(
  59. DpPath* path,
  60. GpMatrix* matrix
  61. )
  62. {
  63. ASSERT(path); // matrix can be NULL.
  64. GpPath::DriverTransformPath(path, matrix);
  65. }