| 
    KiCad PCB EDA Suite
    
   | 
 
#include "sch_easyeda_parser.h"#include <sch_io/sch_io_mgr.h>#include <schematic.h>#include <sch_sheet.h>#include <sch_line.h>#include <sch_no_connect.h>#include <sch_label.h>#include <sch_junction.h>#include <sch_edit_frame.h>#include <sch_shape.h>#include <sch_bitmap.h>#include <string_utils.h>#include <bezier_curves.h>#include <wx/base64.h>#include <wx/mstream.h>#include <core/map_helpers.h>#include <gfx_import_utils.h>#include <import_gfx/svg_import_plugin.h>#include <import_gfx/graphics_importer_lib_symbol.h>#include <import_gfx/graphics_importer_sch.h>Go to the source code of this file.
Functions | |
| static std::vector< std::vector< wxString > > | RegexMatchAll (wxRegEx &aRegex, const wxString &aString) | 
| static std::vector< std::pair< wxString, std::vector< double > > > | ParseImageTransform (const wxString &transformData) | 
| EasyEDA image transformations are in the form of:   | |
| static LIB_ID | EasyEdaToKiCadLibID (const wxString &aLibName, const wxString &aLibReference) | 
| static LINE_STYLE | ConvertStrokeStyle (const wxString &aStyle) | 
| static ELECTRICAL_PINTYPE | ConvertElecType (const wxString &aType) | 
| VECTOR2I | HelperGeneratePowerPortGraphics (LIB_SYMBOL *aKsymbol, EASYEDA::POWER_FLAG_STYLE aStyle, REPORTER *aReporter) | 
Variables | |
| static const std::vector< wxString > | c_attributesWhitelist | 
      
  | 
  static | 
Definition at line 171 of file sch_easyeda_parser.cpp.
References PT_BIDI, PT_INPUT, PT_OUTPUT, PT_PASSIVE, and PT_UNSPECIFIED.
Referenced by SCH_EASYEDA_PARSER::ParseSymbolShapes().
      
  | 
  static | 
Definition at line 158 of file sch_easyeda_parser.cpp.
References DASH, DEFAULT, DOT, and SOLID.
Referenced by SCH_EASYEDAPRO_PARSER::ApplyLineStyle(), SCH_EASYEDA_PARSER::ParseSchematic(), and SCH_EASYEDA_PARSER::ParseSymbolShapes().
      
  | 
  static | 
Definition at line 145 of file sch_easyeda_parser.cpp.
References CTX_LIBID, EscapeString(), and LIB_ID::Parse().
Referenced by SCH_EASYEDA_PARSER::MakePowerSymbol(), SCH_EASYEDA_PARSER::ParseSchematic(), SCH_EASYEDA_PARSER::ParseSymbol(), and PCB_IO_EASYEDA_PARSER::ParseToBoardItemContainer().
| VECTOR2I HelperGeneratePowerPortGraphics | ( | LIB_SYMBOL * | aKsymbol, | 
| EASYEDA::POWER_FLAG_STYLE | aStyle, | ||
| REPORTER * | aReporter ) | 
Definition at line 188 of file sch_easyeda_parser.cpp.
References _, LIB_SYMBOL::AddDrawItem(), SCH_SHAPE::AddPoint(), EASYEDA::ARROW, EASYEDA::BAR, BEZIER, EASYEDA::CIRCLE, CIRCLE, circle(), EASYEDA::EARTH, EASYEDA::GOST_ARROW, EASYEDA::GOST_BAR, EASYEDA::GOST_EARTH, EASYEDA::GOST_POWER_GROUND, LAYER_DEVICE, POLY, EASYEDA::POWER_GROUND, REPORTER::Report(), RPT_SEVERITY_WARNING, schIUScale, EDA_SHAPE::SetBezierC1(), EDA_SHAPE::SetBezierC2(), EDA_SHAPE::SetEnd(), EDA_SHAPE::SetStart(), SCH_SHAPE::SetStroke(), EASYEDA::SIGNAL_GROUND, SOLID, and EASYEDA::WAVE.
      
  | 
  static | 
EasyEDA image transformations are in the form of:
scale(1,-1) translate(-555,1025) rotate(270,425,-785)
Order of operations is from end to start, similar to CSS.
Definition at line 110 of file sch_easyeda_parser.cpp.
References RegexMatchAll().
Referenced by SCH_EASYEDA_PARSER::ParseSchematic().
      
  | 
  static | 
Definition at line 74 of file sch_easyeda_parser.cpp.
Referenced by ParseImageTransform().
      
  | 
  static | 
Definition at line 49 of file sch_easyeda_parser.cpp.
Referenced by SCH_EASYEDAPRO_PARSER::ParseSchematic(), SCH_EASYEDA_PARSER::ParseSymbol(), and SCH_EASYEDAPRO_PARSER::ParseSymbol().