Move plotter headers into include folder.

This commit is contained in:
Wayne Stambaugh 2021-08-18 16:38:14 -04:00
parent 5574682d44
commit 46b959c3e3
54 changed files with 70 additions and 107 deletions

View File

@ -32,7 +32,7 @@
*/
#include <gr_basic.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <trigo.h>
#include <basic_gal.h>

View File

@ -28,11 +28,10 @@
#include <bitmap_base.h>
#include <eda_rect.h> // for EDA_RECT
#include <gal/color4d.h> // for COLOR4D
#include <gr_basic.h>
#include <math/util.h> // for KiROUND
#include <math/util.h> // for KiROUND
#include <memory> // for make_unique, unique_ptr
#include <plotter.h>
#include <plotters/plotter.h>
#include <richio.h>
#include <wx/bitmap.h> // for wxBitmap
#include <wx/mstream.h>

View File

@ -30,11 +30,10 @@
*/
#include <gr_basic.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <eda_text.h> // EDA_TEXT_HJUSTIFY_T and EDA_TEXT_VJUSTIFY_T
#include <trigo.h>
#include <base_screen.h>
#include <gr_text.h>
#include <math/util.h> // for KiROUND
#include <basic_gal.h>

View File

@ -25,7 +25,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include "plotter_dxf.h"
#include <plotters/plotter_dxf.h>
#include <macros.h>
#include <string_utils.h>
#include <convert_basic_shapes_to_polygon.h>

View File

@ -32,8 +32,8 @@
#include <build_version.h>
#include "plotter_gerber.h"
#include "gbr_plotter_aperture_macros.h"
#include <plotters/plotter_gerber.h>
#include <plotters/gbr_plotter_aperture_macros.h>
#include <gbr_metadata.h>

View File

@ -200,7 +200,7 @@
#include <math/util.h> // for KiROUND
#include <trigo.h>
#include "plotter_hpgl.h"
#include <plotters/plotter_hpgl.h>
/// Compute the distance between two DPOINT points.

View File

@ -37,7 +37,7 @@
#include <macros.h>
#include <trigo.h>
#include "plotters_pslike.h"
#include <plotters/plotters_pslike.h>
std::string PDF_PLOTTER::encodeStringForPlotter( const wxString& aText )

View File

@ -32,7 +32,7 @@
#include <math/util.h> // for KiROUND
#include <trigo.h>
#include "plotters_pslike.h"
#include <plotters/plotters_pslike.h>
/* Forward declaration of the font width metrics

View File

@ -100,7 +100,7 @@
#include <cstdint>
#include <wx/mstream.h>
#include "plotters_pslike.h"
#include <plotters/plotters_pslike.h>
/**

View File

@ -23,7 +23,10 @@
*/
#include <eda_item.h>
#include <plotters_specific.h>
#include <plotters/plotter_dxf.h>
#include <plotters/plotter_hpgl.h>
#include <plotters/plotters_pslike.h>
#include <plotters/plotter_gerber.h>
#include <drawing_sheet/ds_data_item.h>
#include <drawing_sheet/ds_draw_item.h>
#include <drawing_sheet/ds_painter.h>

View File

@ -37,11 +37,9 @@
* is not handled here.
*/
#include <fill_type.h>
#include <vector>
#include <trigo.h>
#include <eda_item.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <geometry/shape_line_chain.h>
#include <geometry/geometry_utils.h>
#include <bezier_curves.h>

View File

@ -31,9 +31,9 @@
#include <eeschema_settings.h>
#include <kiface_i.h>
#include <locale_io.h>
#include "../../common/plotters/plotter_hpgl.h"
#include "../../common/plotters/plotter_dxf.h"
#include "../../common/plotters/plotters_pslike.h"
#include <plotters/plotter_hpgl.h>
#include <plotters/plotter_dxf.h>
#include <plotters/plotters_pslike.h>
#include <reporter.h>
#include <trace_helpers.h>
#include <settings/settings_manager.h>

View File

@ -31,7 +31,7 @@
#ifndef __DIALOG_PLOT_SCHEMATIC__
#define __DIALOG_PLOT_SCHEMATIC__
#include <plotter.h>
#include <plotters/plotter.h>
#include <dialog_plot_schematic_base.h>
#include <widgets/unit_binder.h>

View File

@ -24,7 +24,7 @@
*/
#include <sch_draw_panel.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <trigo.h>
#include <base_units.h>
#include <widgets/msgpanel.h>

View File

@ -22,7 +22,7 @@
*/
#include <sch_draw_panel.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <trigo.h>
#include <bezier_curves.h>
#include <base_units.h>

View File

@ -22,8 +22,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <eda_draw_frame.h>
#include <sch_draw_panel.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <trigo.h>
#include <base_units.h>
#include <widgets/msgpanel.h>

View File

@ -23,11 +23,10 @@
*/
#include <eda_item.h>
#include <gr_text.h>
#include <string_utils.h>
#include <sch_draw_panel.h>
#include <eda_draw_frame.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <trigo.h>
#include <base_units.h>
#include <widgets/msgpanel.h>

View File

@ -23,8 +23,7 @@
*/
#include <sch_draw_panel.h>
#include <eda_draw_frame.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <trigo.h>
#include <base_units.h>
#include <widgets/msgpanel.h>

View File

@ -22,13 +22,14 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <eda_draw_frame.h>
#include <sch_draw_panel.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <trigo.h>
#include <base_units.h>
#include <widgets/msgpanel.h>
#include <bitmaps.h>
#include <eda_draw_frame.h>
#include <general.h>
#include <lib_rectangle.h>
#include <settings/color_settings.h>

View File

@ -24,7 +24,7 @@
*/
#include <sch_draw_panel.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <sch_screen.h>
#include <richio.h>
#include <general.h>

View File

@ -27,8 +27,7 @@
#include <common.h>
#include <sch_draw_panel.h>
#include <plotter.h>
#include <gr_text.h>
#include <plotters/plotter.h>
#include <trigo.h>
#include <base_units.h>
#include <widgets/msgpanel.h>

View File

@ -27,7 +27,7 @@
*/
#include <sch_draw_panel.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <settings/color_settings.h>
#include <bitmaps.h>
#include <base_units.h>

View File

@ -34,9 +34,8 @@
#include <wx/menu.h>
#include <common.h> // for ExpandTextVars
#include <eda_item.h>
#include <gr_text.h>
#include <sch_edit_frame.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <bitmaps.h>
#include <core/mirror.h>
#include <kiway.h>

View File

@ -27,16 +27,12 @@
#include <unordered_map>
#include <unordered_set>
#include <vector>
#include <eda_item.h>
#include <plotter.h> // for PLOT_DASH_TYPE definition
#include <gal/color4d.h>
#include <plotters/plotter.h> // for PLOT_DASH_TYPE definition
#include <default_values.h>
#include <sch_sheet_path.h>
#include <render_settings.h>
#include <netclass.h>
class CONNECTION_GRAPH;

View File

@ -29,7 +29,7 @@
#include <sch_draw_panel.h>
#include <trigo.h>
#include <common.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <bitmaps.h>
#include <core/mirror.h>
#include <geometry/shape_rect.h>

View File

@ -25,7 +25,7 @@
#include <bitmaps.h>
#include <core/mirror.h>
#include <sch_painter.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <sch_line.h>
#include <sch_edit_frame.h>
#include <settings/color_settings.h>

View File

@ -28,7 +28,7 @@
*/
#include <sch_draw_panel.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <bitmaps.h>
#include <schematic.h>
#include <sch_no_connect.h>

View File

@ -44,7 +44,7 @@
#include <lib_rectangle.h>
#include <lib_text.h>
#include <math/util.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <sch_bitmap.h>
#include <sch_bus_entry.h>
#include <sch_symbol.h>

View File

@ -28,9 +28,9 @@
#include <sch_plugins/cadstar/cadstar_sch_archive_parser.h>
#include <layer_ids.h> // SCH_LAYER_ID
#include <plotter.h> // PLOT_DASH_TYPE
#include <pin_type.h> // ELECTRICAL_PINTYPE
#include <layer_ids.h> // SCH_LAYER_ID
#include <plotters/plotter.h> // PLOT_DASH_TYPE
#include <pin_type.h> // ELECTRICAL_PINTYPE
#include <sch_io_mgr.h>
#include <wx/filename.h>

View File

@ -36,7 +36,7 @@
#include <id.h>
#include <string_utils.h>
#include <kiway.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <project.h>
#include <reporter.h>
#include <sch_draw_panel.h>

View File

@ -25,10 +25,9 @@
#include <bitmaps.h>
#include <core/mirror.h>
#include <sch_draw_panel.h>
#include <gr_text.h>
#include <trigo.h>
#include <sch_edit_frame.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <string_utils.h>
#include <widgets/msgpanel.h>
#include <math/util.h> // for KiROUND

View File

@ -27,9 +27,8 @@
#include <bitmaps.h>
#include <general.h>
#include <geometry/shape_line_chain.h>
#include <gr_text.h>
#include <string_utils.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <sch_draw_panel.h>
#include <sch_edit_frame.h>
#include <sch_sheet.h>

View File

@ -30,7 +30,7 @@
#include <sch_symbol.h>
#include <sch_edit_frame.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <widgets/msgpanel.h>
#include <gal/stroke_font.h>
#include <bitmaps.h>

View File

@ -25,7 +25,7 @@
#include <sch_painter.h>
#include <symbol_edit_frame.h>
#include <locale_io.h>
#include "../../common/plotters/plotters_pslike.h"
#include <plotters/plotters_pslike.h>
void SYMBOL_EDIT_FRAME::SVGPlotSymbol( const wxString& aFullFileName )
{

View File

@ -25,7 +25,7 @@
#pragma once
#include <plotter.h>
#include "plotter.h"
class DXF_PLOTTER : public PLOTTER

View File

@ -26,7 +26,7 @@
#pragma once
#include <plotter.h>
#include "plotter.h"
#include "gbr_plotter_apertures.h"
class SHAPE_ARC;

View File

@ -27,7 +27,7 @@
#include <list>
#include <plotter.h>
#include "plotter.h"
class HPGL_PLOTTER : public PLOTTER

View File

@ -25,7 +25,7 @@
#pragma once
#include <plotter.h>
#include "plotter.h"
/**

View File

@ -1,32 +0,0 @@
/*
* This program source code file is part of KiCad, a free EDA CAD application.
*
* Copyright (C) 2020 Jean-Pierre Charras, jp.charras at wanadoo.fr
* Copyright (C) 2016-2020 KiCad Developers, see AUTHORS.txt for contributors.
*
* This program is free software: you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation, either version 3 of the License, or (at your
* option) any later version.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License for more details.
*
* You should have received a copy of the GNU General Public License along
* with this program. If not, see <http://www.gnu.org/licenses/>.
*/
/**
* Plotting engines (PostScript, Gerber, HPGL and DXF)
*
* @file plotters_specific.h
*/
#pragma once
#include <../common/plotters/plotter_hpgl.h>
#include <../common/plotters/plotter_gerber.h>
#include <../common/plotters/plotter_dxf.h>
#include <../common/plotters/plotters_pslike.h>

View File

@ -1,7 +1,7 @@
/*
* This program source code file is part of KiCad, a free EDA CAD application.
*
* Copyright (C) 1992-2018 KiCad Developers, see AUTHORS.txt for contributors.
* Copyright (C) 1992-2021 KiCad Developers, see AUTHORS.txt for contributors.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@ -23,7 +23,7 @@
#include <kiface_i.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <confirm.h>
#include <pcb_edit_frame.h>
#include <pcbnew_settings.h>

View File

@ -27,9 +27,11 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <plotters_specific.h>
#include <plotters/plotter_dxf.h>
#include <plotters/plotter_hpgl.h>
#include <plotters/plotter_gerber.h>
#include <plotters/plotters_pslike.h>
#include <eda_item.h>
#include <gr_text.h>
#include <confirm.h>
#include <string_utils.h>
#include <locale_io.h>

View File

@ -35,7 +35,7 @@
* and the CNC-7 manual.
*/
#include <plotter.h>
#include <plotters/plotter.h>
#include <string_utils.h>
#include <locale_io.h>
#include <macros.h>

View File

@ -27,7 +27,7 @@
* @brief Functions to create drill files in gerber X2 format.
*/
#include "../../common/plotters/plotter_gerber.h"
#include <plotters/plotter_gerber.h>
#include <string_utils.h>
#include <locale_io.h>
#include <board.h>

View File

@ -2,7 +2,7 @@
* This program source code file is part of KiCad, a free EDA CAD application.
*
* Copyright (C) 2018 Jean_Pierre Charras <jp.charras at wanadoo.fr>
* Copyright (C) 1992-2020 KiCad Developers, see AUTHORS.txt for contributors.
* Copyright (C) 1992-2021 KiCad Developers, see AUTHORS.txt for contributors.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
@ -34,7 +34,7 @@
#include <build_version.h>
#include <locale_io.h>
#include <pcb_edit_frame.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <board.h>
#include <board_design_settings.h>

View File

@ -27,7 +27,7 @@
#include <vector>
#include "../../common/plotters/plotter_gerber.h"
#include <plotters/plotter_gerber.h>
#include <string_utils.h>
#include <locale_io.h>
#include <macros.h>

View File

@ -28,7 +28,7 @@
#include <math/util.h> // for KiROUND
#include <pcb_plot_params.h>
#include <pcb_plot_params_parser.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <settings/color_settings.h>

View File

@ -23,8 +23,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <outline_mode.h>
#include <plotter.h>
#include <plotters/plotter.h>
#include <layer_ids.h>
class COLOR_SETTINGS;

View File

@ -27,7 +27,7 @@
* @file pcbnew/pcbplot.cpp
*/
#include <plotter.h>
#include <plotters/plotter.h>
#include <pcbplot.h>
#include <base_units.h>
#include <locale_io.h>

View File

@ -49,7 +49,10 @@
#include <pcb_dimension.h>
#include <pcbplot.h>
#include <plotters_specific.h>
#include <plotters/plotter_dxf.h>
#include <plotters/plotter_hpgl.h>
#include <plotters/plotter_gerber.h>
#include <plotters/plotters_pslike.h>
#include <pcb_painter.h>
#include <gbr_metadata.h>
#include <advanced_config.h>

View File

@ -35,7 +35,7 @@
#include <macros.h>
#include <math/util.h> // for KiROUND, Clamp
#include <math/vector2d.h> // for VECTOR2I
#include "../common/plotters/plotter_gerber.h"
#include <plotters/plotter_gerber.h>
#include <trigo.h>
#include <board_design_settings.h> // for BOARD_DESIGN_SETTINGS

View File

@ -113,7 +113,7 @@ HANDLE_EXCEPTIONS(PLUGIN::FootprintDelete)
%include <plotcontroller.h>
%include <pcb_plot_params.h>
%include <plotter.h>
%include <plotters/plotter.h>
%include <exporters/export_d356.h>
%include <exporters/export_vrml.h>
%include <exporters/gendrill_file_writer_base.h>