30#ifndef PCAD2KICAD_COMMON_H_
31#define PCAD2KICAD_COMMON_H_
41#define PCAD2KICAD_SCALE_SCH_TO_INCH_GRID
70extern wxString
GetWord( wxString* aStr );
73 const wxString& aActualConversion );
75 const wxString& aDefaultMeasurementUnit );
79extern void SetWidth(
const wxString& aStr,
80 const wxString& aDefaultMeasurementUnit,
82 const wxString& aActualConversion );
84 const wxString& aDefaultMeasurementUnit,
87 const wxString& aActualConversion );
89 const wxString& aDefaultMeasurementUnit,
92 const wxString& aActualConversion );
96 const wxString& aDefaultMeasurementUnit,
97 const wxString& aActualConversion );
100 const wxString& aDefaultMeasurementUnit,
101 const wxString& aActualConversion );
A mix-in class (via multiple inheritance) that handles texts such as labels, parts,...
Hold an XML or S-expression element.
wxString ValidateName(const wxString &aName)
wxString GetWord(wxString *aStr)
int StrToIntUnits(const wxString &aStr, char aAxe, const wxString &aActualConversion)
int StrToInt1Units(const wxString &aStr)
void SetWidth(const wxString &aStr, const wxString &aDefaultMeasurementUnit, int *aWidth, const wxString &aActualConversion)
XNODE * FindNode(XNODE *aChild, const wxString &aTag)
wxString ValidateReference(const wxString &aRef)
void SetTextSizeFromStrokeFontHeight(EDA_TEXT *aText, int aTextHeight)
void SetPosition(const wxString &aStr, const wxString &aDefaultMeasurementUnit, int *aX, int *aY, const wxString &aActualConversion)
void SetDoublePrecisionPosition(const wxString &aStr, const wxString &aDefaultMeasurementUnit, double *aX, double *aY, const wxString &aActualConversion)
TTEXT_JUSTIFY GetJustifyIdentificator(const wxString &aJustify)
void SetTextJustify(EDA_TEXT *aText, TTEXT_JUSTIFY aJustify)
int CalculateTextLengthSize(TTEXTVALUE *aText)
XNODE * FindPinMap(XNODE *aNode)
void CorrectTextPosition(TTEXTVALUE *aValue)
void SetFontProperty(XNODE *aNode, TTEXTVALUE *aTextValue, const wxString &aDefaultMeasurementUnit, const wxString &aActualConversion)
wxString FindNodeGetContent(XNODE *aChild, const wxString &aTag)
void SetTextParameters(XNODE *aNode, TTEXTVALUE *aTextValue, const wxString &aDefaultMeasurementUnit, const wxString &aActualConversion)
wxString GetAndCutWordWithMeasureUnits(wxString *aStr, const wxString &aDefaultMeasurementUnit)
void InitTTextValue(TTEXTVALUE *aTextValue)
void SetTextSizeFromTrueTypeFontHeight(EDA_TEXT *aText, int aTextHeight)