Logo Search packages:      
Sourcecode: jgraph version File versions  Download package

general.h

#ifndef _GENERAL_H
#define _GENERAL_H

/* list.c */
List get_node(List list);
List make_list(int size);
void insert(List item, List list);
void delete_item(List item);
void free_node(List node, List list);

/* prio_list.c */
void prio_insert(Prio_list node, Prio_list list, Boolean desc);

/* token.c */
void set_input_file(char *s);
void error_header(void);
int getstring(char *s);
int getfloat(float *f);
void rejecttoken(void);
int getint(int *i);
int getsystemstring(void);

/* printline.c */
void gsave(void);
void grestore(void);
void setfont(char *f, float s);
void setfill(float x, float y, char t, float *f, char p, float a);
void setgray(char t, float *f);
void printline(float x1, float y1, float x2, float y2,
             char orientation);
void print_ebar(float x1, float y1, float x2, float ms,
            char orientation);
void start_line(float x1, float y1, Curve c);
void cont_line(float x1, float y1);
void end_line(void);
void bezier_control(float x1, float y1);
void bezier_end(float x1, float y1);
void start_poly(float x1, float y1);
void cont_poly(float x1, float y1);
void end_poly(float x, float y, char ftype, float *fill, char pattern,
            float parg);
void printellipse(float x, float y, float radius1, float radius2,
              char ftype, float *fill, char pattern, float parg);
void set_comment(int c);
void comment(char *s);
void printline_c(float x1, float y1, float x2, float y2, Graph g);
void print_label(Label l);
void setlinewidth(float size);
void setlinestyle(char style, Flist glist);

/* edit.c */
void edit_graphs(Graphs gs);
void copy_label(Label l1, Label l2);

/* process.c */
void process_title(Graph g);
void process_legend(Graph g);
void process_axis1(Axis a, Graph g);
void process_axis2(Axis a, Graph g);
void process_label(Label l, Graph g, int adjust);
void process_label_max_n_mins(Label l, float len, float height);
void process_strings(Graph g);
void process_curve(Curve c, Graph g);
void process_curves(Graph g);
void process_label_extrema(Label l, Graph g);
void process_graph(Graph g);
void process_graphs(Graphs gs);

/* show.c */
void show_graphs(Graphs gs);

/* draw.c */
void draw_axis(Axis a, Axis other);
void draw_label(Label l);
void set_clip(Graph g);
void draw_curves(Graph g);
void draw_curve(Curve c, Graph g);
void draw_mark(float x, float y, Curve c, Graph g);
void draw_arrow(float x1, float y1, float x2, float y2, Curve c);
void draw_legend(Graph g);
void draw_strings(Graph g);
void draw_graph(Graph g);
void draw_graphs(Graphs gs, int pp, int landscape);
void draw_header(Graphs gs, int pp, int landscape);
void draw_footer(Graphs gs, int pp);

/* jgraph.c */
void new_graphs(Graphs gs);

#endif

Generated by  Doxygen 1.6.0   Back to index