home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 13 / AACD13.ISO / AACD / Resources / System / BoingBag1 / Contributions / Workbench / RexxArpLib3p6 / src / areapolydraw.h < prev    next >
C/C++ Source or Header  |  1991-02-16  |  626b  |  31 lines

  1. /**
  2. *
  3. *   Defines and structures for automatic Area... stuff.
  4. *
  5. **/
  6. struct vtx {   struct vtx *next;
  7.                int type;
  8.                int x;
  9.                int y;
  10.                int a;
  11.                int b;
  12.            };
  13.  
  14. #define AREAMOVE    1
  15. #define AREADRAW    2
  16. #define AREACIRCLE  3
  17. #define AREAELLIPSE 4
  18.  
  19. /*
  20. *   Prototypes for functions defined in areapolydraw.c
  21. */
  22. int AreaPolyDraw(struct Window *, struct vtx *, int , int , int);
  23. struct vtx *AddVertex(struct vtx *);
  24. struct vtx *KillVertex(struct vtx *);
  25.  
  26. #define APD_TEXTURE 0x100
  27. #define APD_DITHER  0x200
  28. #define APD_NOFILL  0x400
  29. #define APD_OUTLINE 0x800
  30.  
  31.