|
KiCad PCB EDA Suite
|
#include <memory>#include <set>#include <vector>#include <pin_type.h>#include <pin_comparison.h>#include <sch_item.h>Go to the source code of this file.
Classes | |
| class | SCH_PIN |
| struct | SCH_PIN::EXTENTS_CACHE |
Namespaces | |
| namespace | KIFONT |
Macros | |
| #define | TARGET_PIN_RADIUS schIUScale.MilsToIU( 15 ) |
Functions | |
| wxString | FormatStackedPinForDisplay (const wxString &aPinNumber, int aPinLength, int aTextSize, KIFONT::FONT *aFont, const KIFONT::METRICS &aFontMetrics) |
| Break a stacked pin number of the form "[A,B,C]" into one number per line when it is too wide to sit alongside the pin. | |
| #define TARGET_PIN_RADIUS schIUScale.MilsToIU( 15 ) |
Definition at line 46 of file sch_pin.h.
Referenced by KIGFX::SCH_PAINTER::draw(), PIN_LAYOUT_CACHE::GetDanglingIndicator(), PIN_LAYOUT_CACHE::GetPinElectricalTypeInfo(), PIN_LAYOUT_CACHE::getUntransformedPinTypeBox(), and SCH_PIN::PlotPinType().
| wxString FormatStackedPinForDisplay | ( | const wxString & | aPinNumber, |
| int | aPinLength, | ||
| int | aTextSize, | ||
| KIFONT::FONT * | aFont, | ||
| const KIFONT::METRICS & | aFontMetrics ) |
Break a stacked pin number of the form "[A,B,C]" into one number per line when it is too wide to sit alongside the pin.
Anything else, and anything that already fits, is returned as-is.
Everything that draws, plots or measures a pin number goes through here.
Definition at line 50 of file sch_pin.cpp.
References GetPenSizeForNormal(), result, schIUScale, SplitStackedPinDisplayItems(), KIFONT::FONT::StringBoundaryLimits(), and VECTOR2< T >::x.
Referenced by SCH_PIN::PlotPinTexts(), and PIN_LAYOUT_CACHE::recomputeCaches().