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.

99 lines
1.4 KiB

  1. /*++
  2. Copyright (c) 1996-1999 Microsoft Corporation
  3. Module Name
  4. gdiext.h
  5. Abstract:
  6. GDI exensions for transparent blt, blending, gradient fill
  7. Author:
  8. Mark Enstrom (marke) 23-Jun-1996
  9. Enviornment:
  10. User Mode
  11. Revision History:
  12. --*/
  13. typedef LONG PTFX8;
  14. typedef USHORT COLOR16;
  15. typedef struct _VERTEX
  16. {
  17. PTFX8 x;
  18. PTFX8 y;
  19. COLOR16 Red;
  20. COLOR16 Green;
  21. COLOR16 Blue;
  22. COLOR16 Alpha;
  23. }VERTEX,*PVERTEX;
  24. BOOL
  25. TransparentImage(
  26. HDC hdcDest,
  27. LONG DstX,
  28. LONG DstY,
  29. LONG DstCx,
  30. LONG DstCy,
  31. HANDLE hSrc,
  32. LONG SrcX,
  33. LONG SrcY,
  34. LONG SrcCx,
  35. LONG SrcCy
  36. );
  37. BOOL
  38. AlphaImage(
  39. HDC hdcDest,
  40. LONG DstX,
  41. LONG DstY,
  42. LONG DstCx,
  43. LONG DstCy,
  44. HANDLE hSrc,
  45. LONG SrcX,
  46. LONG SrcY,
  47. LONG SrcCx,
  48. LONG SrcCy,
  49. ULONG fAlpha
  50. );
  51. BOOL
  52. StretchImage(
  53. HDC hdcDest,
  54. LONG DstX,
  55. LONG DstY,
  56. LONG DstCx,
  57. LONG DstCy,
  58. HANDLE hSrc,
  59. LONG SrcX,
  60. LONG SrcY,
  61. LONG SrcCx,
  62. LONG SrcCy
  63. );
  64. BOOL
  65. TriangleMesh(
  66. HDC hdc,
  67. PVERTEX pVertex,
  68. ULONG nVertex,
  69. PULONG pMesh,
  70. ULONG nCount
  71. );