aboutsummaryrefslogtreecommitdiffstats
path: root/src/prototypes.h
blob: b0aac6f48c79b6acab463cec2bada2c029add2ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/* libjwg.c */
void (*Data_default_constructor)(Data);
void (*Data_default_destructor)(Data);
void (*Handle_default_constructor)(Handle);
void (*Handle_default_destructor)(Handle);
void jwg_xform(Handle h, Jwgpos *pos);
void jwg_write_line(Handle h, Jwgline *line);
void jwg_write_polygon(Handle h, Jwgline *line);
int jwg_create_handle__(int *format, char *fname, int len);
void jwg_pass_data__(int *serial, float *ptr, int *w, int *h, int *l);
void jwg_destroy_data__(int *serial);
void jwg_set_xform__(int *serial, float *xc, float *yc, float *a, float *b, float *c, float *d);
void jwg_add_xform__(int *serial, float *xc, float *yc, float *a, float *b, float *c, float *d);
void jwg_add_rotation__(int *serial, float *th);
void jwg_def_xform__(int *serial);
void jwg_set_brush__(int *serial, float *r, float *g, float *b, float *density);
void jwg_set_pen__(int *serial, float *r, float *g, float *b, float *width);
void jwg_set_textcolor__(int *serial, float *r, float *g, float *b);
void jwg_set_textheight__(int *serial, float *height);
void jwg_contour__(int *serial, float *level, int *side, int *lp);
void jwg_draw_line__(int *serial, float *x, float *y, int *n);
void jwg_draw_polygon__(int *serial, float *x, float *y, int *n);
void jwg_reset_point__(int *serial);
void jwg_add_point__(int *serial, float *x, float *y);
void jwg_close_polygon__(int *serial);
void jwg_close_line__(int *serial);
void jwg_destroy_handle__(int *serial);
void jwg_push_state__(int *serial);
void jwg_pop_state__(int *serial);
void jwg_draw_text__(int *serial, float *x, float *y, char *str, int len);
void jwg_draw_text_matrix__(int *serial, float *x, float *y, float *a, float *b, float *c, float *d, char *str, int len);
/* version.c */
/* cgm.c */
void cgm_init_private(Handle h);
void cgm_do_line(Handle h, Jwgline *line);
void cgm_init_xform(Handle h);
void cgm_do_poly(Handle h, Jwgline *line);
void cgm_do_text(Handle h, Jwgpos pos, char *str);
/* contour.c */
void do_contour(Handle h, float level, int side, int lp);
/* version.c */
/* xfig.c */
void xfig_init_private(Handle h);
void xfig_do_line(Handle h, Jwgline *line);
void xfig_init_xform(Handle h);
void xfig_do_poly(Handle h, Jwgline *line);
void xfig_do_text(Handle h, Jwgpos pos, char *str);
/* util.c */