25#ifndef PCB_IO_EASYEDA_PARSER_H_
26#define PCB_IO_EASYEDA_PARSER_H_
40#include <nlohmann/json.hpp>
56 return KiROUND( ( aValue * 254000 ) / 100 ) * 100;
60 std::map<wxString, std::unique_ptr<FOOTPRINT>>& aFootprintMap,
61 wxArrayString aShapes );
64 BOARD* aParent, std::map<wxString, wxString> aParams,
65 std::map<wxString, std::unique_ptr<FOOTPRINT>>& aFootprintMap,
66 wxArrayString aShapes );
69 std::map<wxString, wxString> paramMap,
70 std::map<wxString, std::unique_ptr<FOOTPRINT>>& aFootprintMap,
71 wxArrayString shapes );
constexpr BOX2I KiROUND(const BOX2D &aBoxD)
Abstract interface for BOARD_ITEMs capable of storing other items inside.
Information pertinent to a Pcbnew printed circuit board.
void ParseToBoardItemContainer(BOARD_ITEM_CONTAINER *aContainer, BOARD *aParent, std::map< wxString, wxString > paramMap, std::map< wxString, std::unique_ptr< FOOTPRINT > > &aFootprintMap, wxArrayString shapes)
FOOTPRINT * ParseFootprint(const VECTOR2D &aOrigin, const EDA_ANGLE &aOrientation, int aLayer, BOARD *aParent, std::map< wxString, wxString > aParams, std::map< wxString, std::unique_ptr< FOOTPRINT > > &aFootprintMap, wxArrayString aShapes)
double ScaleSize(double aValue) override
void ParseBoard(BOARD *aBoard, const VECTOR2D &aOrigin, std::map< wxString, std::unique_ptr< FOOTPRINT > > &aFootprintMap, wxArrayString aShapes)
PCB_LAYER_ID LayerToKi(const wxString &aLayer)
A progress reporter interface for use in multi-threaded environments.
PCB_LAYER_ID
A quick note on layer IDs: