home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 329.lha / MultiPlot / source / plot.h < prev    next >
C/C++ Source or Header  |  1990-01-05  |  533b  |  23 lines

  1. /* plot.h */
  2. #include <exec/types.h>
  3. #include <intuition/intuition.h>
  4. #include "mp.h"
  5. #include "plotlim.h"
  6.  
  7. #define NOACTION 0
  8. #define GETDATALIMITS 1
  9. #define GETHOWTO 2
  10. #define REPLOT 3
  11. #define QUIT 4
  12.  
  13. extern struct RastPort *rp;
  14. extern struct ViewPort *vp;
  15. extern long GfxBase;
  16. extern long IntuitionBase;
  17.  
  18. #define PMove(x,y) Move(rp,(x),MAXVERT-(y))
  19. #define PDraw(x,y) Draw(rp,(x),MAXVERT-(y))
  20. #define PWritePixel(x,y) WritePixel(rp,(x),MAXVERT-(y))
  21. #define PRectFill(x1,y1,x2,y2) RectFill(rp,(x1),MAXVERT-(y2),(x2),MAXVERT-(y1))
  22.  
  23.