KiCad PCB EDA Suite
|
Go to the source code of this file.
Classes | |
class | TEARDROP_PARAMETERS |
TEARDROP_PARAMETARS is a helper class to handle parameters needed to build teardrops for a board these parameters are sizes and filters. More... | |
class | TEARDROP_PARAMETERS_LIST |
TEARDROP_PARAMETERS_LIST is a helper class to handle the list of TEARDROP_PARAMETERS needed to build teardrops of different shapes (round, rect, tracks) More... | |
Enumerations | |
enum | TARGET_TD { TARGET_UNKNOWN = -1 , TARGET_ROUND = 0 , TARGET_RECT = 1 , TARGET_TRACK = 2 , TARGET_COUNT = 3 } |
Functions | |
std::string | GetTeardropTargetCanonicalName (TARGET_TD aTdType) |
TARGET_TD | GetTeardropTargetTypeFromCanonicalName (const std::string &aTargetName) |
enum TARGET_TD |
Enumerator | |
---|---|
TARGET_UNKNOWN | |
TARGET_ROUND | |
TARGET_RECT | |
TARGET_TRACK | |
TARGET_COUNT |
Definition at line 33 of file teardrop_parameters.h.
std::string GetTeardropTargetCanonicalName | ( | TARGET_TD | aTdType | ) |
aTdType | is the target type |
Definition at line 31 of file teardrop_parameters.cpp.
References name, TARGET_NAME_RECT, TARGET_NAME_ROUND, TARGET_NAME_TRACK, TARGET_RECT, TARGET_ROUND, and TARGET_TRACK.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().
TARGET_TD GetTeardropTargetTypeFromCanonicalName | ( | const std::string & | aTargetName | ) |
aTargetName | is the canonical name |
Definition at line 48 of file teardrop_parameters.cpp.
References TARGET_NAME_RECT, TARGET_NAME_ROUND, TARGET_NAME_TRACK, TARGET_RECT, TARGET_ROUND, TARGET_TRACK, and TARGET_UNKNOWN.
Referenced by BOARD_DESIGN_SETTINGS::BOARD_DESIGN_SETTINGS().