| 
    KiCad PCB EDA Suite
    
   | 
 
#include "pin_layout_cache.h"#include <geometry/direction45.h>#include <pgm_base.h>#include <settings/settings_manager.h>#include <sch_symbol.h>#include <eeschema_settings.h>#include <schematic_settings.h>#include <string_utils.h>#include <geometry/shape_utils.h>Go to the source code of this file.
Functions | |
| wxString | FormatStackedPinForDisplay (const wxString &aPinNumber, int aPinLength, int aTextSize, KIFONT::FONT *aFont, const KIFONT::METRICS &aFontMetrics) | 
| static int | externalPinDecoSize (const SCHEMATIC_SETTINGS *aSettings, const SCH_PIN &aPin) | 
| static int | internalPinDecoSize (const SCHEMATIC_SETTINGS *aSettings, const SCH_PIN &aPin) | 
Variables | |
| static const int | PIN_TEXT_MARGIN = 4 | 
      
  | 
  static | 
Definition at line 212 of file pin_layout_cache.cpp.
References SCH_PIN::GetNumberTextSize(), and SCHEMATIC_SETTINGS::m_PinSymbolSize.
Referenced by PIN_LAYOUT_CACHE::getUntransformedDecorationBox(), and SCH_PIN::PlotPinType().
| wxString FormatStackedPinForDisplay | ( | const wxString & | aPinNumber, | 
| int | aPinLength, | ||
| int | aTextSize, | ||
| KIFONT::FONT * | aFont, | ||
| const KIFONT::METRICS & | aFontMetrics ) | 
Definition at line 43 of file sch_pin.cpp.
References GetPenSizeForNormal(), result, schIUScale, KIFONT::FONT::StringBoundaryLimits(), wxStringSplit(), and VECTOR2< T >::x.
Referenced by PIN_LAYOUT_CACHE::GetPinNumberInfo(), and SCH_PIN::PlotPinTexts().
      
  | 
  static | 
Definition at line 220 of file pin_layout_cache.cpp.
References SCH_PIN::GetNameTextSize(), SCH_PIN::GetNumberTextSize(), and SCHEMATIC_SETTINGS::m_PinSymbolSize.
Referenced by PIN_LAYOUT_CACHE::getUntransformedDecorationBox(), and SCH_PIN::PlotPinType().
      
  | 
  static | 
Definition at line 32 of file pin_layout_cache.cpp.