KiCad PCB EDA Suite
Loading...
Searching...
No Matches
sch_pin.h
Go to the documentation of this file.
1/*
2 * This program source code file is part of KiCad, a free EDA CAD application.
3 *
4 * Copyright (C) 2015 Jean-Pierre Charras, jaen-pierre.charras at wanadoo.fr
5 * Copyright (C) 2015 Wayne Stambaugh <[email protected]>
6 * Copyright (C) 2018 CERN
7 * Copyright The KiCad Developers, see AUTHOR.txt for contributors.
8 * @author Jon Evans <[email protected]>
9 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License
12 * as published by the Free Software Foundation; either version 2
13 * of the License, or (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License along
21 * with this program. If not, see <http://www.gnu.org/licenses/>.
22 */
23
24#pragma once
25
26#include <memory>
27#include <vector>
28
29#include <pin_type.h>
30#include <sch_item.h>
31
32class LIB_SYMBOL;
33class SCH_SYMBOL;
35
36// Circle diameter drawn at the active end of pins:
37#define TARGET_PIN_RADIUS schIUScale.MilsToIU( 15 )
38
39
40class SCH_PIN : public SCH_ITEM
41{
42public:
43 struct ALT
44 {
45 wxString m_Name;
46 GRAPHIC_PINSHAPE m_Shape; // Shape drawn around pin
47 ELECTRICAL_PINTYPE m_Type; // Electrical type of the pin.
48 };
49
50 SCH_PIN( LIB_SYMBOL* aParentSymbol );
51
52 SCH_PIN( LIB_SYMBOL* aParentSymbol, const wxString& aName, const wxString& aNumber,
53 PIN_ORIENTATION aOrientation, ELECTRICAL_PINTYPE aPinType, int aLength,
54 int aNameTextSize, int aNumTextSize, int aBodyStyle, const VECTOR2I& aPos, int aUnit );
55
56 SCH_PIN( SCH_SYMBOL* aParentSymbol, SCH_PIN* aLibPin );
57
65 SCH_PIN( SCH_SYMBOL* aParentSymbol, const wxString& aNumber, const wxString& aAlt,
66 const KIID& aUuid );
67
68 SCH_PIN( const SCH_PIN& aPin );
69
70 ~SCH_PIN();
71
72 SCH_PIN& operator=( const SCH_PIN& aPin );
73
74 wxString GetClass() const override
75 {
76 return wxT( "SCH_PIN" );
77 }
78
79 static bool ClassOf( const EDA_ITEM* aItem )
80 {
81 return aItem && aItem->Type() == SCH_PIN_T;
82 }
83
84 wxString GetFriendlyName() const override
85 {
86 return _( "Pin" );
87 }
88
89 SCH_PIN* GetLibPin() const { return m_libPin; }
90 void SetLibPin( SCH_PIN* aLibPin ) { m_libPin = aLibPin; }
91
93 void SetOrientation( PIN_ORIENTATION aOrientation ) { m_orientation = aOrientation; }
94
96 void SetShape( GRAPHIC_PINSHAPE aShape ) { m_shape = aShape; }
97
98 int GetLength() const;
99 void SetLength( int aLength ) { m_length = aLength; }
100
106 void ChangeLength( int aLength );
107
109 void SetType( ELECTRICAL_PINTYPE aType );
110 wxString GetCanonicalElectricalTypeName() const;
111 wxString GetElectricalTypeName() const;
112
113 bool IsVisible() const;
114 void SetVisible( bool aVisible ) { m_hidden = !aVisible; }
115
116 const wxString& GetName() const;
117 wxString GetShownName() const;
118 void SetName( const wxString& aName );
122 const wxString& GetBaseName() const;
123
124 const wxString& GetNumber() const { return m_number; }
125 wxString GetShownNumber() const;
126 std::vector<wxString> GetStackedPinNumbers( bool* aValid = nullptr ) const;
127
138 int GetStackedPinCount( bool* aValid = nullptr ) const;
139
144 std::optional<wxString> GetSmallestLogicalNumber() const;
145
151 wxString GetEffectivePadNumber() const;
152 void SetNumber( const wxString& aNumber );
153
154 int GetNameTextSize() const;
155 void SetNameTextSize( int aSize );
156
157 int GetNumberTextSize() const;
158 void SetNumberTextSize( int aSize );
159
160 const std::map<wxString, ALT>& GetAlternates() const
161 {
162 if( m_libPin )
163 return m_libPin->GetAlternates();
164
165 return m_alternates;
166 }
167
168 std::map<wxString, ALT>& GetAlternates()
169 {
170 return const_cast<std::map<wxString, ALT>&>(
171 static_cast<const SCH_PIN*>( this )->GetAlternates() );
172 }
173
174 ALT GetAlt( const wxString& aAlt )
175 {
176 return GetAlternates()[ aAlt ];
177 }
178
179 wxString GetAlt() const { return m_alt; }
180
190 void SetAlt( const wxString& aAlt );
191
198 PIN_ORIENTATION PinDrawOrient( const TRANSFORM& aTransform ) const;
199
200#if defined(DEBUG)
201 void Show( int nestLevel, std::ostream& os ) const override;
202#endif
203
204 bool HitTest( const VECTOR2I& aPosition, int aAccuracy = 0 ) const override;
205
206 bool HitTest( const BOX2I& aRect, bool aContained, int aAccuracy = 0 ) const override;
207
208 void GetMsgPanelInfo( EDA_DRAW_FRAME* aFrame, std::vector<MSG_PANEL_ITEM>& aList ) override;
209
210 const BOX2I ViewBBox() const override;
211
212 std::vector<int> ViewGetLayers() const override;
213
214 /* Cannot use a default parameter here as it will not be compatible with the virtual. */
215 const BOX2I GetBoundingBox() const override
216 {
217 return GetBoundingBox( false, true, m_flags & SHOW_ELEC_TYPE );
218 }
219
224 BOX2I GetBoundingBox( bool aIncludeLabelsOnInvisiblePins, bool aIncludeNameAndNumber,
225 bool aIncludeElectricalType ) const;
226
231 bool IsGlobalPower() const;
232
237 bool IsLocalPower() const;
238
243 bool IsPower() const;
244
245 int GetPenWidth() const override { return 0; }
246
247 void Move( const VECTOR2I& aOffset ) override;
248
249 VECTOR2I GetPosition() const override;
251 void SetPosition( const VECTOR2I& aPos ) override { m_position = aPos; }
252
253 // For properties system
254 int GetX() const { return m_position.x; }
255 void SetX( int aX ) { m_position.x = aX; }
256 int GetY() const { return m_position.y; }
257 void SetY( int aY ) { m_position.y = aY; }
258
259 VECTOR2I GetPinRoot() const;
260
264 void MirrorHorizontally( int aCenter ) override;
265 void MirrorVertically( int aCenter ) override;
266 void Rotate( const VECTOR2I& aCenter, bool aRotateCCW = true ) override;
267
271 void MirrorHorizontallyPin( int aCenter );
272 void MirrorVerticallyPin( int aCenter );
273 void RotatePin( const VECTOR2I& aCenter, bool aRotateCCW = true );
274
281 void PlotPinTexts( PLOTTER *aPlotter, const VECTOR2I &aPinPos, PIN_ORIENTATION aPinOrient,
282 int aTextInside, bool aDrawPinNum, bool aDrawPinName, bool aDimmed ) const;
283
284 void PlotPinType( PLOTTER *aPlotter, const VECTOR2I &aPosition, PIN_ORIENTATION aOrientation,
285 bool aDimmed ) const;
286
287 void Plot( PLOTTER* aPlotter, bool aBackground, const SCH_PLOT_OPTS& aPlotOpts,
288 int aUnit, int aBodyStyle, const VECTOR2I& aOffset, bool aDimmed ) override;
289
290 BITMAPS GetMenuImage() const override;
291
292 wxString GetItemDescription( UNITS_PROVIDER* aUnitsProvider, bool aFull ) const override;
293 wxString GetItemDescription( UNITS_PROVIDER* aUnitsProvider, ALT* aAlt ) const;
294
295 EDA_ITEM* Clone() const override;
296
297 void CalcEdit( const VECTOR2I& aPosition ) override;
298
299 bool Matches( const EDA_SEARCH_DATA& aSearchData, void* aAuxData ) const override;
300
301 bool Replace( const EDA_SEARCH_DATA& aSearchData, void* aAuxData ) override;
302
312
313 bool IsConnectable() const override { return true; }
314
315 bool HasConnectivityChanges( const SCH_ITEM* aItem,
316 const SCH_SHEET_PATH* aInstance = nullptr ) const override;
317
318 void ClearDefaultNetName( const SCH_SHEET_PATH* aPath );
319 wxString GetDefaultNetName( const SCH_SHEET_PATH& aPath, bool aForceNoConnect = false );
320
321 bool IsDangling() const override;
322 void SetIsDangling( bool aIsDangling );
323
328 bool IsStacked( const SCH_PIN* aPin ) const;
329
330 bool IsPointClickableAnchor( const VECTOR2I& aPos ) const override
331 {
332 return m_isDangling && GetPosition() == aPos;
333 }
334
335 bool ConnectionPropagatesTo( const EDA_ITEM* aItem ) const override;
336
337 const wxString& GetOperatingPoint() const { return m_operatingPoint; }
338 void SetOperatingPoint( const wxString& aText ) { m_operatingPoint = aText; }
339
340 double Similarity( const SCH_ITEM& aOther ) const override;
341
342 bool operator>( const SCH_ITEM& aRhs ) const { return compare( aRhs, EQUALITY ) > 0; }
343
352
353protected:
354 wxString getItemDescription( ALT* aAlt ) const;
355
362
363 void validateExtentsCache( KIFONT::FONT* aFont, int aSize, const wxString& aText,
364 EXTENTS_CACHE* aCache ) const;
365
366 std::ostream& operator<<( std::ostream& aStream );
367
368private:
385 int compare( const SCH_ITEM& aOther, int aCompareFlags = 0 ) const override;
386
387protected:
388 SCH_PIN* m_libPin; // The corresponding pin in the LIB_SYMBOL
389 // (nullptr for a pin *in* the LIB_SYMBOL)
390
391 std::map<wxString, ALT> m_alternates; // Map of alternate name to ALT structure
392 // (only valid for pins in LIB_SYMBOLS)
393
394 VECTOR2I m_position; // Position of the pin.
395 std::optional<int> m_length; // Length of the pin.
396 PIN_ORIENTATION m_orientation; // Pin orientation (Up, Down, Left, Right)
397 GRAPHIC_PINSHAPE m_shape; // Shape drawn around pin
398 ELECTRICAL_PINTYPE m_type; // Electrical type of the pin.
399 std::optional<bool> m_hidden;
400 wxString m_name;
401 wxString m_number;
402 std::optional<int> m_numTextSize; // Pin num and Pin name sizes
403 std::optional<int> m_nameTextSize;
404 wxString m_alt; // The current alternate for an instance
405
407
409
415 mutable std::unique_ptr<PIN_LAYOUT_CACHE> m_layoutCache;
416
418 std::recursive_mutex m_netmap_mutex;
419 std::map<const SCH_SHEET_PATH, std::pair<wxString, bool>> m_net_name_map;
420};
BITMAPS
A list of all bitmap identifiers.
BOX2< VECTOR2I > BOX2I
Definition box2.h:922
The base class for create windows for drawing purpose.
A base class for most all the KiCad significant classes used in schematics and boards.
Definition eda_item.h:98
KICAD_T Type() const
Returns the type of object.
Definition eda_item.h:110
EDA_ITEM_FLAGS m_flags
Definition eda_item.h:527
EDA_ITEM(EDA_ITEM *parent, KICAD_T idType, bool isSCH_ITEM=false, bool isBOARD_ITEM=false)
Definition eda_item.cpp:39
FONT is an abstract base class for both outline and stroke fonts.
Definition font.h:131
Definition kiid.h:49
Define a library symbol object.
Definition lib_symbol.h:85
A pin layout helper is a class that manages the layout of the parts of a pin on a schematic symbol:
Base plotter engine class.
Definition plotter.h:121
Base class for any item which can be embedded within the SCHEMATIC container class,...
Definition sch_item.h:167
friend class LIB_SYMBOL
Definition sch_item.h:773
SCH_ITEM(EDA_ITEM *aParent, KICAD_T aType, int aUnit=0, int aBodyStyle=0)
Definition sch_item.cpp:51
void Rotate(const VECTOR2I &aCenter, bool aRotateCCW=true) override
Rotate the item around aCenter 90 degrees in the clockwise direction.
Definition sch_pin.cpp:1307
std::ostream & operator<<(std::ostream &aStream)
Definition sch_pin.cpp:1818
void SetAlt(const wxString &aAlt)
Set the name of the alternate pin.
Definition sch_pin.cpp:433
void PlotPinTexts(PLOTTER *aPlotter, const VECTOR2I &aPinPos, PIN_ORIENTATION aPinOrient, int aTextInside, bool aDrawPinNum, bool aDrawPinName, bool aDimmed) const
Plot the pin name and number.
Definition sch_pin.cpp:873
VECTOR2I GetLocalPosition() const
Definition sch_pin.h:250
int GetNumberTextSize() const
Definition sch_pin.cpp:679
int GetLength() const
Definition sch_pin.cpp:299
std::optional< bool > m_hidden
Definition sch_pin.h:399
bool Matches(const EDA_SEARCH_DATA &aSearchData, void *aAuxData) const override
Compare the item against the search criteria in aSearchData.
Definition sch_pin.cpp:499
void GetMsgPanelInfo(EDA_DRAW_FRAME *aFrame, std::vector< MSG_PANEL_ITEM > &aList) override
Populate aList of MSG_PANEL_ITEM objects with it's internal state for display purposes.
Definition sch_pin.cpp:1335
std::unique_ptr< PIN_LAYOUT_CACHE > m_layoutCache
The layout cache for this pin.
Definition sch_pin.h:415
void MirrorVerticallyPin(int aCenter)
Definition sch_pin.cpp:1256
void validateExtentsCache(KIFONT::FONT *aFont, int aSize, const wxString &aText, EXTENTS_CACHE *aCache) const
Definition sch_pin.cpp:1517
wxString GetAlt() const
Definition sch_pin.h:179
bool operator>(const SCH_ITEM &aRhs) const
Definition sch_pin.h:342
const BOX2I ViewBBox() const override
Return the bounding box of the item covering all its layers.
Definition sch_pin.cpp:1504
std::vector< int > ViewGetLayers() const override
Return the layers the item is drawn on (which may be more than its "home" layer)
Definition sch_pin.cpp:1510
const std::map< wxString, ALT > & GetAlternates() const
Definition sch_pin.h:160
void CalcEdit(const VECTOR2I &aPosition) override
Calculate the attributes of an item at aPosition when it is being edited.
Definition sch_pin.cpp:1847
void SetNumber(const wxString &aNumber)
Definition sch_pin.cpp:642
std::optional< int > m_nameTextSize
Definition sch_pin.h:403
PIN_ORIENTATION PinDrawOrient(const TRANSFORM &aTransform) const
Return the pin real orientation (PIN_UP, PIN_DOWN, PIN_RIGHT, PIN_LEFT), according to its orientation...
Definition sch_pin.cpp:1158
void SetVisible(bool aVisible)
Definition sch_pin.h:114
int GetX() const
Definition sch_pin.h:254
void ChangeLength(int aLength)
Change the length of a pin and adjust its position based on orientation.
Definition sch_pin.cpp:1202
ALT GetAlt(const wxString &aAlt)
Definition sch_pin.h:174
void SetX(int aX)
Definition sch_pin.h:255
bool HasConnectivityChanges(const SCH_ITEM *aItem, const SCH_SHEET_PATH *aInstance=nullptr) const override
Check if aItem has connectivity changes against this object.
Definition sch_pin.cpp:1547
SCH_PIN & operator=(const SCH_PIN &aPin)
Definition sch_pin.cpp:233
wxString GetShownNumber() const
Definition sch_pin.cpp:588
SCH_PIN * m_libPin
Definition sch_pin.h:388
std::optional< wxString > GetSmallestLogicalNumber() const
Return the smallest logical pin number if this pin uses stacked notation and it is valid.
Definition sch_pin.cpp:621
void Move(const VECTOR2I &aOffset) override
Move the item by aMoveVector to a new position.
Definition sch_pin.cpp:1230
std::map< const SCH_SHEET_PATH, std::pair< wxString, bool > > m_net_name_map
Definition sch_pin.h:419
PIN_ORIENTATION m_orientation
Definition sch_pin.h:396
const wxString & GetOperatingPoint() const
Definition sch_pin.h:337
void SetOrientation(PIN_ORIENTATION aOrientation)
Definition sch_pin.h:93
void SetName(const wxString &aName)
Definition sch_pin.cpp:419
bool IsGlobalPower() const
Return whether this pin forms a global power connection: i.e., is part of a power symbol and of type ...
Definition sch_pin.cpp:367
wxString getItemDescription(ALT *aAlt) const
Definition sch_pin.cpp:1617
bool IsVisible() const
Definition sch_pin.cpp:387
bool ConnectionPropagatesTo(const EDA_ITEM *aItem) const override
Return true if this item should propagate connection info to aItem.
Definition sch_pin.cpp:1569
std::optional< int > m_numTextSize
Definition sch_pin.h:402
VECTOR2I GetPinRoot() const
Definition sch_pin.cpp:703
bool IsLocalPower() const
Local power pin is the same except that it is sheet-local and it does not support the legacy hidden p...
Definition sch_pin.cpp:374
ELECTRICAL_PINTYPE m_type
Definition sch_pin.h:398
void SetLibPin(SCH_PIN *aLibPin)
Definition sch_pin.h:90
wxString GetEffectivePadNumber() const
Return the pin number to be used for deterministic operations such as auto‑generated net names.
Definition sch_pin.cpp:633
void MirrorVertically(int aCenter) override
Mirror item vertically about aCenter.
Definition sch_pin.cpp:1269
SCH_PIN * GetLibPin() const
Definition sch_pin.h:89
void SetPosition(const VECTOR2I &aPos) override
Definition sch_pin.h:251
double Similarity(const SCH_ITEM &aOther) const override
Return a measure of how likely the other object is to represent the same object.
Definition sch_pin.cpp:1758
bool m_isDangling
Definition sch_pin.h:408
bool IsConnectable() const override
Definition sch_pin.h:313
void SetIsDangling(bool aIsDangling)
Definition sch_pin.cpp:470
wxString GetElectricalTypeName() const
Definition sch_pin.cpp:355
std::vector< wxString > GetStackedPinNumbers(bool *aValid=nullptr) const
Definition sch_pin.cpp:594
int GetPenWidth() const override
Definition sch_pin.h:245
std::map< wxString, ALT > m_alternates
Definition sch_pin.h:391
const wxString & GetName() const
Definition sch_pin.cpp:401
wxString GetFriendlyName() const override
Definition sch_pin.h:84
int GetStackedPinCount(bool *aValid=nullptr) const
Return the count of logical pins represented by this pin's stacked notation.
Definition sch_pin.cpp:614
void SetLength(int aLength)
Definition sch_pin.h:99
bool IsDangling() const override
Definition sch_pin.cpp:461
void Plot(PLOTTER *aPlotter, bool aBackground, const SCH_PLOT_OPTS &aPlotOpts, int aUnit, int aBodyStyle, const VECTOR2I &aOffset, bool aDimmed) override
Plot the item to aPlotter.
Definition sch_pin.cpp:1314
void MirrorHorizontally(int aCenter) override
These transforms have effect only if the pin has a LIB_SYMBOL as parent.
Definition sch_pin.cpp:1249
std::recursive_mutex m_netmap_mutex
The name that this pin connection will drive onto a net.
Definition sch_pin.h:418
PIN_ORIENTATION GetOrientation() const
Definition sch_pin.cpp:264
wxString GetClass() const override
Return the class name.
Definition sch_pin.h:74
void SetNumberTextSize(int aSize)
Definition sch_pin.cpp:693
void SetShape(GRAPHIC_PINSHAPE aShape)
Definition sch_pin.h:96
void RotatePin(const VECTOR2I &aCenter, bool aRotateCCW=true)
Definition sch_pin.cpp:1276
std::map< wxString, ALT > & GetAlternates()
Definition sch_pin.h:168
VECTOR2I GetPosition() const override
Definition sch_pin.cpp:256
wxString GetCanonicalElectricalTypeName() const
Definition sch_pin.cpp:343
bool Replace(const EDA_SEARCH_DATA &aSearchData, void *aAuxData) override
Perform a text replace using the find and replace criteria in aSearchData on items that support text ...
Definition sch_pin.cpp:526
int GetNameTextSize() const
Definition sch_pin.cpp:655
wxString GetItemDescription(UNITS_PROVIDER *aUnitsProvider, bool aFull) const override
Return a user-visible description string of this item.
Definition sch_pin.cpp:1590
VECTOR2I m_position
Definition sch_pin.h:394
wxString m_operatingPoint
Definition sch_pin.h:406
GRAPHIC_PINSHAPE m_shape
Definition sch_pin.h:397
int compare(const SCH_ITEM &aOther, int aCompareFlags=0) const override
The pin specific sort order is as follows:
Definition sch_pin.cpp:1662
wxString GetShownName() const
Definition sch_pin.cpp:577
static bool ClassOf(const EDA_ITEM *aItem)
Definition sch_pin.h:79
void MirrorHorizontallyPin(int aCenter)
These transforms have always effects.
Definition sch_pin.cpp:1236
bool HitTest(const VECTOR2I &aPosition, int aAccuracy=0) const override
Test if aPosition is inside or on the boundary of this item.
Definition sch_pin.cpp:547
PIN_LAYOUT_CACHE & GetLayoutCache() const
Get the layout cache associated with this pin.
Definition sch_pin.h:351
wxString m_name
Definition sch_pin.h:400
wxString m_alt
Definition sch_pin.h:404
void SetOperatingPoint(const wxString &aText)
Definition sch_pin.h:338
void SetType(ELECTRICAL_PINTYPE aType)
Definition sch_pin.cpp:333
const wxString & GetBaseName() const
Get the name without any alternates.
Definition sch_pin.cpp:410
void ClearDefaultNetName(const SCH_SHEET_PATH *aPath)
Definition sch_pin.cpp:1383
void SetY(int aY)
Definition sch_pin.h:257
SCH_PIN(LIB_SYMBOL *aParentSymbol)
Definition sch_pin.cpp:118
bool IsPointClickableAnchor(const VECTOR2I &aPos) const override
Definition sch_pin.h:330
bool IsStacked(const SCH_PIN *aPin) const
Definition sch_pin.cpp:476
const wxString & GetNumber() const
Definition sch_pin.h:124
wxString m_number
Definition sch_pin.h:401
EDA_ITEM * Clone() const override
Create a duplicate of this item with linked list members set to NULL.
Definition sch_pin.cpp:1193
const BOX2I GetBoundingBox() const override
Return the orthogonal bounding box of this object for display purposes.
Definition sch_pin.h:215
wxString GetDefaultNetName(const SCH_SHEET_PATH &aPath, bool aForceNoConnect=false)
Definition sch_pin.cpp:1394
std::optional< int > m_length
Definition sch_pin.h:395
static wxString GetCanonicalElectricalTypeName(ELECTRICAL_PINTYPE aType)
Return a string giving the electrical type of a pin.
GRAPHIC_PINSHAPE GetShape() const
Definition sch_pin.cpp:278
void PlotPinType(PLOTTER *aPlotter, const VECTOR2I &aPosition, PIN_ORIENTATION aOrientation, bool aDimmed) const
Definition sch_pin.cpp:726
int GetY() const
Definition sch_pin.h:256
bool IsPower() const
Check if the pin is either a global or local power pin.
Definition sch_pin.cpp:381
ELECTRICAL_PINTYPE GetType() const
Definition sch_pin.cpp:313
BITMAPS GetMenuImage() const override
Return a pointer to an image to be used in menus.
Definition sch_pin.cpp:1575
void SetNameTextSize(int aSize)
Definition sch_pin.cpp:669
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
Schematic symbol object.
Definition sch_symbol.h:76
for transforming drawing coordinates for a wxDC device context.
Definition transform.h:46
#define _(s)
#define SHOW_ELEC_TYPE
Show pin electrical type.
ELECTRICAL_PINTYPE
The symbol library pin object electrical types used in ERC tests.
Definition pin_type.h:36
PIN_ORIENTATION
The symbol library pin object orientations.
Definition pin_type.h:105
GRAPHIC_PINSHAPE
Definition pin_type.h:84
wxString m_Name
Definition sch_pin.h:45
GRAPHIC_PINSHAPE m_Shape
Definition sch_pin.h:46
ELECTRICAL_PINTYPE m_Type
Definition sch_pin.h:47
KIFONT::FONT * m_Font
Definition sch_pin.h:358
@ SCH_PIN_T
Definition typeinfo.h:157
VECTOR2< int32_t > VECTOR2I
Definition vector2d.h:695