KiCad PCB EDA Suite
Loading...
Searching...
No Matches
sch_line.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) 2009 Jean-Pierre Charras, [email protected]
5 * Copyright The KiCad Developers, see AUTHORS.txt for contributors.
6 *
7 * This program is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU General Public License
9 * as published by the Free Software Foundation; either version 2
10 * of the License, or (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program; if not, you may find one here:
19 * http://www.gnu.org/licenses/old-licenses/gpl-2.0.html
20 * or you may search the http://www.gnu.org website for the version 2 license,
21 * or you may write to the Free Software Foundation, Inc.,
22 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
23 */
24
25#ifndef _SCH_LINE_H_
26#define _SCH_LINE_H_
27
28#include <sch_item.h>
29#include <wx/pen.h> // for wxPenStyle
30#include <list> // for std::list
31#include <geometry/seg.h>
32#include <math/vector3.h>
33
34class NETLIST_OBJECT_LIST;
35
36
41class SCH_LINE : public SCH_ITEM
42{
43public:
44 static const enum wxPenStyle PenStyle[];
45
46 SCH_LINE( const VECTOR2I& pos = VECTOR2I( 0, 0 ), int layer = LAYER_NOTES );
47
48 SCH_LINE( const VECTOR2D& pos, int layer = LAYER_NOTES ) :
49 SCH_LINE( VECTOR2I( pos.x, pos.y ), layer )
50 {}
51
52 SCH_LINE( const SCH_LINE& aLine );
53
55
56 void Serialize( google::protobuf::Any &aContainer ) const override;
57 bool Deserialize( const google::protobuf::Any &aContainer ) override;
58
59 static inline bool ClassOf( const EDA_ITEM* aItem )
60 {
61 return aItem && SCH_LINE_T == aItem->Type();
62 }
63
64 wxString GetClass() const override
65 {
66 return wxT( "SCH_LINE" );
67 }
68
69 wxString GetFriendlyName() const override;
70
71 bool IsType( const std::vector<KICAD_T>& aScanTypes ) const override
72 {
73 if( SCH_ITEM::IsType( aScanTypes ) )
74 return true;
75
76 for( KICAD_T scanType : aScanTypes )
77 {
78 if( scanType == SCH_ITEM_LOCATE_WIRE_T && m_layer == LAYER_WIRE )
79 return true;
80
81 if ( scanType == SCH_ITEM_LOCATE_BUS_T && m_layer == LAYER_BUS )
82 return true;
83
85 return true;
86 }
87
88 return false;
89 }
90
91 bool IsEndPoint( const VECTOR2I& aPoint ) const override
92 {
93 return aPoint == m_start || aPoint == m_end;
94 }
95
96 int GetAngleFrom( const VECTOR2I& aPoint ) const;
97 int GetReverseAngleFrom( const VECTOR2I& aPoint ) const;
98
104 inline EDA_ANGLE Angle() const
105 {
106 return ( EDA_ANGLE( (VECTOR2I) m_end - (VECTOR2I) m_start ) );
107 }
108
115 inline void StoreAngle()
116 {
117 if( !IsNull() )
119 }
120
121 inline void StoreAngle( const EDA_ANGLE& aAngle ) { m_storedAngle = aAngle; }
122
128 inline EDA_ANGLE GetStoredAngle() const { return m_storedAngle; }
129
135 inline bool IsOrthogonal() const { return Angle().IsCardinal(); }
136
137 bool IsNull() const { return m_start == m_end; }
138
139 VECTOR2I GetStartPoint() const { return m_start; }
140 void SetStartPoint( const VECTOR2I& aPosition ) { m_start = aPosition; }
141 int GetStartX() const { return m_start.x; }
142 void SetStartX( int aX ) { SetStartPoint( VECTOR2I( aX, m_start.y ) ); }
143 int GetStartY() const { return m_start.y; }
144 void SetStartY( int aY ) { SetStartPoint( VECTOR2I( m_start.x, aY ) ); }
145
146 VECTOR2I GetMidPoint() const { return ( m_start + m_end ) / 2; }
147
148 VECTOR2I GetEndPoint() const { return m_end; }
149 void SetEndPoint( const VECTOR2I& aPosition ) { m_end = aPosition; }
150 int GetEndX() const { return m_end.x; }
151 void SetEndX( int aX ) { SetEndPoint( VECTOR2I( aX, m_end.y ) ); }
152 int GetEndY() const { return m_end.y; }
153 void SetEndY( int aY ) { SetEndPoint( VECTOR2I( m_end.x, aY ) ); }
154
158 SEG GetSeg() const
159 {
160 return SEG{ m_start, m_end };
161 }
162
163 void SetLastResolvedState( const SCH_ITEM* aItem ) override
164 {
165 const SCH_LINE* aLine = dynamic_cast<const SCH_LINE*>( aItem );
166
167 if( aLine )
168 {
169 m_stroke = aLine->GetStroke();
173 }
174 }
175
176 void SetLineStyle( const LINE_STYLE aStyle );
177 LINE_STYLE GetLineStyle() const;
178
182
183 // Special Getter/Setters for properties panel. Required because it uses #WIRE_STYLE instead
184 // of #LINE_STYLE. (The two enums are identical, but we expose "default" in the #WIRE_STYLE
185 // property while we don't with the LINE_STYLE property.)
186 void SetWireStyle( const WIRE_STYLE aStyle ) { SetLineStyle( (LINE_STYLE) aStyle ); }
188
189
190 void SetLineColor( const COLOR4D& aColor );
191
192 void SetLineColor( const double r, const double g, const double b, const double a );
193
195 COLOR4D GetLineColor() const;
196
197 void SetLineWidth( const int aSize );
198 int GetLineWidth() const { return m_stroke.GetWidth(); }
199
200 virtual bool HasLineStroke() const override { return true; }
201 virtual STROKE_PARAMS GetStroke() const override { return m_stroke; }
202 virtual void SetStroke( const STROKE_PARAMS& aStroke ) override { m_stroke = aStroke; }
203
204 bool IsStrokeEquivalent( const SCH_LINE* aLine )
205 {
206 if( m_stroke.GetWidth() != aLine->GetStroke().GetWidth() )
207 return false;
208
209 if( m_stroke.GetColor() != aLine->GetStroke().GetColor() )
210 return false;
211
212 LINE_STYLE style_a = m_stroke.GetLineStyle();
213 LINE_STYLE style_b = aLine->GetStroke().GetLineStyle();
214
215 return style_a == style_b
216 || ( style_a == LINE_STYLE::DEFAULT && style_b == LINE_STYLE::SOLID )
217 || ( style_a == LINE_STYLE::SOLID && style_b == LINE_STYLE::DEFAULT );
218 }
219
220 std::vector<int> ViewGetLayers() const override;
221
222 double ViewGetLOD( int aLayer, const KIGFX::VIEW* aView ) const override;
223
224 const BOX2I GetBoundingBox() const override;
225
229 double GetLength() const;
230 void SetLength( double aLength );
231
232 int GetPenWidth() const override;
233
234 void Move( const VECTOR2I& aMoveVector ) override;
235 void MoveStart( const VECTOR2I& aMoveVector );
236 void MoveEnd( const VECTOR2I& aMoveVector );
237
238 void MirrorVertically( int aCenter ) override;
239 void MirrorHorizontally( int aCenter ) override;
240 void Rotate( const VECTOR2I& aCenter, bool aRotateCCW ) override;
241
255 SCH_LINE* MergeOverlap( SCH_SCREEN* aScreen, SCH_LINE* aLine, bool aCheckJunctions );
256
269 SCH_LINE* BreakAt( SCH_COMMIT* aCommit, const VECTOR2I& aPoint );
270
275 SCH_LINE* NonGroupAware_BreakAt( const VECTOR2I& aPoint );
276
277 bool IsParallel( const SCH_LINE* aLine ) const;
278
284 bool ShouldHopOver( const SCH_LINE* aLine ) const;
285
295 std::vector<VECTOR3I> BuildWireWithHopShape( const SCH_SCREEN* aScreen, double aArcRadius ) const;
296
297 void GetEndPoints( std::vector<DANGLING_END_ITEM>& aItemList ) override;
298
299 bool UpdateDanglingState( std::vector<DANGLING_END_ITEM>& aItemListByType,
300 std::vector<DANGLING_END_ITEM>& aItemListByPos,
301 const SCH_SHEET_PATH* aPath = nullptr ) override;
302
303 bool IsStartDangling() const { return m_startIsDangling; }
304 bool IsEndDangling() const { return m_endIsDangling; }
305 bool IsDangling() const override { return m_startIsDangling || m_endIsDangling; }
306
307 bool IsConnectable() const override;
308
309 bool HasConnectivityChanges( const SCH_ITEM* aItem,
310 const SCH_SHEET_PATH* aInstance = nullptr ) const override;
311
312 std::vector<VECTOR2I> GetConnectionPoints() const override;
313
314 bool ConnectionPropagatesTo( const EDA_ITEM* aItem ) const override;
315
316 void GetSelectedPoints( std::vector<VECTOR2I>& aPoints ) const;
317
318 bool CanConnect( const SCH_ITEM* aItem ) const override;
319
320 wxString GetItemDescription( UNITS_PROVIDER* aUnitsProvider, bool aFull ) const override;
321
322 BITMAPS GetMenuImage() const override;
323
324 bool operator <( const SCH_ITEM& aItem ) const override;
325
326 VECTOR2I GetPosition() const override { return m_start; }
327 void SetPosition( const VECTOR2I& aPosition ) override;
328 VECTOR2I GetSortPosition() const override { return GetMidPoint(); }
329
330 bool IsPointClickableAnchor( const VECTOR2I& aPos ) const override
331 {
332 return ( GetStartPoint() == aPos && IsStartDangling() )
333 || ( GetEndPoint() == aPos && IsEndDangling() );
334 }
335
336 bool HitTest( const VECTOR2I& aPosition, int aAccuracy = 0 ) const override;
337 bool HitTest( const BOX2I& aRect, bool aContained, int aAccuracy = 0 ) const override;
338 bool HitTest( const SHAPE_LINE_CHAIN& aPoly, bool aContained ) const override;
339
340 void Plot( PLOTTER* aPlotter, bool aBackground, const SCH_PLOT_OPTS& aPlotOpts,
341 int aUnit, int aBodyStyle, const VECTOR2I& aOffset, bool aDimmed ) override;
342
343 EDA_ITEM* Clone() const override;
344
345 void GetMsgPanelInfo( EDA_DRAW_FRAME* aFrame, std::vector<MSG_PANEL_ITEM>& aList ) override;
346
347 const wxString& GetOperatingPoint() const { return m_operatingPoint; }
348 void SetOperatingPoint( const wxString& aText ) { m_operatingPoint = aText; }
349
350#if defined(DEBUG)
351 void Show( int nestLevel, std::ostream& os ) const override;
352#endif
353
359 bool IsGraphicLine() const;
360
366 bool IsWire() const;
367
373 bool IsBus() const;
374
375 double Similarity( const SCH_ITEM& aOther ) const override;
376
377 bool operator==( const SCH_ITEM& aOther ) const override;
378
379protected:
380 void swapData( SCH_ITEM* aItem ) override;
381
382private:
383 bool doIsConnected( const VECTOR2I& aPosition ) const override;
384
385private:
392
393 // If real-time connectivity gets disabled (due to being too slow on a particular
394 // design), we can no longer rely on getting the NetClass to find netclass-specific
395 // linestyles, linewidths and colors.
399
401};
402
403
404#ifndef SWIG
406#endif
407
408
409#endif // _SCH_LINE_H_
BITMAPS
A list of all bitmap identifiers.
BOX2< VECTOR2I > BOX2I
Definition box2.h:922
bool IsCardinal() const
Definition eda_angle.cpp:40
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(EDA_ITEM *parent, KICAD_T idType, bool isSCH_ITEM=false, bool isBOARD_ITEM=false)
Definition eda_item.cpp:39
A color representation with 4 components: red, green, blue, alpha.
Definition color4d.h:104
Hold a (potentially large) number of VIEW_ITEMs and renders them on a graphics device provided by the...
Definition view.h:66
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
SCH_ITEM(EDA_ITEM *aParent, KICAD_T aType, int aUnit=0, int aBodyStyle=0)
Definition sch_item.cpp:51
SCH_LAYER_ID m_layer
Definition sch_item.h:751
bool IsType(const std::vector< KICAD_T > &aScanTypes) const override
Check whether the item is one of the listed types.
Definition sch_item.h:182
Segment description base class to describe items which have 2 end points (track, wire,...
Definition sch_line.h:42
int GetPenWidth() const override
Definition sch_line.cpp:354
void SetStartY(int aY)
Definition sch_line.h:144
bool doIsConnected(const VECTOR2I &aPosition) const override
Provide the object specific test to see if it is connected to aPosition.
Definition sch_line.cpp:871
int GetEndY() const
Definition sch_line.h:152
void GetEndPoints(std::vector< DANGLING_END_ITEM > &aItemList) override
Add the schematic item end points to aItemList if the item has end points.
Definition sch_line.cpp:602
void SetStartPoint(const VECTOR2I &aPosition)
Definition sch_line.h:140
EDA_ITEM * Clone() const override
Create a duplicate of this item with linked list members set to NULL.
Definition sch_line.cpp:159
BITMAPS GetMenuImage() const override
Return a pointer to an image to be used in menus.
Definition sch_line.cpp:783
bool UpdateDanglingState(std::vector< DANGLING_END_ITEM > &aItemListByType, std::vector< DANGLING_END_ITEM > &aItemListByPos, const SCH_SHEET_PATH *aPath=nullptr) override
Test the schematic item to aItemList to check if it's dangling state has changed.
Definition sch_line.cpp:612
void SetOperatingPoint(const wxString &aText)
Definition sch_line.h:348
bool m_startIsDangling
True if start point is not connected.
Definition sch_line.h:386
bool HitTest(const VECTOR2I &aPosition, int aAccuracy=0) const override
Test if aPosition is inside or on the boundary of this item.
Definition sch_line.cpp:817
bool IsPointClickableAnchor(const VECTOR2I &aPos) const override
Definition sch_line.h:330
void SetPosition(const VECTOR2I &aPosition) override
Definition sch_line.cpp:938
void StoreAngle()
Save the current line angle.
Definition sch_line.h:115
std::vector< VECTOR3I > BuildWireWithHopShape(const SCH_SCREEN *aScreen, double aArcRadius) const
For wires only: build the list of points to draw the shape using segments and 180 deg arcs Points are...
int GetStartX() const
Definition sch_line.h:141
SCH_LINE * NonGroupAware_BreakAt(const VECTOR2I &aPoint)
This version should only be used when importing files.
Definition sch_line.cpp:590
std::vector< VECTOR2I > GetConnectionPoints() const override
Add all the connection points for this item to aPoints.
Definition sch_line.cpp:717
int GetReverseAngleFrom(const VECTOR2I &aPoint) const
Definition sch_line.cpp:431
SCH_LINE(const VECTOR2I &pos=VECTOR2I(0, 0), int layer=LAYER_NOTES)
Definition sch_line.cpp:49
virtual bool HasLineStroke() const override
Check if this schematic item has line stoke properties.
Definition sch_line.h:200
bool IsWire() const
Return true if the line is a wire.
Definition sch_line.cpp:989
bool IsStartDangling() const
Definition sch_line.h:303
SCH_LINE(const VECTOR2D &pos, int layer=LAYER_NOTES)
Definition sch_line.h:48
const BOX2I GetBoundingBox() const override
Return the orthogonal bounding box of this object for display purposes.
Definition sch_line.cpp:233
void SetWireStyle(const WIRE_STYLE aStyle)
Definition sch_line.h:186
void SetLineColor(const COLOR4D &aColor)
Definition sch_line.cpp:281
bool CanConnect(const SCH_ITEM *aItem) const override
Definition sch_line.cpp:674
EDA_ANGLE GetStoredAngle() const
Return the angle stored by StoreAngle().
Definition sch_line.h:128
bool IsParallel(const SCH_LINE *aLine) const
Definition sch_line.cpp:444
int GetStartY() const
Definition sch_line.h:143
void SetLineWidth(const int aSize)
Definition sch_line.cpp:347
bool ShouldHopOver(const SCH_LINE *aLine) const
For wires only:
void MirrorHorizontally(int aCenter) override
Mirror item horizontally about aCenter.
Definition sch_line.cpp:398
virtual STROKE_PARAMS GetStroke() const override
Definition sch_line.h:201
int GetAngleFrom(const VECTOR2I &aPoint) const
Definition sch_line.cpp:418
void GetSelectedPoints(std::vector< VECTOR2I > &aPoints) const
Definition sch_line.cpp:736
COLOR4D m_lastResolvedColor
Definition sch_line.h:398
LINE_STYLE GetEffectiveLineStyle() const
Definition sch_line.cpp:334
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_line.cpp:945
EDA_ANGLE Angle() const
Get the angle between the start and end lines.
Definition sch_line.h:104
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_line.cpp:880
wxString m_operatingPoint
Definition sch_line.h:400
void SetLength(double aLength)
Definition sch_line.cpp:255
wxString GetClass() const override
Return the class name.
Definition sch_line.h:64
static bool ClassOf(const EDA_ITEM *aItem)
Definition sch_line.h:59
void Rotate(const VECTOR2I &aCenter, bool aRotateCCW) override
Rotate the item around aCenter 90 degrees in the clockwise direction.
Definition sch_line.cpp:408
VECTOR2I GetMidPoint() const
Definition sch_line.h:146
VECTOR2I GetEndPoint() const
Definition sch_line.h:148
VECTOR2I GetStartPoint() const
Definition sch_line.h:139
bool ConnectionPropagatesTo(const EDA_ITEM *aItem) const override
Return true if this item should propagate connection info to aItem.
Definition sch_line.cpp:723
LINE_STYLE m_lastResolvedLineStyle
Definition sch_line.h:396
VECTOR2I GetPosition() const override
Definition sch_line.h:326
SEG GetSeg() const
Get the geometric aspect of the wire as a SEG.
Definition sch_line.h:158
bool IsEndDangling() const
Definition sch_line.h:304
SCH_LINE * MergeOverlap(SCH_SCREEN *aScreen, SCH_LINE *aLine, bool aCheckJunctions)
Check line against aLine to see if it overlaps and merge if it does.
Definition sch_line.cpp:457
void SetEndY(int aY)
Definition sch_line.h:153
VECTOR2I m_start
Line start point.
Definition sch_line.h:388
bool IsBus() const
Return true if the line is a bus.
Definition sch_line.cpp:995
int m_lastResolvedWidth
Definition sch_line.h:397
void StoreAngle(const EDA_ANGLE &aAngle)
Definition sch_line.h:121
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_line.cpp:698
void Serialize(google::protobuf::Any &aContainer) const override
Serializes this object to the given Any message.
Definition sch_line.cpp:105
void SetLineStyle(const LINE_STYLE aStyle)
Definition sch_line.cpp:318
VECTOR2I m_end
Line end point.
Definition sch_line.h:389
void Move(const VECTOR2I &aMoveVector) override
Move the item by aMoveVector to a new position.
Definition sch_line.cpp:165
int GetEndX() const
Definition sch_line.h:150
LINE_STYLE GetLineStyle() const
Definition sch_line.cpp:325
bool IsNull() const
Definition sch_line.h:137
void MoveEnd(const VECTOR2I &aMoveVector)
Definition sch_line.cpp:178
VECTOR2I GetSortPosition() const override
Return the coordinates that should be used for sorting this element visually compared to other elemen...
Definition sch_line.h:328
STROKE_PARAMS m_stroke
Line stroke properties.
Definition sch_line.h:391
EDA_ANGLE m_storedAngle
Stored angle.
Definition sch_line.h:390
SCH_LINE * BreakAt(SCH_COMMIT *aCommit, const VECTOR2I &aPoint)
Break this segment into two at the specified point.
Definition sch_line.cpp:578
bool m_endIsDangling
True if end point is not connected.
Definition sch_line.h:387
bool IsConnectable() const override
Definition sch_line.cpp:665
wxString GetFriendlyName() const override
Definition sch_line.cpp:148
double ViewGetLOD(int aLayer, const KIGFX::VIEW *aView) const override
Return the level of detail (LOD) of the item.
Definition sch_line.cpp:211
void MirrorVertically(int aCenter) override
Mirror item vertically about aCenter.
Definition sch_line.cpp:388
bool operator==(const SCH_ITEM &aOther) const override
bool operator<(const SCH_ITEM &aItem) const override
Definition sch_line.cpp:794
virtual void SetStroke(const STROKE_PARAMS &aStroke) override
Definition sch_line.h:202
bool IsStrokeEquivalent(const SCH_LINE *aLine)
Definition sch_line.h:204
WIRE_STYLE GetWireStyle() const
Definition sch_line.h:187
void SetLastResolvedState(const SCH_ITEM *aItem) override
Definition sch_line.h:163
wxString GetItemDescription(UNITS_PROVIDER *aUnitsProvider, bool aFull) const override
Return a user-visible description string of this item.
Definition sch_line.cpp:746
bool IsEndPoint(const VECTOR2I &aPoint) const override
Test if aPt is an end point of this schematic object.
Definition sch_line.h:91
bool IsGraphicLine() const
Return if the line is a graphic (non electrical line)
Definition sch_line.cpp:983
static enum wxPenStyle PenStyle[]
Definition sch_line.h:44
int GetLineWidth() const
Definition sch_line.h:198
COLOR4D GetLineColor() const
Return COLOR4D::UNSPECIFIED if a custom color hasn't been set for this line.
Definition sch_line.cpp:305
std::vector< int > ViewGetLayers() const override
Return the layers the item is drawn on (which may be more than its "home" layer)
Definition sch_line.cpp:201
void MoveStart(const VECTOR2I &aMoveVector)
Definition sch_line.cpp:172
bool Deserialize(const google::protobuf::Any &aContainer) override
Deserializes the given protobuf message into this object.
Definition sch_line.cpp:119
double GetLength() const
Definition sch_line.cpp:249
void SetEndX(int aX)
Definition sch_line.h:151
~SCH_LINE()
Definition sch_line.h:54
bool IsOrthogonal() const
Check if line is orthogonal (to the grid).
Definition sch_line.h:135
void SetEndPoint(const VECTOR2I &aPosition)
Definition sch_line.h:149
void SetStartX(int aX)
Definition sch_line.h:142
bool IsType(const std::vector< KICAD_T > &aScanTypes) const override
Check whether the item is one of the listed types.
Definition sch_line.h:71
bool IsDangling() const override
Definition sch_line.h:305
const wxString & GetOperatingPoint() const
Definition sch_line.h:347
double Similarity(const SCH_ITEM &aOther) const override
Return a measure of how likely the other object is to represent the same object.
void swapData(SCH_ITEM *aItem) override
Swap the internal data structures aItem with the schematic item.
Definition sch_line.cpp:859
Handle access to a stack of flattened SCH_SHEET objects by way of a path for creating a flattened sch...
Definition seg.h:42
Represent a polyline containing arcs as well as line segments: A chain of connected line and/or arc s...
Simple container to manage line stroke parameters.
int GetWidth() const
LINE_STYLE GetLineStyle() const
KIGFX::COLOR4D GetColor() const
@ LAYER_WIRE
Definition layer_ids.h:452
@ LAYER_NOTES
Definition layer_ids.h:467
@ LAYER_BUS
Definition layer_ids.h:453
#define DECLARE_ENUM_TO_WXANY(type)
Definition property.h:787
LINE_STYLE
Dashed line types.
WIRE_STYLE
KICAD_T
The set of class identification values stored in EDA_ITEM::m_structType.
Definition typeinfo.h:78
@ SCH_LINE_T
Definition typeinfo.h:167
@ SCH_ITEM_LOCATE_WIRE_T
Definition typeinfo.h:190
@ SCH_ITEM_LOCATE_BUS_T
Definition typeinfo.h:191
@ SCH_ITEM_LOCATE_GRAPHIC_LINE_T
Definition typeinfo.h:192
VECTOR2< int32_t > VECTOR2I
Definition vector2d.h:695
VECTOR2< double > VECTOR2D
Definition vector2d.h:694