KiCad PCB EDA Suite
|
#include <pcb_text.h>
Public Member Functions | |
PCB_TEXT (PCB_CALLBACKS *aCallbacks, BOARD *aBoard) | |
~PCB_TEXT () | |
virtual void | Parse (XNODE *aNode, int aLayer, const wxString &aDefaultUnits, const wxString &aActualConversion) |
void | AddToFootprint (FOOTPRINT *aFootprint) override |
void | AddToBoard () override |
virtual void | SetPosOffset (int aX_offs, int aY_offs) |
virtual void | Flip () |
PCB_LAYER_ID | GetKiCadLayer () const |
int | GetNetCode (const wxString &aNetName) const |
Public Attributes | |
int | m_tag |
char | m_objType |
int | m_PCadLayer |
PCB_LAYER_ID | m_KiCadLayer |
KIID | m_uuid |
int | m_positionX |
int | m_positionY |
EDA_ANGLE | m_rotation |
TTEXTVALUE | m_name |
wxString | m_net |
int | m_netCode |
wxString | m_compRef |
wxString | m_patGraphRefName |
Protected Attributes | |
PCB_CALLBACKS * | m_callbacks |
BOARD * | m_board |
Definition at line 39 of file plugins/pcad/pcb_text.h.
PCB_TEXT::PCB_TEXT | ( | PCB_CALLBACKS * | aCallbacks, |
BOARD * | aBoard | ||
) |
Definition at line 37 of file plugins/pcad/pcb_text.cpp.
References PCAD2KICAD::PCB_COMPONENT::m_objType.
PCB_TEXT::~PCB_TEXT | ( | ) |
Definition at line 44 of file plugins/pcad/pcb_text.cpp.
|
overridevirtual |
Implements PCAD2KICAD::PCB_COMPONENT.
Definition at line 100 of file plugins/pcad/pcb_text.cpp.
References BOARD::Add(), ANGLE_360, APPEND, PCAD2KICAD::TTEXTVALUE::isItalic, EDA_TEXT::IsMirrored(), PCAD2KICAD::TTEXTVALUE::isTrueType, PCAD2KICAD::TTEXTVALUE::justify, PCAD2KICAD::PCB_COMPONENT::m_board, PCAD2KICAD::PCB_COMPONENT::m_KiCadLayer, PCAD2KICAD::PCB_COMPONENT::m_name, PCAD2KICAD::PCB_COMPONENT::m_positionX, PCAD2KICAD::PCB_COMPONENT::m_positionY, PCAD2KICAD::PCB_COMPONENT::m_rotation, PCAD2KICAD::TTEXTVALUE::mirror, EDA_TEXT::SetItalic(), BOARD_ITEM::SetLayer(), EDA_TEXT::SetMirrored(), EDA_TEXT::SetText(), EDA_TEXT::SetTextAngle(), PCAD2KICAD::SetTextJustify(), EDA_TEXT::SetTextPos(), PCAD2KICAD::SetTextSizeFromStrokeFontHeight(), PCAD2KICAD::SetTextSizeFromTrueTypeFontHeight(), EDA_TEXT::SetTextThickness(), PCAD2KICAD::TTEXTVALUE::text, PCAD2KICAD::TTEXTVALUE::textHeight, PCAD2KICAD::TTEXTVALUE::textPositionX, PCAD2KICAD::TTEXTVALUE::textPositionY, PCAD2KICAD::TTEXTVALUE::textRotation, and PCAD2KICAD::TTEXTVALUE::textstrokeWidth.
|
overridevirtual |
Reimplemented from PCAD2KICAD::PCB_COMPONENT.
Definition at line 95 of file plugins/pcad/pcb_text.cpp.
|
virtualinherited |
Reimplemented in PCAD2KICAD::PCB_ARC, PCAD2KICAD::PCB_FOOTPRINT, PCAD2KICAD::PCB_LINE, PCAD2KICAD::PCB_PAD, and PCAD2KICAD::PCB_POLYGON.
Definition at line 73 of file pcb_component.cpp.
References PCAD2KICAD::PCB_COMPONENT::m_positionX.
Referenced by PCAD2KICAD::PCB_ARC::Flip(), PCAD2KICAD::PCB_LINE::Flip(), PCAD2KICAD::PCB_PAD::Flip(), and PCAD2KICAD::PCB_POLYGON::Flip().
|
inlineinherited |
Definition at line 56 of file pcb_component.h.
References PCAD2KICAD::PCB_CALLBACKS::GetKiCadLayer(), PCAD2KICAD::PCB_COMPONENT::m_callbacks, and PCAD2KICAD::PCB_COMPONENT::m_PCadLayer.
Referenced by PCAD2KICAD::PCB::GetBoardOutline(), PCAD2KICAD::PCB_PAD_SHAPE::Parse(), PCAD2KICAD::PCB_VIA_SHAPE::Parse(), PCAD2KICAD::PCB_ARC::Parse(), PCAD2KICAD::PCB_LINE::Parse(), Parse(), and PCAD2KICAD::PCB_POLYGON::PCB_POLYGON().
|
inlineinherited |
Definition at line 58 of file pcb_component.h.
References PCAD2KICAD::PCB_CALLBACKS::GetNetCode(), and PCAD2KICAD::PCB_COMPONENT::m_callbacks.
Referenced by PCAD2KICAD::PCB_POLYGON::AssignNet(), PCAD2KICAD::PCB_PAD::Parse(), PCAD2KICAD::PCB_POLYGON::Parse(), PCAD2KICAD::PCB_COPPER_POUR::Parse(), PCAD2KICAD::PCB_PLANE::Parse(), PCAD2KICAD::PCB_VIA::Parse(), and PCAD2KICAD::PCB_LINE::Parse().
|
virtual |
Definition at line 49 of file plugins/pcad/pcb_text.cpp.
References PCAD2KICAD::FindNode(), PCAD2KICAD::FindNodeGetContent(), PCAD2KICAD::GetJustifyIdentificator(), PCAD2KICAD::PCB_COMPONENT::GetKiCadLayer(), PCAD2KICAD::TTEXTVALUE::justify, PCAD2KICAD::PCB_COMPONENT::m_KiCadLayer, PCAD2KICAD::PCB_COMPONENT::m_name, PCAD2KICAD::PCB_COMPONENT::m_PCadLayer, PCAD2KICAD::PCB_COMPONENT::m_positionX, PCAD2KICAD::PCB_COMPONENT::m_positionY, PCAD2KICAD::PCB_COMPONENT::m_rotation, PCAD2KICAD::TTEXTVALUE::mirror, PCAD2KICAD::SetFontProperty(), PCAD2KICAD::SetPosition(), PCAD2KICAD::StrToInt1Units(), TENTHS_OF_A_DEGREE_T, and PCAD2KICAD::TTEXTVALUE::text.
|
virtualinherited |
Reimplemented in PCAD2KICAD::PCB_ARC, PCAD2KICAD::PCB_LINE, and PCAD2KICAD::PCB_POLYGON.
Definition at line 67 of file pcb_component.cpp.
References PCAD2KICAD::PCB_COMPONENT::m_positionX, and PCAD2KICAD::PCB_COMPONENT::m_positionY.
Referenced by PCAD2KICAD::PCB::ParseBoard(), PCAD2KICAD::PCB_ARC::SetPosOffset(), PCAD2KICAD::PCB_LINE::SetPosOffset(), and PCAD2KICAD::PCB_POLYGON::SetPosOffset().
|
protectedinherited |
Definition at line 79 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB::AddToBoard(), PCAD2KICAD::PCB_ARC::AddToBoard(), PCAD2KICAD::PCB_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCB_LINE::AddToBoard(), PCAD2KICAD::PCB_PAD::AddToBoard(), PCAD2KICAD::PCB_POLYGON::AddToBoard(), AddToBoard(), PCAD2KICAD::PCB_PAD::AddToFootprint(), PCAD2KICAD::PCB_FOOTPRINT::DoLayerContentsObjects(), PCAD2KICAD::PCB::DoPCBComponents(), PCAD2KICAD::PCB_PAD::Parse(), PCAD2KICAD::PCB_VIA::Parse(), PCAD2KICAD::PCB_FOOTPRINT::Parse(), and PCAD2KICAD::PCB::ParseBoard().
|
protectedinherited |
Definition at line 78 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_FOOTPRINT::DoLayerContentsObjects(), PCAD2KICAD::PCB::DoPCBComponents(), PCAD2KICAD::PCB_COMPONENT::GetKiCadLayer(), PCAD2KICAD::PCB_COMPONENT::GetNetCode(), PCAD2KICAD::PCB_PAD::Parse(), PCAD2KICAD::PCB_VIA::Parse(), and PCAD2KICAD::PCB_FOOTPRINT::Parse().
|
inherited |
Definition at line 74 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCB::DoPCBComponents(), and PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT().
|
inherited |
Definition at line 66 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_ARC::AddToBoard(), PCAD2KICAD::PCB_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCB_LINE::AddToBoard(), PCAD2KICAD::PCB_PAD::AddToBoard(), PCAD2KICAD::PCB_POLYGON::AddToBoard(), AddToBoard(), PCAD2KICAD::PCB_ARC::AddToFootprint(), PCAD2KICAD::PCB_LINE::AddToFootprint(), PCAD2KICAD::PCB_POLYGON::AddToFootprint(), PCAD2KICAD::PCB_PAD::AddToFootprint(), PCAD2KICAD::PCB_ARC::Flip(), PCAD2KICAD::PCB_LINE::Flip(), PCAD2KICAD::PCB_PAD::Flip(), PCAD2KICAD::PCB_POLYGON::Flip(), PCAD2KICAD::PCB_PAD_SHAPE::Parse(), PCAD2KICAD::PCB_VIA_SHAPE::Parse(), PCAD2KICAD::PCB_ARC::Parse(), PCAD2KICAD::PCB_LINE::Parse(), Parse(), PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT(), PCAD2KICAD::PCB_FOOTPRINT::PCB_FOOTPRINT(), and PCAD2KICAD::PCB_POLYGON::PCB_POLYGON().
|
inherited |
Definition at line 71 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCB_PAD::AddToBoard(), AddToBoard(), PCAD2KICAD::PCB_PAD::AddToFootprint(), PCAD2KICAD::PCB::ConnectPinToNet(), PCAD2KICAD::PCB_FOOTPRINT::DoLayerContentsObjects(), PCAD2KICAD::PCB::DoPCBComponents(), PCAD2KICAD::PCB_PAD::Parse(), PCAD2KICAD::PCB_VIA::Parse(), Parse(), PCAD2KICAD::PCB_FOOTPRINT::Parse(), PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT(), and PCAD2KICAD::PCB_FOOTPRINT::SetName().
|
inherited |
Definition at line 72 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_PAD::AddToFootprint(), PCAD2KICAD::PCB_POLYGON::AssignNet(), PCAD2KICAD::PCB::ConnectPinToNet(), PCAD2KICAD::PCB_PAD::Parse(), PCAD2KICAD::PCB_POLYGON::Parse(), PCAD2KICAD::PCB_COPPER_POUR::Parse(), PCAD2KICAD::PCB_PLANE::Parse(), PCAD2KICAD::PCB_VIA::Parse(), PCAD2KICAD::PCB_LINE::Parse(), and PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT().
|
inherited |
Definition at line 73 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_LINE::AddToBoard(), PCAD2KICAD::PCB_PAD::AddToBoard(), PCAD2KICAD::PCB_POLYGON::AddToBoard(), PCAD2KICAD::PCB_POLYGON::AssignNet(), PCAD2KICAD::PCB_PAD::Parse(), PCAD2KICAD::PCB_POLYGON::Parse(), PCAD2KICAD::PCB_COPPER_POUR::Parse(), PCAD2KICAD::PCB_PLANE::Parse(), PCAD2KICAD::PCB_VIA::Parse(), PCAD2KICAD::PCB_LINE::Parse(), and PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT().
|
inherited |
Definition at line 64 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCB_PAD::AddToBoard(), PCAD2KICAD::PCB_POLYGON::AddToBoard(), PCAD2KICAD::PCB::ConnectPinToNet(), PCAD2KICAD::PCB_FOOTPRINT::Flip(), PCAD2KICAD::PCB_PAD::Flip(), PCAD2KICAD::PCB::ParseBoard(), PCAD2KICAD::PCB_ARC::PCB_ARC(), PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT(), PCAD2KICAD::PCB_CUTOUT::PCB_CUTOUT(), PCAD2KICAD::PCB_FOOTPRINT::PCB_FOOTPRINT(), PCAD2KICAD::PCB_KEEPOUT::PCB_KEEPOUT(), PCAD2KICAD::PCB_LINE::PCB_LINE(), PCAD2KICAD::PCB_PAD::PCB_PAD(), PCAD2KICAD::PCB_POLYGON::PCB_POLYGON(), PCB_TEXT(), PCAD2KICAD::PCB_VIA::PCB_VIA(), and PCAD2KICAD::PCB_FOOTPRINT::SetName().
|
inherited |
Definition at line 75 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB::DoPCBComponents(), PCAD2KICAD::PCB_FOOTPRINT::Parse(), and PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT().
|
inherited |
Definition at line 65 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_COMPONENT::GetKiCadLayer(), PCAD2KICAD::PCB_PAD_SHAPE::Parse(), PCAD2KICAD::PCB_VIA_SHAPE::Parse(), PCAD2KICAD::PCB_ARC::Parse(), PCAD2KICAD::PCB_LINE::Parse(), Parse(), PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT(), and PCAD2KICAD::PCB_POLYGON::PCB_POLYGON().
|
inherited |
Definition at line 68 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_ARC::AddToBoard(), PCAD2KICAD::PCB_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCB_LINE::AddToBoard(), PCAD2KICAD::PCB_PAD::AddToBoard(), AddToBoard(), PCAD2KICAD::PCB_ARC::AddToFootprint(), PCAD2KICAD::PCB_LINE::AddToFootprint(), PCAD2KICAD::PCB_PAD::AddToFootprint(), PCAD2KICAD::PCB::DoPCBComponents(), PCAD2KICAD::PCB_COMPONENT::Flip(), PCAD2KICAD::PCB_KEEPOUT::Parse(), PCAD2KICAD::PCB_CUTOUT::Parse(), PCAD2KICAD::PCB_PAD::Parse(), PCAD2KICAD::PCB_POLYGON::Parse(), PCAD2KICAD::PCB_COPPER_POUR::Parse(), PCAD2KICAD::PCB_PLANE::Parse(), PCAD2KICAD::PCB_VIA::Parse(), PCAD2KICAD::PCB_ARC::Parse(), PCAD2KICAD::PCB_LINE::Parse(), Parse(), PCAD2KICAD::PCB::ParseBoard(), PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT(), PCAD2KICAD::PCB_POLYGON::SetOutline(), and PCAD2KICAD::PCB_COMPONENT::SetPosOffset().
|
inherited |
Definition at line 69 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_ARC::AddToBoard(), PCAD2KICAD::PCB_FOOTPRINT::AddToBoard(), PCAD2KICAD::PCB_LINE::AddToBoard(), PCAD2KICAD::PCB_PAD::AddToBoard(), AddToBoard(), PCAD2KICAD::PCB_ARC::AddToFootprint(), PCAD2KICAD::PCB_LINE::AddToFootprint(), PCAD2KICAD::PCB_PAD::AddToFootprint(), PCAD2KICAD::PCB::DoPCBComponents(), PCAD2KICAD::PCB_KEEPOUT::Parse(), PCAD2KICAD::PCB_CUTOUT::Parse(), PCAD2KICAD::PCB_PAD::Parse(), PCAD2KICAD::PCB_POLYGON::Parse(), PCAD2KICAD::PCB_COPPER_POUR::Parse(), PCAD2KICAD::PCB_PLANE::Parse(), PCAD2KICAD::PCB_VIA::Parse(), PCAD2KICAD::PCB_ARC::Parse(), PCAD2KICAD::PCB_LINE::Parse(), Parse(), PCAD2KICAD::PCB::ParseBoard(), PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT(), PCAD2KICAD::PCB_POLYGON::SetOutline(), and PCAD2KICAD::PCB_COMPONENT::SetPosOffset().
|
inherited |
Definition at line 70 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_FOOTPRINT::AddToBoard(), AddToBoard(), PCAD2KICAD::PCB_PAD::AddToFootprint(), PCAD2KICAD::PCB::DoPCBComponents(), PCAD2KICAD::PCB_FOOTPRINT::Flip(), PCAD2KICAD::PCB_PAD::Flip(), PCAD2KICAD::PCB_PAD::Parse(), PCAD2KICAD::PCB_VIA::Parse(), Parse(), and PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT().
|
inherited |
Definition at line 63 of file pcb_component.h.
Referenced by PCAD2KICAD::PCB_COMPONENT::PCB_COMPONENT().
|
inherited |
Definition at line 67 of file pcb_component.h.