|
KiCad PCB EDA Suite
|
Shared body of Port / Global / OffPageConnector / TitleBlock / ERCObject and the Graphic*Inst shapes (structure types 23, 37, 38, 55..62, 65, 77, 88, 89). More...
#include <orcad_records.h>
Public Attributes | |
| int | typeId = 0 |
| ORCAD_ST value. | |
| std::string | name |
| cache symbol name | |
| uint32_t | dbId = 0 |
| int | x = 0 |
| int | y = 0 |
| ORCAD_BBOX | bbox |
| int | color = 0 |
| std::map< std::string, std::string > | props |
| std::vector< ORCAD_DISPLAY_PROP > | displayProps |
| std::unique_ptr< ORCAD_SYMBOL_DEF > | nested |
| SthInPages0 body, else nullptr. | |
| int | rotation = 0 |
| 0..3 quarter turns | |
| bool | mirror = false |
| std::string | logicalName |
| ports: resolved net/port name | |
Shared body of Port / Global / OffPageConnector / TitleBlock / ERCObject and the Graphic*Inst shapes (structure types 23, 37, 38, 55..62, 65, 77, 88, 89).
Body layout: u32 nameIdx (ports: logical net/port name string index), u32 source library string index, lzt name, u32 dbId, i16 y, x, y2, x2, x1, y1 (NOTE the interleaved order; (x, y) anchor, (x1, y1, x2, y2) bounding box), u8 color, u8 orientation (bits 0..1 = rotation, bit 2 = mirror), 2 unknown bytes, u16 display-prop count (framed), u8 flag; when flag == 0x02 one nested structure follows (normally an SthInPages0 symbol body carrying the drawable primitives).
Trailers by type: Port +9 bytes; TitleBlock +12 bytes; ERCObject +3 lzt strings; on pages each Global and each OffPageConnector list entry is followed by 5 bytes.
The outer bbox of free Graphic*Inst records is anchor-relative junk; only the nested primitives carry real page coordinates. For Global/OffPage/Port symbols the orientation transform base is the placed bbox min corner, NOT the anchor.
Definition at line 317 of file orcad_records.h.
| ORCAD_BBOX ORCAD_GRAPHIC_INST::bbox |
Definition at line 324 of file orcad_records.h.
Referenced by ORCAD_CONVERTER::applyTitleBlock(), ORCAD_CONVERTER::graphicPinPos(), OrcadReadGraphicInst(), ORCAD_CONVERTER::placePowerSymbol(), and v2GraphicInst().
| int ORCAD_GRAPHIC_INST::color = 0 |
Definition at line 325 of file orcad_records.h.
Referenced by OrcadReadGraphicInst(), ORCAD_CONVERTER::placeDefinitionVectors(), ORCAD_CONVERTER::placeGraphics(), ORCAD_CONVERTER::placePorts(), and v2GraphicInst().
| uint32_t ORCAD_GRAPHIC_INST::dbId = 0 |
Definition at line 321 of file orcad_records.h.
Referenced by OrcadReadGraphicInst(), and v2GraphicInst().
| std::vector<ORCAD_DISPLAY_PROP> ORCAD_GRAPHIC_INST::displayProps |
Definition at line 327 of file orcad_records.h.
Referenced by OrcadReadGraphicInst(), and v2GraphicInst().
| std::string ORCAD_GRAPHIC_INST::logicalName |
ports: resolved net/port name
Definition at line 331 of file orcad_records.h.
Referenced by ORCAD_CONVERTER::offpageNets(), OrcadReadGraphicInst(), ORCAD_CONVERTER::placePorts(), ORCAD_CONVERTER::powerNet(), and v2GraphicInst().
| bool ORCAD_GRAPHIC_INST::mirror = false |
Definition at line 330 of file orcad_records.h.
Referenced by ORCAD_CONVERTER::applyTitleBlock(), ORCAD_CONVERTER::graphicPinPos(), OrcadReadGraphicInst(), ORCAD_CONVERTER::placePowerSymbol(), and v2GraphicInst().
| std::string ORCAD_GRAPHIC_INST::name |
cache symbol name
Definition at line 320 of file orcad_records.h.
Referenced by ORCAD_CONVERTER::applyTitleBlock(), ORCAD_CONVERTER::graphicPinPos(), OrcadReadGraphicInst(), ORCAD_CONVERTER::placePorts(), ORCAD_CONVERTER::placePowerSymbol(), ORCAD_CONVERTER::powerNet(), and v2GraphicInst().
| std::unique_ptr<ORCAD_SYMBOL_DEF> ORCAD_GRAPHIC_INST::nested |
SthInPages0 body, else nullptr.
Definition at line 328 of file orcad_records.h.
Referenced by OrcadReadGraphicInst(), ORCAD_CONVERTER::pageExtentDbu(), ORCAD_CONVERTER::placeDefinitionVectors(), ORCAD_CONVERTER::placeGraphics(), and v2GraphicInst().
| std::map<std::string, std::string> ORCAD_GRAPHIC_INST::props |
Definition at line 326 of file orcad_records.h.
Referenced by ORCAD_CONVERTER::applyTitleBlock(), OrcadReadGraphicInst(), ORCAD_CONVERTER::powerNet(), and v2GraphicInst().
| int ORCAD_GRAPHIC_INST::rotation = 0 |
0..3 quarter turns
Definition at line 329 of file orcad_records.h.
Referenced by ORCAD_CONVERTER::applyTitleBlock(), ORCAD_CONVERTER::graphicPinPos(), OrcadReadGraphicInst(), ORCAD_CONVERTER::placeDefinitionVectors(), ORCAD_CONVERTER::placeGraphics(), ORCAD_CONVERTER::placePowerSymbol(), and v2GraphicInst().
| int ORCAD_GRAPHIC_INST::typeId = 0 |
ORCAD_ST value.
Definition at line 319 of file orcad_records.h.
Referenced by OrcadReadGraphicInst(), and v2GraphicInst().
| int ORCAD_GRAPHIC_INST::x = 0 |
Definition at line 322 of file orcad_records.h.
Referenced by ORCAD_CONVERTER::graphicPinPos(), OrcadReadGraphicInst(), ORCAD_CONVERTER::placePowerSymbol(), and v2GraphicInst().
| int ORCAD_GRAPHIC_INST::y = 0 |
Definition at line 323 of file orcad_records.h.
Referenced by ORCAD_CONVERTER::graphicPinPos(), OrcadReadGraphicInst(), ORCAD_CONVERTER::placePowerSymbol(), and v2GraphicInst().