|
KiCad PCB EDA Suite
|
#include <wx/dir.h>#include <wx/ffile.h>#include <wx/log.h>#include <wx/msgdlg.h>#include <wx/mstream.h>#include <board.h>#include <board_design_settings.h>#include <callback_gal.h>#include <confirm.h>#include <convert_basic_shapes_to_polygon.h>#include <fmt/core.h>#include <font/fontconfig.h>#include <footprint.h>#include <io/kicad/kicad_io_utils.h>#include <kiface_base.h>#include <layer_range.h>#include <macros.h>#include <pad.h>#include <pcb_dimension.h>#include <pcb_generator.h>#include <pcb_group.h>#include <pcb_io/kicad_sexpr/pcb_io_kicad_sexpr.h>#include <pcb_io/kicad_sexpr/pcb_io_kicad_sexpr_parser.h>#include <pcb_point.h>#include <pcb_reference_image.h>#include <pcb_barcode.h>#include <pcb_shape.h>#include <pcb_table.h>#include <pcb_tablecell.h>#include <pcb_target.h>#include <pcb_text.h>#include <pcb_textbox.h>#include <pcb_track.h>#include <pcbnew_settings.h>#include <pgm_base.h>#include <progress_reporter.h>#include <reporter.h>#include <string_utils.h>#include <trace_helpers.h>#include <wildcards_and_files_ext.h>#include <zone.h>#include <build_version.h>#include <filter_reader.h>#include <ctl_flags.h>Go to the source code of this file.
Functions | |
| std::string | formatInternalUnits (const int aValue, const EDA_DATA_TYPE aDataType=EDA_DATA_TYPE::DISTANCE) |
| std::string | formatInternalUnits (const VECTOR2I &aCoord) |
| std::string | formatInternalUnits (const VECTOR2I &aCoord, const FOOTPRINT *aParentFP) |
| bool | isDefaultTeardropParameters (const TEARDROP_PARAMETERS &tdParams) |
| std::string formatInternalUnits | ( | const int | aValue, |
| const EDA_DATA_TYPE | aDataType = EDA_DATA_TYPE::DISTANCE ) |
Definition at line 435 of file pcb_io_kicad_sexpr.cpp.
References DISTANCE, EDA_UNIT_UTILS::FormatInternalUnits(), and pcbIUScale.
Referenced by PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::format(), PCB_IO_KICAD_SEXPR::formatGeneral(), formatInternalUnits(), PCB_IO_KICAD_SEXPR::formatPolyPts(), PCB_IO_KICAD_SEXPR::formatSetup(), and PCB_IO_KICAD_SEXPR::formatTeardropParameters().
| std::string formatInternalUnits | ( | const VECTOR2I & | aCoord | ) |
Definition at line 441 of file pcb_io_kicad_sexpr.cpp.
References EDA_UNIT_UTILS::FormatInternalUnits(), and pcbIUScale.
Definition at line 447 of file pcb_io_kicad_sexpr.cpp.
References formatInternalUnits(), FOOTPRINT::GetOrientation(), FOOTPRINT::GetPosition(), and RotatePoint().
| bool isDefaultTeardropParameters | ( | const TEARDROP_PARAMETERS & | tdParams | ) |
Definition at line 717 of file pcb_io_kicad_sexpr.cpp.
References TEARDROP_PARAMETERS::m_AllowUseTwoTracks, TEARDROP_PARAMETERS::m_BestLengthRatio, TEARDROP_PARAMETERS::m_BestWidthRatio, TEARDROP_PARAMETERS::m_CurvedEdges, TEARDROP_PARAMETERS::m_Enabled, TEARDROP_PARAMETERS::m_TdMaxLen, TEARDROP_PARAMETERS::m_TdMaxWidth, TEARDROP_PARAMETERS::m_TdOnPadsInZones, and TEARDROP_PARAMETERS::m_WidthtoSizeFilterRatio.
Referenced by PCB_IO_KICAD_SEXPR::format(), and PCB_IO_KICAD_SEXPR::format().