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.

53 lines
1.7 KiB

  1. #ifndef __glucoveandtiler_h
  2. #define __glucoveandtiler_h
  3. /**************************************************************************
  4. * *
  5. * Copyright (C) 1992, Silicon Graphics, Inc. *
  6. * *
  7. * These coded instructions, statements, and computer programs contain *
  8. * unpublished proprietary information of Silicon Graphics, Inc., and *
  9. * are protected by Federal copyright law. They may not be disclosed *
  10. * to third parties or copied or duplicated in any form, in whole or *
  11. * in part, without the prior written consent of Silicon Graphics, Inc. *
  12. * *
  13. **************************************************************************/
  14. /*
  15. * coveandtiler.h - $Revision: 1.1 $
  16. */
  17. #include "trimregi.h"
  18. class Backend;
  19. class TrimVertex;
  20. class GridVertex;
  21. class GridTrimVertex;
  22. class CoveAndTiler : virtual public TrimRegion {
  23. public:
  24. CoveAndTiler( Backend& );
  25. ~CoveAndTiler( void );
  26. void coveAndTile( void );
  27. private:
  28. Backend& backend;
  29. static const int MAXSTRIPSIZE;
  30. void tile( long, long, long );
  31. void coveLowerLeft( void );
  32. void coveLowerRight( void );
  33. void coveUpperLeft( void );
  34. void coveUpperRight( void );
  35. void coveUpperLeftNoGrid( TrimVertex * );
  36. void coveUpperRightNoGrid( TrimVertex * );
  37. void coveLowerLeftNoGrid( TrimVertex * );
  38. void coveLowerRightNoGrid( TrimVertex * );
  39. void coveLL( void );
  40. void coveLR( void );
  41. void coveUL( void );
  42. void coveUR( void );
  43. inline void output( GridTrimVertex& );
  44. inline void output( GridVertex& );
  45. inline void output( TrimVertex* );
  46. };
  47. #endif /* __glucoveandtiler_h */