KiCad PCB EDA Suite
|
Go to the source code of this file.
Functions | |
std::optional< int > | GetBoardItemWidth (const BOARD_ITEM &aItem) |
Gets the width of a BOARD_ITEM, for items that have a meaningful width. | |
std::optional< int > GetBoardItemWidth | ( | const BOARD_ITEM & | aItem | ) |
Gets the width of a BOARD_ITEM, for items that have a meaningful width.
(e.g. some graphics, tracks).
aItem | The item to get the width of. |
Definition at line 30 of file pcb_tool_utils.cpp.
References PCB_TRACK::GetWidth(), PCB_SHAPE::GetWidth(), PCB_SHAPE_T, PCB_TRACE_T, and EDA_ITEM::Type().
Referenced by OUTSET_ROUTINE::ProcessItem().