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;
131 std::optional<wxString> GetSmallestLogicalNumber() const;
132
138 wxString GetEffectivePadNumber() const;
139 void SetNumber( const wxString& aNumber );
140
141 int GetNameTextSize() const;
142 void SetNameTextSize( int aSize );
143
144 int GetNumberTextSize() const;
145 void SetNumberTextSize( int aSize );
146
147 const std::map<wxString, ALT>& GetAlternates() const
148 {
149 if( m_libPin )
150 return m_libPin->GetAlternates();
151
152 return m_alternates;
153 }
154
155 std::map<wxString, ALT>& GetAlternates()
156 {
157 return const_cast<std::map<wxString, ALT>&>(
158 static_cast<const SCH_PIN*>( this )->GetAlternates() );
159 }
160
161 ALT GetAlt( const wxString& aAlt )
162 {
163 return GetAlternates()[ aAlt ];
164 }
165
166 wxString GetAlt() const { return m_alt; }
167
177 void SetAlt( const wxString& aAlt );
178
185 PIN_ORIENTATION PinDrawOrient( const TRANSFORM& aTransform ) const;
186
187#if defined(DEBUG)
188 void Show( int nestLevel, std::ostream& os ) const override;
189#endif
190
191 bool HitTest( const VECTOR2I& aPosition, int aAccuracy = 0 ) const override;
192
193 bool HitTest( const BOX2I& aRect, bool aContained, int aAccuracy = 0 ) const override;
194
195 void GetMsgPanelInfo( EDA_DRAW_FRAME* aFrame, std::vector<MSG_PANEL_ITEM>& aList ) override;
196
197 const BOX2I ViewBBox() const override;
198
199 std::vector<int> ViewGetLayers() const override;
200
201 /* Cannot use a default parameter here as it will not be compatible with the virtual. */
202 const BOX2I GetBoundingBox() const override
203 {
204 return GetBoundingBox( false, true, m_flags & SHOW_ELEC_TYPE );
205 }
206
211 BOX2I GetBoundingBox( bool aIncludeLabelsOnInvisiblePins, bool aIncludeNameAndNumber,
212 bool aIncludeElectricalType ) const;
213
218 bool IsGlobalPower() const;
219
224 bool IsLocalPower() const;
225
230 bool IsPower() const;
231
232 int GetPenWidth() const override { return 0; }
233
234 void Move( const VECTOR2I& aOffset ) override;
235
236 VECTOR2I GetPosition() const override;
238 void SetPosition( const VECTOR2I& aPos ) override { m_position = aPos; }
239
240 // For properties system
241 int GetX() const { return m_position.x; }
242 void SetX( int aX ) { m_position.x = aX; }
243 int GetY() const { return m_position.y; }
244 void SetY( int aY ) { m_position.y = aY; }
245
246 VECTOR2I GetPinRoot() const;
247
251 void MirrorHorizontally( int aCenter ) override;
252 void MirrorVertically( int aCenter ) override;
253 void Rotate( const VECTOR2I& aCenter, bool aRotateCCW = true ) override;
254
258 void MirrorHorizontallyPin( int aCenter );
259 void MirrorVerticallyPin( int aCenter );
260 void RotatePin( const VECTOR2I& aCenter, bool aRotateCCW = true );
261
268 void PlotPinTexts( PLOTTER *aPlotter, const VECTOR2I &aPinPos, PIN_ORIENTATION aPinOrient,
269 int aTextInside, bool aDrawPinNum, bool aDrawPinName, bool aDimmed ) const;
270
271 void PlotPinType( PLOTTER *aPlotter, const VECTOR2I &aPosition, PIN_ORIENTATION aOrientation,
272 bool aDimmed ) const;
273
274 void Plot( PLOTTER* aPlotter, bool aBackground, const SCH_PLOT_OPTS& aPlotOpts,
275 int aUnit, int aBodyStyle, const VECTOR2I& aOffset, bool aDimmed ) override;
276
277 BITMAPS GetMenuImage() const override;
278
279 wxString GetItemDescription( UNITS_PROVIDER* aUnitsProvider, bool aFull ) const override;
280 wxString GetItemDescription( UNITS_PROVIDER* aUnitsProvider, ALT* aAlt ) const;
281
282 EDA_ITEM* Clone() const override;
283
284 void CalcEdit( const VECTOR2I& aPosition ) override;
285
286 bool Matches( const EDA_SEARCH_DATA& aSearchData, void* aAuxData ) const override;
287
288 bool Replace( const EDA_SEARCH_DATA& aSearchData, void* aAuxData ) override;
289
299
300 bool IsConnectable() const override { return true; }
301
302 bool HasConnectivityChanges( const SCH_ITEM* aItem,
303 const SCH_SHEET_PATH* aInstance = nullptr ) const override;
304
305 void ClearDefaultNetName( const SCH_SHEET_PATH* aPath );
306 wxString GetDefaultNetName( const SCH_SHEET_PATH& aPath, bool aForceNoConnect = false );
307
308 bool IsDangling() const override;
309 void SetIsDangling( bool aIsDangling );
310
315 bool IsStacked( const SCH_PIN* aPin ) const;
316
317 bool IsPointClickableAnchor( const VECTOR2I& aPos ) const override
318 {
319 return m_isDangling && GetPosition() == aPos;
320 }
321
322 bool ConnectionPropagatesTo( const EDA_ITEM* aItem ) const override;
323
324 const wxString& GetOperatingPoint() const { return m_operatingPoint; }
325 void SetOperatingPoint( const wxString& aText ) { m_operatingPoint = aText; }
326
327 double Similarity( const SCH_ITEM& aOther ) const override;
328
329 bool operator>( const SCH_ITEM& aRhs ) const { return compare( aRhs, EQUALITY ) > 0; }
330
339
340protected:
341 wxString getItemDescription( ALT* aAlt ) const;
342
349
350 void validateExtentsCache( KIFONT::FONT* aFont, int aSize, const wxString& aText,
351 EXTENTS_CACHE* aCache ) const;
352
353 std::ostream& operator<<( std::ostream& aStream );
354
355private:
372 int compare( const SCH_ITEM& aOther, int aCompareFlags = 0 ) const override;
373
374protected:
375 SCH_PIN* m_libPin; // The corresponding pin in the LIB_SYMBOL
376 // (nullptr for a pin *in* the LIB_SYMBOL)
377
378 std::map<wxString, ALT> m_alternates; // Map of alternate name to ALT structure
379 // (only valid for pins in LIB_SYMBOLS)
380
381 VECTOR2I m_position; // Position of the pin.
382 std::optional<int> m_length; // Length of the pin.
383 PIN_ORIENTATION m_orientation; // Pin orientation (Up, Down, Left, Right)
384 GRAPHIC_PINSHAPE m_shape; // Shape drawn around pin
385 ELECTRICAL_PINTYPE m_type; // Electrical type of the pin.
386 std::optional<bool> m_hidden;
387 wxString m_name;
388 wxString m_number;
389 std::optional<int> m_numTextSize; // Pin num and Pin name sizes
390 std::optional<int> m_nameTextSize;
391 wxString m_alt; // The current alternate for an instance
392
394
396
402 mutable std::unique_ptr<PIN_LAYOUT_CACHE> m_layoutCache;
403
405 std::recursive_mutex m_netmap_mutex;
406 std::map<const SCH_SHEET_PATH, std::pair<wxString, bool>> m_net_name_map;
407};
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:759
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:1298
std::ostream & operator<<(std::ostream &aStream)
Definition sch_pin.cpp:1813
void SetAlt(const wxString &aAlt)
Set the name of the alternate pin.
Definition sch_pin.cpp:432
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:864
VECTOR2I GetLocalPosition() const
Definition sch_pin.h:237
int GetNumberTextSize() const
Definition sch_pin.cpp:670
int GetLength() const
Definition sch_pin.cpp:298
std::optional< bool > m_hidden
Definition sch_pin.h:386
bool Matches(const EDA_SEARCH_DATA &aSearchData, void *aAuxData) const override
Compare the item against the search criteria in aSearchData.
Definition sch_pin.cpp:498
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:1326
std::unique_ptr< PIN_LAYOUT_CACHE > m_layoutCache
The layout cache for this pin.
Definition sch_pin.h:402
void MirrorVerticallyPin(int aCenter)
Definition sch_pin.cpp:1247
void validateExtentsCache(KIFONT::FONT *aFont, int aSize, const wxString &aText, EXTENTS_CACHE *aCache) const
Definition sch_pin.cpp:1508
wxString GetAlt() const
Definition sch_pin.h:166
bool operator>(const SCH_ITEM &aRhs) const
Definition sch_pin.h:329
const BOX2I ViewBBox() const override
Return the bounding box of the item covering all its layers.
Definition sch_pin.cpp:1495
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:1501
const std::map< wxString, ALT > & GetAlternates() const
Definition sch_pin.h:147
void CalcEdit(const VECTOR2I &aPosition) override
Calculate the attributes of an item at aPosition when it is being edited.
Definition sch_pin.cpp:1842
void SetNumber(const wxString &aNumber)
Definition sch_pin.cpp:633
std::optional< int > m_nameTextSize
Definition sch_pin.h:390
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:1149
void SetVisible(bool aVisible)
Definition sch_pin.h:114
int GetX() const
Definition sch_pin.h:241
void ChangeLength(int aLength)
Change the length of a pin and adjust its position based on orientation.
Definition sch_pin.cpp:1193
ALT GetAlt(const wxString &aAlt)
Definition sch_pin.h:161
void SetX(int aX)
Definition sch_pin.h:242
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:1538
SCH_PIN & operator=(const SCH_PIN &aPin)
Definition sch_pin.cpp:232
wxString GetShownNumber() const
Definition sch_pin.cpp:587
SCH_PIN * m_libPin
Definition sch_pin.h:375
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:612
void Move(const VECTOR2I &aOffset) override
Move the item by aMoveVector to a new position.
Definition sch_pin.cpp:1221
std::map< const SCH_SHEET_PATH, std::pair< wxString, bool > > m_net_name_map
Definition sch_pin.h:406
PIN_ORIENTATION m_orientation
Definition sch_pin.h:383
const wxString & GetOperatingPoint() const
Definition sch_pin.h:324
void SetOrientation(PIN_ORIENTATION aOrientation)
Definition sch_pin.h:93
void SetName(const wxString &aName)
Definition sch_pin.cpp:418
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:366
wxString getItemDescription(ALT *aAlt) const
Definition sch_pin.cpp:1612
bool IsVisible() const
Definition sch_pin.cpp:386
bool ConnectionPropagatesTo(const EDA_ITEM *aItem) const override
Return true if this item should propagate connection info to aItem.
Definition sch_pin.cpp:1560
std::optional< int > m_numTextSize
Definition sch_pin.h:389
VECTOR2I GetPinRoot() const
Definition sch_pin.cpp:694
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:373
ELECTRICAL_PINTYPE m_type
Definition sch_pin.h:385
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:624
void MirrorVertically(int aCenter) override
Mirror item vertically about aCenter.
Definition sch_pin.cpp:1260
SCH_PIN * GetLibPin() const
Definition sch_pin.h:89
void SetPosition(const VECTOR2I &aPos) override
Definition sch_pin.h:238
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:1753
bool m_isDangling
Definition sch_pin.h:395
bool IsConnectable() const override
Definition sch_pin.h:300
void SetIsDangling(bool aIsDangling)
Definition sch_pin.cpp:469
wxString GetElectricalTypeName() const
Definition sch_pin.cpp:354
std::vector< wxString > GetStackedPinNumbers(bool *aValid=nullptr) const
Definition sch_pin.cpp:593
int GetPenWidth() const override
Definition sch_pin.h:232
std::map< wxString, ALT > m_alternates
Definition sch_pin.h:378
const wxString & GetName() const
Definition sch_pin.cpp:400
wxString GetFriendlyName() const override
Definition sch_pin.h:84
void SetLength(int aLength)
Definition sch_pin.h:99
bool IsDangling() const override
Definition sch_pin.cpp:460
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:1305
void MirrorHorizontally(int aCenter) override
These transforms have effect only if the pin has a LIB_SYMBOL as parent.
Definition sch_pin.cpp:1240
std::recursive_mutex m_netmap_mutex
The name that this pin connection will drive onto a net.
Definition sch_pin.h:405
PIN_ORIENTATION GetOrientation() const
Definition sch_pin.cpp:263
wxString GetClass() const override
Return the class name.
Definition sch_pin.h:74
void SetNumberTextSize(int aSize)
Definition sch_pin.cpp:684
void SetShape(GRAPHIC_PINSHAPE aShape)
Definition sch_pin.h:96
void RotatePin(const VECTOR2I &aCenter, bool aRotateCCW=true)
Definition sch_pin.cpp:1267
std::map< wxString, ALT > & GetAlternates()
Definition sch_pin.h:155
VECTOR2I GetPosition() const override
Definition sch_pin.cpp:255
wxString GetCanonicalElectricalTypeName() const
Definition sch_pin.cpp:342
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:525
int GetNameTextSize() const
Definition sch_pin.cpp:646
wxString GetItemDescription(UNITS_PROVIDER *aUnitsProvider, bool aFull) const override
Return a user-visible description string of this item.
Definition sch_pin.cpp:1585
VECTOR2I m_position
Definition sch_pin.h:381
wxString m_operatingPoint
Definition sch_pin.h:393
GRAPHIC_PINSHAPE m_shape
Definition sch_pin.h:384
int compare(const SCH_ITEM &aOther, int aCompareFlags=0) const override
The pin specific sort order is as follows:
Definition sch_pin.cpp:1657
wxString GetShownName() const
Definition sch_pin.cpp:576
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:1227
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:546
PIN_LAYOUT_CACHE & GetLayoutCache() const
Get the layout cache associated with this pin.
Definition sch_pin.h:338
wxString m_name
Definition sch_pin.h:387
wxString m_alt
Definition sch_pin.h:391
void SetOperatingPoint(const wxString &aText)
Definition sch_pin.h:325
void SetType(ELECTRICAL_PINTYPE aType)
Definition sch_pin.cpp:332
const wxString & GetBaseName() const
Get the name without any alternates.
Definition sch_pin.cpp:409
void ClearDefaultNetName(const SCH_SHEET_PATH *aPath)
Definition sch_pin.cpp:1374
void SetY(int aY)
Definition sch_pin.h:244
SCH_PIN(LIB_SYMBOL *aParentSymbol)
Definition sch_pin.cpp:117
bool IsPointClickableAnchor(const VECTOR2I &aPos) const override
Definition sch_pin.h:317
bool IsStacked(const SCH_PIN *aPin) const
Definition sch_pin.cpp:475
const wxString & GetNumber() const
Definition sch_pin.h:124
wxString m_number
Definition sch_pin.h:388
EDA_ITEM * Clone() const override
Create a duplicate of this item with linked list members set to NULL.
Definition sch_pin.cpp:1184
const BOX2I GetBoundingBox() const override
Return the orthogonal bounding box of this object for display purposes.
Definition sch_pin.h:202
wxString GetDefaultNetName(const SCH_SHEET_PATH &aPath, bool aForceNoConnect=false)
Definition sch_pin.cpp:1385
std::optional< int > m_length
Definition sch_pin.h:382
static wxString GetCanonicalElectricalTypeName(ELECTRICAL_PINTYPE aType)
Return a string giving the electrical type of a pin.
GRAPHIC_PINSHAPE GetShape() const
Definition sch_pin.cpp:277
void PlotPinType(PLOTTER *aPlotter, const VECTOR2I &aPosition, PIN_ORIENTATION aOrientation, bool aDimmed) const
Definition sch_pin.cpp:717
int GetY() const
Definition sch_pin.h:243
bool IsPower() const
Check if the pin is either a global or local power pin.
Definition sch_pin.cpp:380
ELECTRICAL_PINTYPE GetType() const
Definition sch_pin.cpp:312
BITMAPS GetMenuImage() const override
Return a pointer to an image to be used in menus.
Definition sch_pin.cpp:1570
void SetNameTextSize(int aSize)
Definition sch_pin.cpp:660
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:75
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:345
@ SCH_PIN_T
Definition typeinfo.h:155
VECTOR2< int32_t > VECTOR2I
Definition vector2d.h:695