Source code of Windows XP (NT5)
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.

33 lines
765 B

  1. /******************************Module*Header*******************************\
  2. * Module Name: npipe.h
  3. *
  4. * Node stuff
  5. *
  6. * Copyright (c) 1995 Microsoft Corporation
  7. *
  8. \**************************************************************************/
  9. #ifndef __npipe_h__
  10. #define __npipe_h__
  11. #include "sscommon.h"
  12. #include "state.h"
  13. #include "pipe.h"
  14. class NORMAL_STATE;
  15. class NORMAL_PIPE: public PIPE {
  16. private:
  17. public:
  18. NORMAL_STATE *pNState;
  19. NORMAL_PIPE( STATE *state );
  20. void Start();
  21. GLint ChooseElbow( int oldDir, int newDir);
  22. void DrawJoint( int newDir );
  23. void Draw( ); //mf: could take param to draw n sections
  24. void DrawStartCap( int newDir );
  25. void DrawEndCap();
  26. };
  27. #endif // __npipe_h__