fillRegion.h 915 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. #ifndef _NULLSOFT_WINAMP_ML_DEVICES_FILL_REGION_HEADER
  2. #define _NULLSOFT_WINAMP_ML_DEVICES_FILL_REGION_HEADER
  3. typedef struct FillRegion
  4. {
  5. HRGN fill;
  6. HRGN tmp;
  7. } FillRegion;
  8. BOOL
  9. FillRegion_Init(FillRegion *region,
  10. const RECT *rect);
  11. void
  12. FillRegion_Uninit(FillRegion *region);
  13. BOOL
  14. FillRegion_ExcludeRect(FillRegion *region,
  15. const RECT *rect);
  16. BOOL
  17. FillRegion_ExcludeRgn(FillRegion *region,
  18. HRGN rgn);
  19. BOOL
  20. FillRegion_AppendRect(FillRegion *region,
  21. const RECT *rect);
  22. BOOL
  23. FillRegion_AppendRgn(FillRegion *region,
  24. HRGN rgn);
  25. BOOL
  26. FillRegion_BrushFill(FillRegion *region,
  27. HDC hdc,
  28. HBRUSH brush);
  29. BOOL
  30. FillRegion_Offset(FillRegion *region,
  31. long x,
  32. long y);
  33. BOOL
  34. FillRegion_SetRect(FillRegion *region,
  35. const RECT *rect);
  36. BOOL
  37. FillRegion_SetEmpty(FillRegion *region);
  38. #endif //_NULLSOFT_WINAMP_ML_DEVICES_FILL_REGION_HEADER