Index: trunk/src_plugins/export_c_draw/export_c_draw.c =================================================================== --- trunk/src_plugins/export_c_draw/export_c_draw.c (revision 34525) +++ trunk/src_plugins/export_c_draw/export_c_draw.c (revision 34526) @@ -366,13 +366,6 @@ poly_post(); } - -static void c_draw_calibrate(rnd_hid_t *hid, double xval, double yval) -{ - rnd_message(RND_MSG_ERROR, "c_draw_calibrate() not implemented"); - return; -} - static void c_draw_set_crosshair(rnd_hid_t *hid, rnd_coord_t x, rnd_coord_t y, int a) { } @@ -424,7 +417,6 @@ c_draw_hid.fill_polygon = c_draw_fill_polygon; c_draw_hid.fill_polygon_offs = c_draw_fill_polygon_offs; c_draw_hid.fill_rect = c_draw_fill_rect; - c_draw_hid.calibrate = c_draw_calibrate; c_draw_hid.set_crosshair = c_draw_set_crosshair; c_draw_hid.argument_array = c_draw_values; Index: trunk/src_plugins/export_dxf/dxf.c =================================================================== --- trunk/src_plugins/export_dxf/dxf.c (revision 34525) +++ trunk/src_plugins/export_dxf/dxf.c (revision 34526) @@ -503,12 +503,6 @@ fix_rect_coords(); } -static void dxf_calibrate(rnd_hid_t *hid, double xval, double yval) -{ - rnd_message(RND_MSG_ERROR, "dxf_calibrate() not implemented"); - return; -} - static void dxf_set_crosshair(rnd_hid_t *hid, rnd_coord_t x, rnd_coord_t y, int a) { } @@ -560,7 +554,6 @@ dxf_hid.fill_polygon = dxf_fill_polygon; dxf_hid.fill_polygon_offs = dxf_fill_polygon_offs; dxf_hid.fill_rect = dxf_fill_rect; - dxf_hid.calibrate = dxf_calibrate; dxf_hid.set_crosshair = dxf_set_crosshair; dxf_hid.argument_array = dxf_values; Index: trunk/src_plugins/export_excellon/excellon.c =================================================================== --- trunk/src_plugins/export_excellon/excellon.c (revision 34525) +++ trunk/src_plugins/export_excellon/excellon.c (revision 34526) @@ -457,11 +457,6 @@ excellon_fill_polygon(gc, 0, NULL, NULL); } -static void excellon_calibrate(rnd_hid_t *hid, double xval, double yval) -{ - rnd_message(RND_MSG_ERROR, "Excellon internal error: can not calibrate()\n"); -} - static int excellon_usage(rnd_hid_t *hid, const char *topic) { fprintf(stderr, "\nexcellon exporter command line arguments:\n\n"); @@ -525,7 +520,6 @@ excellon_hid.fill_polygon = excellon_fill_polygon; excellon_hid.fill_polygon_offs = excellon_fill_polygon_offs; excellon_hid.fill_rect = excellon_fill_rect; - excellon_hid.calibrate = excellon_calibrate; excellon_hid.set_crosshair = excellon_set_crosshair; excellon_hid.usage = excellon_usage; excellon_hid.argument_array = excellon_values; Index: trunk/src_plugins/export_gerber/gerber.c =================================================================== --- trunk/src_plugins/export_gerber/gerber.c (revision 34525) +++ trunk/src_plugins/export_gerber/gerber.c (revision 34526) @@ -993,11 +993,6 @@ gerber_fill_polygon(gc, 5, x, y); } -static void gerber_calibrate(rnd_hid_t *hid, double xval, double yval) -{ - CRASH("gerber_calibrate"); -} - static int gerber_usage(rnd_hid_t *hid, const char *topic) { fprintf(stderr, "\ngerber exporter command line arguments:\n\n"); @@ -1106,7 +1101,6 @@ gerber_hid.fill_polygon = gerber_fill_polygon; gerber_hid.fill_polygon_offs = gerber_fill_polygon_offs; gerber_hid.fill_rect = gerber_fill_rect; - gerber_hid.calibrate = gerber_calibrate; gerber_hid.set_crosshair = gerber_set_crosshair; gerber_hid.usage = gerber_usage; gerber_hid.argument_array = gerber_values; Index: trunk/src_plugins/export_openems/export_openems.c =================================================================== --- trunk/src_plugins/export_openems/export_openems.c (revision 34525) +++ trunk/src_plugins/export_openems/export_openems.c (revision 34526) @@ -888,13 +888,6 @@ } } - -static void openems_calibrate(rnd_hid_t *hid, double xval, double yval) -{ - rnd_message(RND_MSG_ERROR, "openems_calibrate() not implemented"); - return; -} - static void openems_set_crosshair(rnd_hid_t *hid, rnd_coord_t x, rnd_coord_t y, int a) { } @@ -953,7 +946,6 @@ openems_hid.fill_polygon = openems_fill_polygon; openems_hid.fill_polygon_offs = openems_fill_polygon_offs; openems_hid.fill_rect = openems_fill_rect; - openems_hid.calibrate = openems_calibrate; openems_hid.set_crosshair = openems_set_crosshair; openems_hid.argument_array = openems_values; Index: trunk/src_plugins/export_openscad/export_openscad.c =================================================================== --- trunk/src_plugins/export_openscad/export_openscad.c (revision 34525) +++ trunk/src_plugins/export_openscad/export_openscad.c (revision 34526) @@ -583,12 +583,6 @@ openscad_fill_polygon_offs(gc, n_coords, x, y, 0, 0); } -static void openscad_calibrate(rnd_hid_t *hid, double xval, double yval) -{ - rnd_message(RND_MSG_ERROR, "openscad_calibrate() not implemented"); - return; -} - static void openscad_set_crosshair(rnd_hid_t *hid, rnd_coord_t x, rnd_coord_t y, int a) { } @@ -697,7 +691,6 @@ openscad_hid.fill_polygon = openscad_fill_polygon; openscad_hid.fill_polygon_offs = openscad_fill_polygon_offs; openscad_hid.fill_rect = openscad_fill_rect; - openscad_hid.calibrate = openscad_calibrate; openscad_hid.set_crosshair = openscad_set_crosshair; openscad_hid.argument_array = openscad_values; Index: trunk/src_plugins/export_png/png.c =================================================================== --- trunk/src_plugins/export_png/png.c (revision 34525) +++ trunk/src_plugins/export_png/png.c (revision 34526) @@ -1386,12 +1386,6 @@ png_fill_polygon_offs(gc, n_coords, x, y, 0, 0); } - -static void png_calibrate(rnd_hid_t *hid, double xval, double yval) -{ - CRASH("png_calibrate"); -} - static void png_set_crosshair(rnd_hid_t *hid, rnd_coord_t x, rnd_coord_t y, int a) { } @@ -1445,7 +1439,6 @@ png_hid.fill_polygon = png_fill_polygon; png_hid.fill_polygon_offs = png_fill_polygon_offs; png_hid.fill_rect = png_fill_rect; - png_hid.calibrate = png_calibrate; png_hid.set_crosshair = png_set_crosshair; png_hid.argument_array = png_values; Index: trunk/src_plugins/export_ps/eps.c =================================================================== --- trunk/src_plugins/export_ps/eps.c (revision 34525) +++ trunk/src_plugins/export_ps/eps.c (revision 34526) @@ -635,11 +635,6 @@ rnd_fprintf(f, "%mi %mi %mi %mi r\n", x1, y1, x2, y2); } -static void eps_calibrate(rnd_hid_t *hid, double xval, double yval) -{ - CRASH("eps_calibrate"); -} - static void eps_set_crosshair(rnd_hid_t *hid, rnd_coord_t x, rnd_coord_t y, int action) { } @@ -686,7 +681,6 @@ eps_hid.fill_polygon = eps_fill_polygon; eps_hid.fill_polygon_offs = eps_fill_polygon_offs; eps_hid.fill_rect = eps_fill_rect; - eps_hid.calibrate = eps_calibrate; eps_hid.set_crosshair = eps_set_crosshair; eps_hid.argument_array = eps_values; Index: trunk/src_plugins/export_ps/ps.h =================================================================== --- trunk/src_plugins/export_ps/ps.h (revision 34525) +++ trunk/src_plugins/export_ps/ps.h (revision 34526) @@ -2,7 +2,6 @@ extern rnd_hid_t ps_hid; extern void ps_hid_export_to_file(FILE *, rnd_hid_attr_val_t *, rnd_xform_t *); extern void ps_start_file(FILE *); -extern void ps_calibrate_1(rnd_hid_t *hid, double, double, int); extern void hid_eps_init(); extern void hid_eps_uninit(); void ps_ps_init(rnd_hid_t * hid); Index: trunk/src_plugins/export_svg/svg.c =================================================================== --- trunk/src_plugins/export_svg/svg.c (revision 34525) +++ trunk/src_plugins/export_svg/svg.c (revision 34526) @@ -874,12 +874,6 @@ } -static void svg_calibrate(rnd_hid_t *hid, double xval, double yval) -{ - rnd_message(RND_MSG_ERROR, "svg_calibrate() not implemented"); - return; -} - static void svg_set_crosshair(rnd_hid_t *hid, rnd_coord_t x, rnd_coord_t y, int a) { } @@ -931,7 +925,6 @@ svg_hid.fill_polygon = svg_fill_polygon; svg_hid.fill_polygon_offs = svg_fill_polygon_offs; svg_hid.fill_rect = svg_fill_rect; - svg_hid.calibrate = svg_calibrate; svg_hid.set_crosshair = svg_set_crosshair; svg_hid.argument_array = svg_values;