|
KiCad PCB EDA Suite
|
#include "dxf_import_plugin.h"#include <wx/arrstr.h>#include <wx/regex.h>#include <geometry/ellipse.h>#include <bezier_curves.h>#include <trigo.h>#include <macros.h>#include <cmath>#include <vector>#include <board.h>#include "common.h"#include "tinysplinecxx.h"Go to the source code of this file.
Macros | |
| #define | MIN_BULGE 0.0218 |
| #define | SCALE_FACTOR(x) |
Functions | |
| static std::vector< std::pair< DXF_IMPORT_UNITS, wxString > > | dxfImportUnitChoices () |
| wxArrayString | GetDxfImportUnitChoices () |
| DXF_IMPORT_UNITS | DxfImportUnitFromChoice (int aSelection) |
| #define MIN_BULGE 0.0218 |
Definition at line 84 of file dxf_import_plugin.cpp.
Referenced by DXF_IMPORT_PLUGIN::addVertex(), and DXF_IMPORT_PLUGIN::endEntity().
| #define SCALE_FACTOR | ( | x | ) |
Definition at line 86 of file dxf_import_plugin.cpp.
Referenced by DXF_IMPORT_PLUGIN::addPoint(), GENCAD_EXPORTER::createComponentsSection(), GENCAD_EXPORTER::createPadsShapesSection(), GENCAD_EXPORTER::createShapesSection(), GENCAD_EXPORTER::createTracksInfoData(), GERBER_FILE_IMAGE::ExecuteRS274XCommand(), GENCAD_EXPORTER::footprintWriteShape(), DXF_IMPORT_PLUGIN::insertArc(), DXF_IMPORT_PLUGIN::insertLine(), DXF_IMPORT_PLUGIN::lineWeightToWidth(), DXF_IMPORT_PLUGIN::mapDim(), DXF_IMPORT_PLUGIN::mapX(), GENCAD_EXPORTER::mapXTo(), DXF_IMPORT_PLUGIN::mapY(), GENCAD_EXPORTER::mapYTo(), and GENCAD_EXPORTER::writePadShape().
|
static |
Definition at line 1067 of file dxf_import_plugin.cpp.
References _, CM, FEET, INCH, MILS, and MM.
Referenced by DxfImportUnitFromChoice(), and GetDxfImportUnitChoices().
| DXF_IMPORT_UNITS DxfImportUnitFromChoice | ( | int | aSelection | ) |
Definition at line 1089 of file dxf_import_plugin.cpp.
References DEFAULT, and dxfImportUnitChoices().
Referenced by DIALOG_IMPORT_GFX_SCH::TransferDataFromWindow(), and DIALOG_IMPORT_GRAPHICS::TransferDataFromWindow().
| wxArrayString GetDxfImportUnitChoices | ( | ) |
Definition at line 1078 of file dxf_import_plugin.cpp.
References dxfImportUnitChoices().
Referenced by DIALOG_IMPORT_GFX_SCH::DIALOG_IMPORT_GFX_SCH(), and DIALOG_IMPORT_GRAPHICS::DIALOG_IMPORT_GRAPHICS().