Index: route.h =================================================================== --- route.h (revision 8371) +++ route.h (revision 8372) @@ -50,6 +50,7 @@ pcb_layer_id_t start_layer; /* The ID of the layer that the route started on */ pcb_layer_id_t end_layer; /* The ID of the layer that the route ended on, usually the same as the start for simple routes*/ pcb_board_t * PCB; + pcb_flag_t flags; int size; /* The number of active objects in the array */ int capacity; /* The size of the object array */ pcb_route_object_t * objects; /* Pointer to the object array data */ @@ -82,8 +83,10 @@ pcb_layer_id_t layer_id, pcb_coord_t thickness, pcb_coord_t clearance, + pcb_flag_t flags, int mod1, int mod2 ); + void pcb_route_direct( pcb_board_t * PCB, pcb_route_t * p_route, pcb_point_t * point1, @@ -90,9 +93,11 @@ pcb_point_t * point2, pcb_layer_id_t layer, pcb_coord_t thickness, - pcb_coord_t clearance ); + pcb_coord_t clearance, + pcb_flag_t flags ); int pcb_route_apply(const pcb_route_t * p_route); +int pcb_route_apply_to_line(const pcb_route_t * p_route,pcb_layer_t * Layer,pcb_line_t * apply_to_line); void pcb_route_draw( pcb_route_t * p_route,pcb_hid_gc_t GC ); void pcb_route_draw_drc( pcb_route_t * p_route,pcb_hid_gc_t GC );