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.

32 lines
1.2 KiB

  1. /*==========================================================================;
  2. *
  3. * Copyright (C) 1997 Microsoft Corporation. All Rights Reserved.
  4. *
  5. * File: clipfunc.h
  6. * Content: Clipper functions
  7. *
  8. ***************************************************************************/
  9. #ifndef _CLIPFUNC_H_
  10. #define _CLIPFUNC_H_
  11. #include "clipper.h"
  12. int SetInterpolationFlags(D3DFE_PROCESSVERTICES *pv);
  13. int ClipSingleLine(D3DFE_PROCESSVERTICES *pv,
  14. ClipTriangle *line,
  15. D3DRECTV *extent,
  16. int interpolate);
  17. HRESULT ProcessClippedPoints(D3DFE_PROCESSVERTICES*);
  18. HRESULT ProcessClippedTriangleList (D3DFE_PROCESSVERTICES*);
  19. HRESULT ProcessClippedTriangleStrip(D3DFE_PROCESSVERTICES *pv);
  20. HRESULT ProcessClippedTriangleFan (D3DFE_PROCESSVERTICES *pv);
  21. HRESULT ProcessClippedLine(D3DFE_PROCESSVERTICES *pv);
  22. HRESULT ProcessClippedIndexedTriangleStrip(D3DFE_PROCESSVERTICES *pv);
  23. HRESULT ProcessClippedIndexedTriangleFan (D3DFE_PROCESSVERTICES *pv);
  24. HRESULT ProcessClippedIndexedTriangleList (D3DFE_PROCESSVERTICES *pv);
  25. HRESULT ProcessClippedIndexedLine(D3DFE_PROCESSVERTICES *pv);
  26. DWORD D3DFE_GenClipFlags(D3DFE_PROCESSVERTICES *pv);
  27. #endif // _CLIPFUNC_H_