2 gchar
*o_save_objects(OBJECT
*object_list
);
5 void f_print_set_line_width(FILE *fp
, int width
);
6 void f_print_set_color(FILE *fp
, int color
);
7 int f_print_header(TOPLEVEL
*toplevel
, FILE *fp
, int paper_size_x
, int paper_size_y
, int eps
);
8 void f_print_footer(FILE *fp
);
9 void f_print_objects(TOPLEVEL
*toplevel
, FILE *fp
, OBJECT
*head
, int start_x
, int start_y
, float scale
, int unicode_count
, gunichar
*unicode_table
);
10 int f_print_initialize_glyph_table(void);
13 int vstbl_lookup_str(const vstbl_entry
*table
, int size
, const char *str
);
14 int vstbl_get_val(const vstbl_entry
*table
, int index
);
15 SCM
g_rc_component_library(SCM path
, SCM name
);
16 SCM
g_rc_component_library_command (SCM listcmd
, SCM getcmd
, SCM name
);
17 SCM
g_rc_component_library_funcs (SCM listfunc
, SCM getfunc
, SCM name
);
18 SCM
g_rc_component_library_search(SCM path
);
19 SCM
g_rc_source_library(SCM path
);
20 SCM
g_rc_source_library_search(SCM path
);
21 SCM
g_rc_world_size(SCM width
, SCM height
, SCM border
);
22 SCM
g_rc_reset_component_library(void);
23 SCM
g_rc_reset_source_library(void);
24 SCM
g_rc_default_series_name(SCM name
);
25 SCM
g_rc_untitled_name(SCM name
);
26 SCM
g_rc_font_directory(SCM path
);
27 SCM
g_rc_bitmap_directory(SCM path
);
28 SCM
g_rc_scheme_directory(SCM path
);
29 SCM
g_rc_bus_ripper_symname(SCM scmsymname
);
30 SCM
g_rc_postscript_prolog(SCM scmsymname
);
31 SCM
g_rc_map_font_character_to_file(SCM character_param
, SCM file_param
);
32 SCM
g_rc_attribute_promotion(SCM mode
);
33 SCM
g_rc_promote_invisible(SCM mode
);
34 SCM
g_rc_keep_invisible(SCM mode
);
35 SCM
g_rc_always_promote_attributes(SCM scmsymname
);
38 void g_register_libgeda_funcs(void);
39 void g_register_libgeda_vars (void);
42 void g_init_attrib_smob(void);
43 SCM
g_get_attrib_name_value(SCM attrib_smob
);
44 SCM
g_calcule_new_attrib_bounds (SCM attrib_smob
, SCM scm_alignment
,
45 SCM scm_angle
, SCM scm_x
, SCM scm_y
);
46 SCM
g_get_attrib_bounds(SCM attrib_smob
);
47 SCM
g_get_attrib_angle(SCM attrib_smob
);
48 SCM
g_get_attrib_value_by_attrib_name(SCM object_smob
, SCM scm_attrib_name
);
49 void g_init_object_smob(void);
50 SCM
g_get_object_type(SCM object_smob
);
51 SCM
g_get_line_width(SCM object_smob
);
52 void g_init_page_smob(void);
53 SCM
g_get_page_filename(SCM page_smob
);
56 OBJECT
*o_arc_read(TOPLEVEL
*toplevel
, OBJECT
*object_list
, char buf
[], unsigned int release_ver
, unsigned int fileformat_ver
);
57 char *o_arc_save(OBJECT
*object
);
58 void o_arc_print(TOPLEVEL
*toplevel
, FILE *fp
, OBJECT
*o_current
, int origin_x
, int origin_y
);
59 void o_arc_print_solid(TOPLEVEL
*toplevel
, FILE *fp
, int x
, int y
, int radius
, int angle1
, int angle2
, int color
, int arc_width
, int length
, int space
, int origin_x
, int origin_y
);
60 void o_arc_print_dotted(TOPLEVEL
*toplevel
, FILE *fp
, int x
, int y
, int radius
, int angle1
, int angle2
, int color
, int arc_width
, int length
, int space
, int origin_x
, int origin_y
);
61 void o_arc_print_dashed(TOPLEVEL
*toplevel
, FILE *fp
, int x
, int y
, int radius
, int angle1
, int angle2
, int color
, int arc_width
, int length
, int space
, int origin_x
, int origin_y
);
62 void o_arc_print_center(TOPLEVEL
*toplevel
, FILE *fp
, int x
, int y
, int radius
, int angle1
, int angle2
, int color
, int arc_width
, int length
, int space
, int origin_x
, int origin_y
);
63 void o_arc_print_phantom(TOPLEVEL
*toplevel
, FILE *fp
, int x
, int y
, int radius
, int angle1
, int angle2
, int color
, int arc_width
, int length
, int space
, int origin_x
, int origin_y
);
66 OBJECT
*o_read_attribs(TOPLEVEL
*toplevel
,
67 OBJECT
*object_to_get_attribs
,
69 unsigned int release_ver
,
70 unsigned int fileformat_ver
);
71 gchar
*o_save_attribs(GList
*attribs
);
74 OBJECT
*o_box_read(TOPLEVEL
*toplevel
, OBJECT
*object_list
, char buf
[], unsigned int release_ver
, unsigned int fileformat_ver
);
75 char *o_box_save(OBJECT
*object
);
76 void o_box_print(TOPLEVEL
*toplevel
, FILE *fp
, OBJECT
*o_current
, int origin_x
, int origin_y
);
77 void o_box_print_solid(TOPLEVEL
*toplevel
, FILE *fp
, int x
, int y
, int width
, int height
, int color
, int line_width
, int length
, int space
, int origin_x
, int origin_y
);
78 void o_box_print_dotted(TOPLEVEL
*toplevel
, FILE *fp
, int x
, int y
, int width
, int height
, int color
, int line_width
, int length
, int space
, int origin_x
, int origin_y
);
79 void o_box_print_dashed(TOPLEVEL
*toplevel
, FILE *fp
, int x
, int y
, int width
, int height
, int color
, int line_width
, int length
, int space
, int origin_x
, int origin_y
);
80 void o_box_print_center(TOPLEVEL
*toplevel
, FILE *fp
, int x
, int y
, int width
, int height
, int color
, int line_width
, int length
, int space
, int origin_x
, int origin_y
);
81 void o_box_print_phantom(TOPLEVEL
*toplevel
, FILE *fp
, int x
, int y
, int width
, int height
, int color
, int line_width
, int length
, int space
, int origin_x
, int origin_y
);
82 void o_box_print_filled(TOPLEVEL
*toplevel
, FILE *fp
, int x
, int y
, int width
, int height
, int color
, int fill_width
, int angle1
, int pitch1
, int angle2
, int pitch2
, int origin_x
, int origin_y
);
83 void o_box_print_mesh(TOPLEVEL
*toplevel
, FILE *fp
, int x
, int y
, int width
, int height
, int color
, int fill_width
, int angle1
, int pitch1
, int angle2
, int pitch2
, int origin_x
, int origin_y
);
84 void o_box_print_hatch(TOPLEVEL
*toplevel
, FILE *fp
, int x
, int y
, int width
, int height
, int color
, int fill_width
, int angle1
, int pitch1
, int angle2
, int pitch2
, int origin_x
, int origin_y
);
87 OBJECT
*o_bus_read(TOPLEVEL
*toplevel
, OBJECT
*object_list
, char buf
[], unsigned int release_ver
, unsigned int fileformat_ver
);
88 char *o_bus_save(OBJECT
*object
);
89 void o_bus_print(TOPLEVEL
*toplevel
, FILE *fp
, OBJECT
*o_current
, int origin_x
, int origin_y
);
91 /* o_circle_basic.c */
92 OBJECT
*o_circle_read(TOPLEVEL
*toplevel
, OBJECT
*object_list
, char buf
[], unsigned int release_ver
, unsigned int fileformat_ver
);
93 char *o_circle_save(OBJECT
*object
);
94 void o_circle_print(TOPLEVEL
*toplevel
, FILE *fp
, OBJECT
*o_current
, int origin_x
, int origin_y
);
95 void o_circle_print_solid(TOPLEVEL
*toplevel
, FILE *fp
, int x
, int y
, int radius
, int color
, int circle_width
, int length
, int space
, int origin_x
, int origin_y
);
96 void o_circle_print_dotted(TOPLEVEL
*toplevel
, FILE *fp
, int x
, int y
, int radius
, int color
, int circle_width
, int length
, int space
, int origin_x
, int origin_y
);
97 void o_circle_print_dashed(TOPLEVEL
*toplevel
, FILE *fp
, int x
, int y
, int radius
, int color
, int circle_width
, int length
, int space
, int origin_x
, int origin_y
);
98 void o_circle_print_center(TOPLEVEL
*toplevel
, FILE *fp
, int x
, int y
, int radius
, int color
, int circle_width
, int length
, int space
, int origin_x
, int origin_y
);
99 void o_circle_print_phantom(TOPLEVEL
*toplevel
, FILE *fp
, int x
, int y
, int radius
, int color
, int circle_width
, int length
, int space
, int origin_x
, int origin_y
);
100 void o_circle_print_filled(TOPLEVEL
*toplevel
, FILE *fp
, int x
, int y
, int radius
, int color
, int fill_width
, int angle1
, int pitch1
, int angle2
, int pitch2
, int origin_x
, int origin_y
);
101 void o_circle_print_mesh(TOPLEVEL
*toplevel
, FILE *fp
, int x
, int y
, int radius
, int color
, int fill_width
, int angle1
, int pitch1
, int angle2
, int pitch2
, int origin_x
, int origin_y
);
102 void o_circle_print_hatch(TOPLEVEL
*toplevel
, FILE *fp
, int x
, int y
, int radius
, int color
, int fill_width
, int angle1
, int pitch1
, int angle2
, int pitch2
, int origin_x
, int origin_y
);
104 /* o_complex_basic.c */
105 OBJECT
*o_complex_read(TOPLEVEL
*toplevel
, OBJECT
*object_list
, char buf
[], unsigned int release_ver
, unsigned int fileformat_ver
);
106 char *o_complex_save(OBJECT
*object
);
109 OBJECT
*o_line_read(TOPLEVEL
*toplevel
, OBJECT
*object_list
, char buf
[], unsigned int release_ver
, unsigned int fileformat_ver
);
110 char *o_line_save(OBJECT
*object
);
111 void o_line_print(TOPLEVEL
*toplevel
, FILE *fp
, OBJECT
*o_current
, int origin_x
, int origin_y
);
112 void o_line_print_solid(TOPLEVEL
*toplevel
, FILE *fp
, int x1
, int y1
, int x2
, int y2
, int color
, int line_width
, int length
, int space
, int origin_x
, int origin_y
);
113 void o_line_print_dotted(TOPLEVEL
*toplevel
, FILE *fp
, int x1
, int y1
, int x2
, int y2
, int color
, int line_width
, int length
, int space
, int origin_x
, int origin_y
);
114 void o_line_print_dashed(TOPLEVEL
*toplevel
, FILE *fp
, int x1
, int y1
, int x2
, int y2
, int color
, int line_width
, int length
, int space
, int origin_x
, int origin_y
);
115 void o_line_print_center(TOPLEVEL
*toplevel
, FILE *fp
, int x1
, int y1
, int x2
, int y2
, int color
, int line_width
, int length
, int space
, int origin_x
, int origin_y
);
116 void o_line_print_phantom(TOPLEVEL
*toplevel
, FILE *fp
, int x1
, int y1
, int x2
, int y2
, int color
, int line_width
, int length
, int space
, int origin_x
, int origin_y
);
119 OBJECT
*o_net_read(TOPLEVEL
*toplevel
, OBJECT
*object_list
, char buf
[], unsigned int release_ver
, unsigned int fileformat_ver
);
120 char *o_net_save(OBJECT
*object
);
121 void o_net_print(TOPLEVEL
*toplevel
, FILE *fp
, OBJECT
*o_current
, int origin_x
, int origin_y
);
124 OBJECT
*o_picture_read(TOPLEVEL
*toplevel
, OBJECT
*object_list
,
125 const char *first_line
,
127 unsigned int release_ver
,
128 unsigned int fileformat_ver
);
129 char *o_picture_save(OBJECT
*object
);
130 void o_picture_print(TOPLEVEL
*toplevel
, FILE *fp
, OBJECT
*o_current
,
131 int origin_x
, int origin_y
);
134 OBJECT
*o_pin_read(TOPLEVEL
*toplevel
, OBJECT
*object_list
, char buf
[], unsigned int release_ver
, unsigned int fileformat_ver
);
135 char *o_pin_save(OBJECT
*object
);
136 void o_pin_print(TOPLEVEL
*toplevel
, FILE *fp
, OBJECT
*o_current
, int origin_x
, int origin_y
);
139 OBJECT
*o_text_read(TOPLEVEL
*toplevel
,
141 const char *first_line
,
143 unsigned int release_ver
,
144 unsigned int fileformat_ver
);
145 char *o_text_save(OBJECT
*object
);
146 void o_text_print_text_width(FILE *fp
, char *output_string
);
147 void o_text_print_text_height(FILE *fp
, int size
);
148 void o_text_print_text_height_full(FILE *fp
, char *string
, int size
);
149 void o_text_print_text_string(FILE *fp
, char *string
, int unicode_count
, gunichar
*unicode_table
);
150 void o_text_print(TOPLEVEL
*toplevel
, FILE *fp
, OBJECT
*o_current
, int origin_x
, int origin_y
, int unicode_count
, gunichar
*unicode_table
);
153 void s_clib_init (void);
156 void s_color_init(void);
157 char *s_color_ps_string(int color
);
160 gchar
* s_encoding_base64_encode (gchar
* src
, guint srclen
, guint
* dstlenp
, gboolean strict
);
161 gchar
* s_encoding_base64_decode (gchar
* src
, guint srclen
, guint
* dstlenp
);
164 TextBuffer
*s_textbuffer_new (gchar
*data
, const gint size
);
165 TextBuffer
*s_textbuffer_free (TextBuffer
*tb
);
166 void s_textbuffer_seek (TextBuffer
*tb
, const gint offset
);
167 gchar
*s_textbuffer_next (TextBuffer
*tb
, const gsize count
);
168 gchar
*s_textbuffer_next_line (TextBuffer
*tb
);