home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Fish 'n' More 2
/
fishmore-publicdomainlibraryvol.ii1991xetec.iso
/
disks
/
disk373.lzh
/
Multiplot
/
source
/
mplot_src
/
src.zoo
/
plot.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-08-02
|
568b
|
25 lines
/* plot.h */
#include <exec/types.h>
#include <intuition/intuition.h>
#include "mp.h"
#include "plotlim.h"
#define NOACTION 0
#define REFRESH 1
#define REDRAW 2
#define REPLOT 3
#define GETDATALIMITS 4
#define GETHOWTO 5
#define QUIT 6
extern struct RastPort *rp;
extern struct ViewPort *vp;
extern long GfxBase;
extern long IntuitionBase;
#define PMove(x,y) Move(rp,(x),MAXVERT-(y))
#define PDraw(x,y) Draw(rp,(x),MAXVERT-(y))
#define PWritePixel(x,y) WritePixel(rp,(x),MAXVERT-(y))
#define PRectFill(x1,y1,x2,y2) RectFill(rp,(x1),MAXVERT-(y2),(x2),MAXVERT-(y1))