|
KiCad PCB EDA Suite
|
One entry of the 8-orientation placement table. More...
#include <orcad_converter.h>
Public Attributes | |
| int | angle |
| KiCad placement angle in degrees (0/90/180/270, CCW) | |
| char | mirror |
| 0 = none, 'x' or 'y' = KiCad mirror axis | |
| int8_t | txSel |
| X offset selector. | |
| int8_t | tySel |
| Y offset selector. | |
| int8_t | a |
| int8_t | b |
| int8_t | c |
| int8_t | d |
One entry of the 8-orientation placement table.
The OrCAD instance orientation byte packs bits 0..1 = quarter turns and bit 2 = mirror. OrCAD rotates/mirrors about the symbol bounding box and re-anchors the box, while KiCad rotates about the anchor point; the offset selectors reconcile the two (calibrated against T0x10 absolute pin positions).
Offset selectors: 0 -> 0, 1 -> bbox width, 2 -> bbox height. (a, b, c, d) is the OrCAD canvas transform of symbol-space points: (px, py) -> (a*px + b*py, c*px + d*py), applied after the offset.
Definition at line 106 of file orcad_converter.h.
| int8_t ORCAD_ORIENT_ENTRY::a |
Definition at line 112 of file orcad_converter.h.
Referenced by OrcadTransformPoint(), and ORCAD_CONVERTER::synthesizeSymbol().
| int ORCAD_ORIENT_ENTRY::angle |
KiCad placement angle in degrees (0/90/180/270, CCW)
Definition at line 108 of file orcad_converter.h.
Referenced by ORCAD_CONVERTER::placeBitmap().
| int8_t ORCAD_ORIENT_ENTRY::b |
Definition at line 113 of file orcad_converter.h.
Referenced by OrcadTransformPoint(), and ORCAD_CONVERTER::synthesizeSymbol().
| int8_t ORCAD_ORIENT_ENTRY::c |
Definition at line 114 of file orcad_converter.h.
Referenced by OrcadTransformPoint(), and ORCAD_CONVERTER::synthesizeSymbol().
| int8_t ORCAD_ORIENT_ENTRY::d |
Definition at line 115 of file orcad_converter.h.
Referenced by OrcadTransformPoint(), and ORCAD_CONVERTER::synthesizeSymbol().
| char ORCAD_ORIENT_ENTRY::mirror |
0 = none, 'x' or 'y' = KiCad mirror axis
Definition at line 109 of file orcad_converter.h.
Referenced by ORCAD_CONVERTER::placeBitmap().
| int8_t ORCAD_ORIENT_ENTRY::txSel |
X offset selector.
Definition at line 110 of file orcad_converter.h.
Referenced by OrcadOrientOffset().
| int8_t ORCAD_ORIENT_ENTRY::tySel |
Y offset selector.
Definition at line 111 of file orcad_converter.h.
Referenced by OrcadOrientOffset().