1 /* 2 Public include file for all of the PETSc graphics routines 3 */ 4 #if !defined(__DRAW_H) 5 #define __DRAW_H 6 7 typedef struct _DrawCtx* DrawCtx; 8 9 int DrawOpenX(char*,int,int,int,int,DrawCtx*); 10 int DrawDestroy(DrawCtx); 11 12 int Draw2dLine(DrawCtx,double,double,double,double,int,int); 13 int Draw2dLineSetWidth(DrawCtx,double,double,double,double,int,int); 14 int Draw2dPoint(DrawCtx,double,double,int); 15 16 int Draw2dText(DrawCtx,double,double,int,char*); 17 18 #endif 19