Ticket #36397: patch-jgraph.h.diff

File patch-jgraph.h.diff, 2.8 KB (added by stevecheckoway (Stephen Checkoway), 12 years ago)
  • jgraph.h

    old new typedef struct graphs { 
    214214  int page;
    215215} *Graphs;
    216216
    217 extern float ctop();
    218 extern float disttop();
    219 extern float intop();
    220 extern float ptoc();
    221 extern float ptodist();
    222 
    223 extern char *getlabel();
    224 extern char *getmultiline();
    225 
    226 /* Stuff defined in jgraph.c */
    227 
    228 extern Curve new_line();
    229 extern Curve new_curve();
    230 extern Curve get_curve();
    231 extern Graph new_graph();
    232 extern Graph get_graph();
    233 extern String new_string();
    234 extern String get_string();
    235 extern Label new_label();
     217/* Defined in draw.c */
     218extern float ctop(float, Axis);
     219extern float disttop(float, Axis);
     220extern float intop(float);
     221extern void draw_graphs(Graphs, int, int);
     222extern void draw_axis(Axis, Axis);
     223
     224/* Defined in edit.c */
     225extern void copy_label(Label, Label);
     226extern void edit_graphs(Graphs);
     227
     228/* Defined in jgraph.c */
     229extern void new_graphs(Graphs);
     230extern Curve new_line(Curve, int);
     231extern Curve new_curve(Curve, int);
     232extern Curve get_curve(Curve, int);
     233extern Graph new_graph(Graph, int);
     234extern Graph get_graph(Graph, int);
     235extern String new_string(String, int);
     236extern String get_string(String, int);
     237extern Label new_label(void);
    236238extern char *MARKTYPESTRS[];
    237239extern char MARKTYPES[];
    238240extern int NMARKTYPES;
    extern int NORMALMARKTYPES; 
    240242extern char *PATTERNS[];
    241243extern char PTYPES[];
    242244extern int NPATTERNS;
     245
     246/* Defined in printline.c */
     247extern void gsave(void);
     248extern void grestore(void);
     249extern void setfont(char *, float);
     250extern void setfill(float, float, char, float *, char, float);
     251extern void setgray(char, float*);
     252extern void print_ebar(float, float, float, float, char);
     253extern void start_line(float, float, Curve);
     254extern void cont_line(float, float);
     255extern void end_line(void);
     256extern void bezier_control(float, float);
     257extern void bezier_end(float, float);
     258extern void start_poly(float, float);
     259extern void cont_poly(float, float);
     260extern void end_poly(float, float, char, float *, char, float);
     261extern void printellipse(float, float, float, float, char, float *, char, float);
     262extern void set_comment(int);
     263extern void comment(const char *);
     264extern void print_label(Label);
     265extern void setlinewidth(float);
     266extern void setlinestyle(char, Flist);
     267extern void printline(float, float, float, float, char);
     268
     269/* Defined in process.c */
     270extern void process_graphs(Graphs);
     271
     272/* Defined in show.c */
     273extern void show_graphs(Graphs);
     274
     275/* Defined in token.c */
     276extern void set_input_file(const char *);
     277extern void error_header(void);
     278extern int getstring(char *);
     279extern int getint(int *);
     280extern int getfloat(float *);
     281extern char *getmultiline(void);
     282extern char *getlabel(void);
     283extern void rejecttoken(void);