get_logic_item(temp.logic_id)->get_in_logic_connect_position(a, b);
draw_line(w+item_y_offset, z+item_y_offset, a+x_offset, b+y_offset,color_out);
get_window()->draw_line(gc, a, b, a+x_offset, b+y_offset);
get_logic_item(temp.logic_id)->get_in_logic_connect_position(a, b);
draw_line(w+item_y_offset, z+item_y_offset, a+x_offset, b+y_offset,color_out);
get_window()->draw_line(gc, a, b, a+x_offset, b+y_offset);