Index: trunk/src/obj_line.h =================================================================== --- trunk/src/obj_line.h (revision 24046) +++ trunk/src/obj_line.h (revision 24047) @@ -88,9 +88,16 @@ void pcb_line_post(pcb_line_t *line); /*** DRC enforcement (obj_line_drcenf.c) ***/ + +/* Adjust the attached line to 45 degrees if necessary */ void pcb_line_adjust_attached(void); + +/* adjusts the insert lines to make them 45 degrees as necessary */ void pcb_line_adjust_attached_2lines(pcb_bool); + +/* makes the attached line fit into a 45 degree direction */ void pcb_line_45(pcb_attached_line_t *); + void pcb_line_enforce_drc(void); /* Rather than mode the line bounding box, we set it so the point bounding Index: trunk/src/obj_line_drcenf.c =================================================================== --- trunk/src/obj_line_drcenf.c (revision 24046) +++ trunk/src/obj_line_drcenf.c (revision 24047) @@ -42,7 +42,6 @@ static double drc_lines(pcb_point_t *end, pcb_bool way); -/* Adjust the attached line to 45 degrees if necessary */ void pcb_line_adjust_attached(void) { pcb_attached_line_t *line = &pcb_crosshair.AttachedLine; @@ -66,11 +65,8 @@ pcb_gui->control_is_pressed()); } -/* --------------------------------------------------------------------------- - * makes the attached line fit into a 45 degree direction +/* directions: * - * directions: - * * 0 * 7 1 * 6 2 @@ -145,7 +141,6 @@ } } -/* adjusts the insert lines to make them 45 degrees as necessary */ void pcb_line_adjust_attached_2lines(pcb_bool way) { pcb_coord_t dx, dy;