KiCad PCB EDA Suite
|
#include "sch_pin.h"
#include <base_units.h>
#include <pgm_base.h>
#include <pin_layout_cache.h>
#include <plotters/plotter.h>
#include <sch_draw_panel.h>
#include <sch_edit_frame.h>
#include <symbol_edit_frame.h>
#include <settings/settings_manager.h>
#include <symbol_editor/symbol_editor_settings.h>
#include <trigo.h>
#include <string_utils.h>
Go to the source code of this file.
Classes | |
struct | SCH_PIN_DESC |
Macros | |
#define | PIN_TEXT_MARGIN 4 |
#define | ETXT_MAX_SIZE schIUScale.mmToIU( 0.7 ) |
Functions | |
static int | internalPinDecoSize (const RENDER_SETTINGS *aSettings, const SCH_PIN &aPin) |
Utility for getting the size of the 'internal' pin decorators (as a radius) | |
static int | externalPinDecoSize (const RENDER_SETTINGS *aSettings, const SCH_PIN &aPin) |
Utility for getting the size of the 'external' pin decorators (as a radius) | |
Variables | |
static struct SCH_PIN_DESC | _SCH_PIN_DESC |
#define ETXT_MAX_SIZE schIUScale.mmToIU( 0.7 ) |
#define PIN_TEXT_MARGIN 4 |
Definition at line 44 of file sch_pin.cpp.
|
static |
Utility for getting the size of the 'external' pin decorators (as a radius)
Definition at line 89 of file sch_pin.cpp.
References SCH_PIN::GetNumberTextSize(), and SCH_RENDER_SETTINGS::m_PinSymbolSize.
Referenced by KIGFX::SCH_PAINTER::draw(), PIN_LAYOUT_CACHE::getUntransformedDecorationBox(), SCH_PIN::PlotPinType(), and SCH_PIN::printPinSymbol().
|
static |
Utility for getting the size of the 'internal' pin decorators (as a radius)
Definition at line 76 of file sch_pin.cpp.
References SCH_PIN::GetNameTextSize(), SCH_PIN::GetNumberTextSize(), and SCH_RENDER_SETTINGS::m_PinSymbolSize.
Referenced by KIGFX::SCH_PAINTER::draw(), PIN_LAYOUT_CACHE::getUntransformedDecorationBox(), SCH_PIN::PlotPinType(), and SCH_PIN::printPinSymbol().
|
static |