KiCad PCB EDA Suite
class_board_item.h File Reference

Classes BOARD_ITEM and BOARD_CONNECTED_ITEM. More...

Go to the source code of this file.

Classes

class  BOARD_ITEM
 Class BOARD_ITEM is a base class for any item which can be embedded within the BOARD container class, and therefore instances of derived classes should only be found in Pcbnew or other programs that use class BOARD and its contents. More...
 

Enumerations

enum  STROKE_T {
  S_SEGMENT = 0, S_RECT, S_ARC, S_CIRCLE,
  S_POLYGON, S_CURVE, S_LAST
}
 Enum STROKE_T is the set of shapes for segments (graphic segments and tracks) which are often in the .m_Shape member. More...
 

Detailed Description

Classes BOARD_ITEM and BOARD_CONNECTED_ITEM.

Definition in file class_board_item.h.

Enumeration Type Documentation

enum STROKE_T

Enum STROKE_T is the set of shapes for segments (graphic segments and tracks) which are often in the .m_Shape member.

Enumerator
S_SEGMENT 

usual segment : line with rounded ends

S_RECT 

segment with non rounded ends

S_ARC 

Arcs (with rounded ends)

S_CIRCLE 

ring

S_POLYGON 

polygon (not yet used for tracks, but could be in microwave apps)

S_CURVE 

Bezier Curve.

S_LAST 

last value for this list

Definition at line 49 of file class_board_item.h.

50 {
51  S_SEGMENT = 0,
52  S_RECT,
53  S_ARC,
54  S_CIRCLE,
55  S_POLYGON,
56  S_CURVE,
57  S_LAST
58 };
polygon (not yet used for tracks, but could be in microwave apps)
usual segment : line with rounded ends
segment with non rounded ends
Arcs (with rounded ends)
last value for this list
Bezier Curve.