KiCad PCB EDA Suite
pcad2kicad_common.cpp File Reference
#include <wx/wx.h>
#include <wx/config.h>
#include <common.h>
#include <convert_to_biu.h>
#include <pcad2kicad_common.h>

Go to the source code of this file.

Namespaces

 PCAD2KICAD
 

Functions

wxString PCAD2KICAD::GetWord (wxString *aStr)
 
XNODEPCAD2KICAD::FindPinMap (XNODE *aNode)
 
double PCAD2KICAD::StrToDoublePrecisionUnits (wxString aStr, char aAxe, wxString aActualConversion)
 
int PCAD2KICAD::StrToIntUnits (wxString aStr, char aAxe, wxString aActualConversion)
 
wxString PCAD2KICAD::GetAndCutWordWithMeasureUnits (wxString *aStr, wxString aDefaultMeasurementUnit)
 
int PCAD2KICAD::StrToInt1Units (wxString aStr)
 
wxString PCAD2KICAD::ValidateName (wxString aName)
 
void PCAD2KICAD::SetWidth (wxString aStr, wxString aDefaultMeasurementUnit, int *aWidth, wxString aActualConversion)
 
void PCAD2KICAD::SetHeight (wxString aStr, wxString aDefaultMeasurementUnit, int *aHeight, wxString aActualConversion)
 
void PCAD2KICAD::SetPosition (wxString aStr, wxString aDefaultMeasurementUnit, int *aX, int *aY, wxString aActualConversion)
 
void PCAD2KICAD::SetDoublePrecisionPosition (wxString aStr, wxString aDefaultMeasurementUnit, double *aX, double *aY, wxString aActualConversion)
 
TTEXT_JUSTIFY PCAD2KICAD::GetJustifyIdentificator (wxString aJustify)
 
void PCAD2KICAD::SetTextParameters (XNODE *aNode, TTEXTVALUE *aTextValue, wxString aDefaultMeasurementUnit, wxString aActualConversion)
 
void PCAD2KICAD::SetFontProperty (XNODE *aNode, TTEXTVALUE *aTextValue, wxString aDefaultMeasurementUnit, wxString aActualConversion)
 
void PCAD2KICAD::SetTextJustify (EDA_TEXT *aText, TTEXT_JUSTIFY aJustify)
 
int PCAD2KICAD::CalculateTextLengthSize (TTEXTVALUE *aText)
 
void PCAD2KICAD::CorrectTextPosition (TTEXTVALUE *aValue)
 
void PCAD2KICAD::SetTextSizeFromStrokeFontHeight (EDA_TEXT *aText, int aTextHeight)
 
XNODEPCAD2KICAD::FindNode (XNODE *aChild, wxString aTag)
 
wxString PCAD2KICAD::FindNodeGetContent (XNODE *aChild, wxString aTag)
 
void PCAD2KICAD::InitTTextValue (TTEXTVALUE *aTextValue)
 

Variables

const double PCAD2KICAD::TEXT_WIDTH_TO_SIZE_AVERAGE = 0.79
 
const double PCAD2KICAD::TEXT_HEIGHT_TO_SIZE = 0.656
 
const double PCAD2KICAD::TEXT_WIDTH_TO_SIZE = 0.656