50                      const wxString& aActualConversion )
 
   60    lNode = 
FindNode( aNode, wxT( 
"pt" ) );
 
   68    lNode = 
FindNode( aNode, wxT( 
"rotation" ) );
 
   72        str = lNode->GetNodeContent();
 
   77    aNode->GetAttribute( wxT( 
"Name" ), &
m_Name.text );
 
   78    m_Name.text.Replace( wxT( 
"\r" ), wxT( 
"" ) );
 
   85    if( str.IsSameAs( wxT( 
"True" ), 
false ) )
 
   88    lNode = 
FindNode( aNode, wxT( 
"textStyleRef" ) );
 
 
virtual void SetLayer(PCB_LAYER_ID aLayer)
Set the layer this item is on.
 
Information pertinent to a Pcbnew printed circuit board.
 
void SetTextPos(const VECTOR2I &aPoint)
 
void SetMirrored(bool isMirrored)
 
void SetTextThickness(int aWidth)
The TextThickness is that set by the user.
 
virtual void SetText(const wxString &aText)
 
virtual void SetTextAngle(const EDA_ANGLE &aAngle)
 
void SetItalic(bool aItalic)
Set the text to be italic - this will also update the font if needed.
 
PCB_LAYER_ID GetKiCadLayer() const
 
PCAD_PCB_COMPONENT(PCAD_CALLBACKS *aCallbacks, BOARD *aBoard)
 
PCB_LAYER_ID m_KiCadLayer
 
PCAD_TEXT(PCAD_CALLBACKS *aCallbacks, BOARD *aBoard)
 
virtual void Parse(XNODE *aNode, int aLayer, const wxString &aDefaultUnits, const wxString &aActualConversion)
 
void AddToBoard(FOOTPRINT *aFootprint=nullptr) override
 
An extension of wxXmlNode that can format its contents as KiCad-style s-expressions.
 
static constexpr EDA_ANGLE ANGLE_360
 
int StrToInt1Units(const wxString &aStr)
 
XNODE * FindNode(XNODE *aChild, const wxString &aTag)
 
void SetTextSizeFromStrokeFontHeight(EDA_TEXT *aText, int aTextHeight)
 
void SetPosition(const wxString &aStr, const wxString &aDefaultMeasurementUnit, int *aX, int *aY, const wxString &aActualConversion)
 
TTEXT_JUSTIFY GetJustifyIdentificator(const wxString &aJustify)
 
void SetTextJustify(EDA_TEXT *aText, TTEXT_JUSTIFY aJustify)
 
void SetFontProperty(XNODE *aNode, TTEXTVALUE *aTextValue, const wxString &aDefaultMeasurementUnit, const wxString &aActualConversion)
 
wxString FindNodeGetContent(XNODE *aChild, const wxString &aTag)
 
void SetTextSizeFromTrueTypeFontHeight(EDA_TEXT *aText, int aTextHeight)
 
VECTOR2< int32_t > VECTOR2I