| 
    KiCad PCB EDA Suite
    
   | 
 
#include <cadstar_archive_parser.h>
  
Public Member Functions | |
| void | Parse (XNODE *aNode, PARSER_CONTEXT *aContext) override | 
| SHAPE_LINE_CHAIN | OutlineAsChain (const std::function< VECTOR2I(const VECTOR2I &)> aCadstarToKicadPointCallback, int aAccuracy) const | 
| SHAPE_POLY_SET | ConvertToPolySet (const std::function< VECTOR2I(const VECTOR2I &)> aCadstarToKicadPointCallback, int aAccuracy) const | 
Static Public Member Functions | |
| static bool | IsShape (XNODE *aNode) | 
Public Attributes | |
| SHAPE_TYPE | Type | 
| std::vector< VERTEX > | Vertices | 
| std::vector< CUTOUT > | Cutouts | 
| Not Applicable to OPENSHAPE Type.   | |
| wxString | HatchCodeID | 
| Only Applicable for HATCHED Type.   | |
Definition at line 486 of file cadstar_archive_parser.h.
| SHAPE_POLY_SET CADSTAR_ARCHIVE_PARSER::SHAPE::ConvertToPolySet | ( | const std::function< VECTOR2I(const VECTOR2I &)> | aCadstarToKicadPointCallback, | 
| int | aAccuracy ) const | 
Definition at line 623 of file cadstar_archive_parser.cpp.
References SHAPE_POLY_SET::AddHole(), SHAPE_POLY_SET::AddOutline(), Cutouts, CADSTAR_ARCHIVE_PARSER::OPENSHAPE, OutlineAsChain(), SHAPE_LINE_CHAIN::SetClosed(), and Type.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::loadSymdef().
      
  | 
  static | 
Definition at line 543 of file cadstar_archive_parser.cpp.
Referenced by Parse().
| SHAPE_LINE_CHAIN CADSTAR_ARCHIVE_PARSER::SHAPE::OutlineAsChain | ( | const std::function< VECTOR2I(const VECTOR2I &)> | aCadstarToKicadPointCallback, | 
| int | aAccuracy ) const | 
Definition at line 599 of file cadstar_archive_parser.cpp.
References SHAPE_LINE_CHAIN::Append(), SHAPE_LINE_CHAIN::CPoint(), CADSTAR_ARCHIVE_PARSER::OPENSHAPE, SHAPE_LINE_CHAIN::SetClosed(), Type, and Vertices.
Referenced by ConvertToPolySet().
      
  | 
  overridevirtual | 
Implements CADSTAR_ARCHIVE_PARSER::PARSER.
Definition at line 559 of file cadstar_archive_parser.cpp.
References Cutouts, CADSTAR_ARCHIVE_PARSER::GetXmlAttributeIDString(), HatchCodeID, CADSTAR_ARCHIVE_PARSER::HATCHED, IsShape(), CADSTAR_ARCHIVE_PARSER::OPENSHAPE, CADSTAR_ARCHIVE_PARSER::OUTLINE, CADSTAR_ARCHIVE_PARSER::ParseAllChildCutouts(), CADSTAR_ARCHIVE_PARSER::ParseAllChildVertices(), CADSTAR_ARCHIVE_PARSER::SOLID, Type, and Vertices.
| std::vector<CUTOUT> CADSTAR_ARCHIVE_PARSER::SHAPE::Cutouts | 
Not Applicable to OPENSHAPE Type.
Definition at line 490 of file cadstar_archive_parser.h.
Referenced by ConvertToPolySet(), CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarShape(), CADSTAR_SCH_ARCHIVE_LOADER::getFigureExtentsKiCad(), CADSTAR_PCB_ARCHIVE_LOADER::getPolySetFromCadstarShape(), CADSTAR_PCB_ARCHIVE_LOADER::loadCoppers(), CADSTAR_SCH_ARCHIVE_LOADER::loadFigure(), and Parse().
| wxString CADSTAR_ARCHIVE_PARSER::SHAPE::HatchCodeID | 
Only Applicable for HATCHED Type.
Definition at line 491 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::loadCoppers(), and Parse().
| SHAPE_TYPE CADSTAR_ARCHIVE_PARSER::SHAPE::Type | 
Definition at line 488 of file cadstar_archive_parser.h.
Referenced by ConvertToPolySet(), CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarShape(), CADSTAR_PCB_ARCHIVE_LOADER::getZoneFromCadstarShape(), CADSTAR_PCB_ARCHIVE_LOADER::loadCoppers(), CADSTAR_PCB_ARCHIVE_LOADER::loadLibraryCoppers(), CADSTAR_SCH_ARCHIVE_LOADER::loadSymdef(), OutlineAsChain(), and Parse().
| std::vector<VERTEX> CADSTAR_ARCHIVE_PARSER::SHAPE::Vertices | 
Definition at line 489 of file cadstar_archive_parser.h.
Referenced by CADSTAR_PCB_ARCHIVE_LOADER::drawCadstarShape(), CADSTAR_SCH_ARCHIVE_LOADER::getFigureExtentsKiCad(), CADSTAR_PCB_ARCHIVE_LOADER::getPolySetFromCadstarShape(), CADSTAR_SCH_ARCHIVE_LOADER::loadBusses(), CADSTAR_PCB_ARCHIVE_LOADER::loadCoppers(), CADSTAR_SCH_ARCHIVE_LOADER::loadFigure(), CADSTAR_SCH_ARCHIVE_LOADER::loadSymdef(), OutlineAsChain(), and Parse().