|
KiCad PCB EDA Suite
|
A placed part instance on a page (structure type 13). More...
#include <orcad_records.h>
Public Attributes | |
| std::string | pkgName |
| uint32_t | dbId = 0 |
| int | x = 0 |
| int | y = 0 |
| std::string | reference |
| std::string | value |
| resolved Part Value | |
| std::map< std::string, std::string > | props |
| short-prefix property pairs | |
| std::vector< ORCAD_DISPLAY_PROP > | displayProps |
| int | color = 0 |
| int | rotation = 0 |
| 0..3 quarter turns | |
| bool | mirror = false |
| orientation bit 2 | |
| ORCAD_BBOX | bbox |
| placed box, page DBU | |
| std::string | sourcePackage |
| package base name | |
| std::vector< ORCAD_PIN_INST > | pins |
| successfully parsed T0x10 records | |
A placed part instance on a page (structure type 13).
Body layout: 8 unknown bytes, lzt pkgName (cache symbol name, e.g. "C.Normal"), u32 dbId, placed bounding box as i16 y1, x1, y2, x2 (NOTE the y-first order), i16 x, i16 y (anchor), u8 color, u8 orientation (bits 0..1 = quarter turns, bit 2 = mirror), 2 unknown bytes, u16 display-prop count (framed structures), 1 unknown byte, lzt reference, u32 value string-table index (the Part Value directly follows the reference; the next 10 bytes are unknown), u16 pin count (framed T0x10 structures), lzt sourcePackage, 2 unknown bytes.
The placed bbox INCLUDES the displayed text; the symbol body box must be derived from the cache definition bbox plus the orientation transform.
Definition at line 277 of file orcad_records.h.
| ORCAD_BBOX ORCAD_PLACED_INSTANCE::bbox |
placed box, page DBU
Definition at line 290 of file orcad_records.h.
Referenced by ORCAD_CONVERTER::offsetPage(), OrcadReadPlacedInstance(), ORCAD_CONVERTER::pageExtentDbu(), ORCAD_CONVERTER::synthesizeSymbol(), and v2PlacedInstance().
| int ORCAD_PLACED_INSTANCE::color = 0 |
Definition at line 287 of file orcad_records.h.
Referenced by OrcadReadPlacedInstance(), and v2PlacedInstance().
| uint32_t ORCAD_PLACED_INSTANCE::dbId = 0 |
Definition at line 280 of file orcad_records.h.
Referenced by OrcadReadPlacedInstance(), ORCAD_CONVERTER::resolveReference(), and v2PlacedInstance().
| std::vector<ORCAD_DISPLAY_PROP> ORCAD_PLACED_INSTANCE::displayProps |
Definition at line 286 of file orcad_records.h.
Referenced by ORCAD_CONVERTER::computeFontBaseline(), OrcadReadPlacedInstance(), ORCAD_CONVERTER::placeSymbolFields(), and v2PlacedInstance().
| bool ORCAD_PLACED_INSTANCE::mirror = false |
orientation bit 2
Definition at line 289 of file orcad_records.h.
Referenced by OrcadReadPlacedInstance(), ORCAD_CONVERTER::pickVariant(), ORCAD_CONVERTER::placeInstance(), ORCAD_CONVERTER::synthesizeSymbol(), and v2PlacedInstance().
| std::vector<ORCAD_PIN_INST> ORCAD_PLACED_INSTANCE::pins |
successfully parsed T0x10 records
Definition at line 292 of file orcad_records.h.
Referenced by ORCAD_CONVERTER::computeJunctions(), ORCAD_CONVERTER::offsetPage(), OrcadReadPlacedInstance(), ORCAD_CONVERTER::pageExtentDbu(), ORCAD_CONVERTER::pickVariant(), ORCAD_CONVERTER::placeInstance(), ORCAD_CONVERTER::placeSymbolFields(), ORCAD_CONVERTER::synthesizeSymbol(), and v2PlacedInstance().
| std::string ORCAD_PLACED_INSTANCE::pkgName |
Definition at line 279 of file orcad_records.h.
Referenced by ORCAD_CONVERTER::libForInstance(), OrcadReadPlacedInstance(), ORCAD_CONVERTER::pickVariant(), ORCAD_CONVERTER::prepareSymbols(), ORCAD_CONVERTER::unitLetter(), and v2PlacedInstance().
| std::map<std::string, std::string> ORCAD_PLACED_INSTANCE::props |
short-prefix property pairs
Definition at line 285 of file orcad_records.h.
Referenced by OrcadReadPlacedInstance(), ORCAD_CONVERTER::placeInstance(), ORCAD_CONVERTER::placeSymbolFields(), and v2PlacedInstance().
| std::string ORCAD_PLACED_INSTANCE::reference |
Definition at line 283 of file orcad_records.h.
Referenced by ORCAD_CONVERTER::libForInstance(), OrcadReadPlacedInstance(), ORCAD_CONVERTER::placeInstance(), ORCAD_CONVERTER::resolveReference(), and v2PlacedInstance().
| int ORCAD_PLACED_INSTANCE::rotation = 0 |
0..3 quarter turns
Definition at line 288 of file orcad_records.h.
Referenced by OrcadReadPlacedInstance(), ORCAD_CONVERTER::pickVariant(), ORCAD_CONVERTER::placeInstance(), ORCAD_CONVERTER::synthesizeSymbol(), and v2PlacedInstance().
| std::string ORCAD_PLACED_INSTANCE::sourcePackage |
package base name
Definition at line 291 of file orcad_records.h.
Referenced by ORCAD_CONVERTER::libForInstance(), OrcadReadPlacedInstance(), ORCAD_CONVERTER::unitLetter(), and v2PlacedInstance().
| std::string ORCAD_PLACED_INSTANCE::value |
resolved Part Value
Definition at line 284 of file orcad_records.h.
Referenced by OrcadReadPlacedInstance(), ORCAD_CONVERTER::placeInstance(), and v2PlacedInstance().
| int ORCAD_PLACED_INSTANCE::x = 0 |
Definition at line 281 of file orcad_records.h.
Referenced by ORCAD_CONVERTER::offsetPage(), OrcadReadPlacedInstance(), ORCAD_CONVERTER::pickVariant(), ORCAD_CONVERTER::placeInstance(), ORCAD_CONVERTER::placeSymbolFields(), ORCAD_CONVERTER::synthesizeSymbol(), and v2PlacedInstance().
| int ORCAD_PLACED_INSTANCE::y = 0 |
Definition at line 282 of file orcad_records.h.
Referenced by ORCAD_CONVERTER::offsetPage(), OrcadReadPlacedInstance(), ORCAD_CONVERTER::pickVariant(), ORCAD_CONVERTER::placeInstance(), ORCAD_CONVERTER::placeSymbolFields(), ORCAD_CONVERTER::synthesizeSymbol(), and v2PlacedInstance().