KiCad PCB EDA Suite
MARKER_BASE Class Reference

#include <marker_base.h>

Inheritance diagram for MARKER_BASE:
MARKER_PCB SCH_MARKER

Public Types

enum  TYPEMARKER { MARKER_UNSPEC, MARKER_ERC, MARKER_PCB, MARKER_SIMUL }
 
enum  MARKER_SEVERITY { MARKER_SEVERITY_UNSPEC, MARKER_SEVERITY_INFO, MARKER_SEVERITY_WARNING, MARKER_SEVERITY_ERROR }
 

Public Member Functions

 MARKER_BASE ()
 
 MARKER_BASE (EDA_UNITS_T aUnits, int aErrorCode, const wxPoint &aMarkerPos, EDA_ITEM *aItem, const wxPoint &aPos, EDA_ITEM *bItem, const wxPoint &bPos)
 Constructor. More...
 
 MARKER_BASE (int aErrorCode, const wxPoint &aMarkerPos, const wxString &aText, const wxPoint &aPos, const wxString &bText, const wxPoint &bPos)
 Constructor. More...
 
 MARKER_BASE (int aErrorCode, const wxPoint &aMarkerPos, const wxString &aText, const wxPoint &aPos)
 Constructor. More...
 
 MARKER_BASE (const MARKER_BASE &aMarker)
 Contructor makes a copy of aMarker but does not copy the DRC_ITEM. More...
 
 ~MARKER_BASE ()
 
void DrawMarker (EDA_DRAW_PANEL *aPanel, wxDC *aDC, GR_DRAWMODE aDrawMode, const wxPoint &aOffset)
 Function DrawMarker draws the shape is the polygon defined in m_Corners (array of wxPoints). More...
 
const wxPointGetPos () const
 Function GetPos returns the position of this MARKER, const. More...
 
void SetColor (COLOR4D aColor)
 Function SetColor Set the color of this marker. More...
 
void SetErrorLevel (MARKER_SEVERITY aErrorLevel)
 accessors to set/get error levels (warning, error, fatal error..) More...
 
MARKER_SEVERITY GetErrorLevel () const
 
void SetMarkerType (enum TYPEMARKER aMarkerType)
 accessors to set/get marker type (DRC, ERC, or other) More...
 
enum TYPEMARKER GetMarkerType () const
 
void SetData (EDA_UNITS_T aUnits, int aErrorCode, const wxPoint &aMarkerPos, EDA_ITEM *aItem, const wxPoint &aPos, EDA_ITEM *bItem=nullptr, const wxPoint &bPos=wxPoint())
 Function SetData fills in all the reportable data associated with a MARKER. More...
 
void SetData (int aErrorCode, const wxPoint &aMarkerPos, const wxString &aText, const wxPoint &aPos, const wxString &bText=wxEmptyString, const wxPoint &bPos=wxPoint())
 Function SetData fills in all the reportable data associated with a MARKER. More...
 
void SetAuxiliaryData (const wxString &aAuxiliaryText, const wxPoint &aAuxiliaryPos)
 Function SetAuxiliaryData initialize data for the second (auxiliary) item. More...
 
void SetShowNoCoordinate ()
 
const DRC_ITEMGetReporter () const
 Function GetReporter returns the DRC_ITEM held within this MARKER so that its interface may be used. More...
 
void DisplayMarkerInfo (EDA_DRAW_FRAME *aFrame)
 Function DisplayMarkerInfo displays the full info of this marker, in a HTML window. More...
 
bool HitTestMarker (const wxPoint &ref_pos) const
 Function HitTestMarker tests if the given wxPoint is within the bounds of this object. More...
 
EDA_RECT GetBoundingBoxMarker () const
 Function GetBoundingBoxMarker returns the orthogonal, bounding box of this object for display purposes. More...
 

Public Attributes

wxPoint m_Pos
 position of the marker More...
 
int m_ScalingFactor
 Scaling factor for m_Size and m_Corners (can set the physical size) More...
 

Protected Member Functions

void init ()
 

Protected Attributes

TYPEMARKER m_MarkerType
 The type of marker (useful to filter markers) More...
 
MARKER_SEVERITY m_ErrorLevel
 Specify the severity of the error. More...
 
COLOR4D m_Color
 color More...
 
EDA_RECT m_ShapeBoundingBox
 Bounding box of the graphic symbol, relative to the position of the shape, used for Hit Tests. More...
 
DRC_ITEM m_drc
 

Detailed Description

Definition at line 38 of file marker_base.h.

Member Enumeration Documentation

Enumerator
MARKER_SEVERITY_UNSPEC 
MARKER_SEVERITY_INFO 
MARKER_SEVERITY_WARNING 
MARKER_SEVERITY_ERROR 

Definition at line 47 of file marker_base.h.

Enumerator
MARKER_UNSPEC 
MARKER_ERC 
MARKER_PCB 
MARKER_SIMUL 

Definition at line 41 of file marker_base.h.

41  { // Marker type: can be used to identify the purpose of the marker
43  MARKER_ERC,
44  MARKER_PCB,
46  };

Constructor & Destructor Documentation

MARKER_BASE::MARKER_BASE ( )

Definition at line 98 of file marker_base.cpp.

References init(), m_ScalingFactor, and M_SHAPE_SCALE.

99 {
101  init();
102 }
const int M_SHAPE_SCALE
Definition: marker_base.cpp:43
int m_ScalingFactor
Scaling factor for m_Size and m_Corners (can set the physical size)
Definition: marker_base.h:55
MARKER_BASE::MARKER_BASE ( EDA_UNITS_T  aUnits,
int  aErrorCode,
const wxPoint aMarkerPos,
EDA_ITEM aItem,
const wxPoint aPos,
EDA_ITEM bItem,
const wxPoint bPos 
)

Constructor.

Parameters
aErrorCodeThe categorizing identifier for an error
aMarkerPosThe position of the MARKER on the BOARD
aItemThe first of two objects
aPosThe position of the first of two objects
bItemThe second of the two conflicting objects
bPosThe position of the second of two objects

Definition at line 105 of file marker_base.cpp.

References init(), m_ScalingFactor, M_SHAPE_SCALE, and SetData().

108 {
110  init();
111 
112  SetData( aUnits, aErrorCode, aMarkerPos, aItem, aPos, bItem, bPos );
113 }
void SetData(EDA_UNITS_T aUnits, int aErrorCode, const wxPoint &aMarkerPos, EDA_ITEM *aItem, const wxPoint &aPos, EDA_ITEM *bItem=nullptr, const wxPoint &bPos=wxPoint())
Function SetData fills in all the reportable data associated with a MARKER.
const int M_SHAPE_SCALE
Definition: marker_base.cpp:43
int m_ScalingFactor
Scaling factor for m_Size and m_Corners (can set the physical size)
Definition: marker_base.h:55
MARKER_BASE::MARKER_BASE ( int  aErrorCode,
const wxPoint aMarkerPos,
const wxString &  aText,
const wxPoint aPos,
const wxString &  bText,
const wxPoint bPos 
)

Constructor.

Parameters
aErrorCodeThe categorizing identifier for an error
aMarkerPosThe position of the MARKER on the BOARD
aTextText describing the first of two objects
aPosThe position of the first of two objects
bTextText describing the second of the two conflicting objects
bPosThe position of the second of two objects

Definition at line 116 of file marker_base.cpp.

References init(), m_ScalingFactor, M_SHAPE_SCALE, and SetData().

119 {
121  init();
122 
123  SetData( aErrorCode, aMarkerPos, aText, aPos, bText, bPos );
124 }
void SetData(EDA_UNITS_T aUnits, int aErrorCode, const wxPoint &aMarkerPos, EDA_ITEM *aItem, const wxPoint &aPos, EDA_ITEM *bItem=nullptr, const wxPoint &bPos=wxPoint())
Function SetData fills in all the reportable data associated with a MARKER.
const int M_SHAPE_SCALE
Definition: marker_base.cpp:43
int m_ScalingFactor
Scaling factor for m_Size and m_Corners (can set the physical size)
Definition: marker_base.h:55
MARKER_BASE::MARKER_BASE ( int  aErrorCode,
const wxPoint aMarkerPos,
const wxString &  aText,
const wxPoint aPos 
)

Constructor.

Parameters
aErrorCodeThe categorizing identifier for an error
aMarkerPosThe position of the MARKER on the BOARD
aTextText describing the object
aPosThe position of the object

Definition at line 127 of file marker_base.cpp.

References init(), m_ScalingFactor, M_SHAPE_SCALE, and SetData().

129 {
131  init();
132 
133  SetData( aErrorCode, aMarkerPos, aText, aPos );
134 }
void SetData(EDA_UNITS_T aUnits, int aErrorCode, const wxPoint &aMarkerPos, EDA_ITEM *aItem, const wxPoint &aPos, EDA_ITEM *bItem=nullptr, const wxPoint &bPos=wxPoint())
Function SetData fills in all the reportable data associated with a MARKER.
const int M_SHAPE_SCALE
Definition: marker_base.cpp:43
int m_ScalingFactor
Scaling factor for m_Size and m_Corners (can set the physical size)
Definition: marker_base.h:55
MARKER_BASE::MARKER_BASE ( const MARKER_BASE aMarker)

Contructor makes a copy of aMarker but does not copy the DRC_ITEM.

Parameters
aMarkerThe marker to copy.

Definition at line 87 of file marker_base.cpp.

References m_Color, m_ErrorLevel, m_MarkerType, m_Pos, m_ScalingFactor, and m_ShapeBoundingBox.

88 {
89  m_Pos = aMarker.m_Pos;
90  m_ErrorLevel = aMarker.m_ErrorLevel;
91  m_MarkerType = aMarker.m_MarkerType;
92  m_Color = aMarker.m_Color;
95 }
MARKER_SEVERITY m_ErrorLevel
Specify the severity of the error.
Definition: marker_base.h:60
wxPoint m_Pos
position of the marker
Definition: marker_base.h:54
TYPEMARKER m_MarkerType
The type of marker (useful to filter markers)
Definition: marker_base.h:59
COLOR4D m_Color
color
Definition: marker_base.h:61
int m_ScalingFactor
Scaling factor for m_Size and m_Corners (can set the physical size)
Definition: marker_base.h:55
EDA_RECT m_ShapeBoundingBox
Bounding box of the graphic symbol, relative to the position of the shape, used for Hit Tests...
Definition: marker_base.h:62
MARKER_BASE::~MARKER_BASE ( )

Definition at line 137 of file marker_base.cpp.

138 {
139 }

Member Function Documentation

void MARKER_BASE::DisplayMarkerInfo ( EDA_DRAW_FRAME aFrame)

Function DisplayMarkerInfo displays the full info of this marker, in a HTML window.

Definition at line 186 of file marker_base.cpp.

References EDA_DRAW_FRAME::GetUserUnits(), m_drc, DIALOG_DISPLAY_HTML_TEXT_BASE::m_htmlWindow, and DRC_ITEM::ShowHtml().

Referenced by GetReporter().

187 {
188  wxString msg = m_drc.ShowHtml( aFrame->GetUserUnits() );
189  DIALOG_DISPLAY_HTML_TEXT_BASE infodisplay( (wxWindow*)aFrame, wxID_ANY, _( "Marker Info" ),
190  wxGetMousePosition(), wxSize( 550, 140 ) );
191 
192  infodisplay.m_htmlWindow->SetPage( msg );
193  infodisplay.ShowModal();
194 }
Class DIALOG_DISPLAY_HTML_TEXT_BASE.
EDA_UNITS_T GetUserUnits() const override
Return the user units currently in use.
Definition: draw_frame.h:284
wxString ShowHtml(EDA_UNITS_T aUnits) const
Function ShowHtml translates this object into a fragment of HTML suitable for the wxWidget&#39;s wxHtmlLi...
Definition: drc_item.cpp:156
DRC_ITEM m_drc
Definition: marker_base.h:65
void MARKER_BASE::DrawMarker ( EDA_DRAW_PANEL aPanel,
wxDC *  aDC,
GR_DRAWMODE  aDrawMode,
const wxPoint aOffset 
)

Function DrawMarker draws the shape is the polygon defined in m_Corners (array of wxPoints).

Definition at line 12 of file legacy_gal/other.cpp.

Referenced by SCH_MARKER::Draw(), and MARKER_PCB::Draw().

14 {
15 }
EDA_RECT MARKER_BASE::GetBoundingBoxMarker ( ) const

Function GetBoundingBoxMarker returns the orthogonal, bounding box of this object for display purposes.

This box should be an enclosing perimeter for visible components of this object, and the units should be in the pcb or schematic coordinate system. It is OK to overestimate the size by a few counts.

Definition at line 172 of file marker_base.cpp.

References EDA_RECT::GetPosition(), EDA_RECT::GetSize(), m_Pos, m_ScalingFactor, m_ShapeBoundingBox, wxPoint::x, and wxPoint::y.

Referenced by SCH_MARKER::GetBoundingBox(), and GetReporter().

173 {
174  wxSize realsize = m_ShapeBoundingBox.GetSize();
175  wxPoint realposition = m_ShapeBoundingBox.GetPosition();
176  realsize.x *= m_ScalingFactor;
177  realsize.y *= m_ScalingFactor;
178  realposition.x *= m_ScalingFactor;
179  realposition.y *= m_ScalingFactor;
180  realposition += m_Pos;
181  return EDA_RECT( m_Pos, realsize );
182 }
const wxSize GetSize() const
Definition: eda_rect.h:101
wxPoint m_Pos
position of the marker
Definition: marker_base.h:54
int m_ScalingFactor
Scaling factor for m_Size and m_Corners (can set the physical size)
Definition: marker_base.h:55
EDA_RECT m_ShapeBoundingBox
Bounding box of the graphic symbol, relative to the position of the shape, used for Hit Tests...
Definition: marker_base.h:62
const wxPoint GetPosition() const
Definition: eda_rect.h:113
Class EDA_RECT handles the component boundary box.
Definition: eda_rect.h:44
MARKER_SEVERITY MARKER_BASE::GetErrorLevel ( ) const
inline

Definition at line 152 of file marker_base.h.

References m_ErrorLevel.

Referenced by SCH_MARKER::Draw(), KIGFX::SCH_PAINTER::draw(), SCH_SCREENS::GetMarkerCount(), and WriteDiagnosticERC().

153  {
154  return m_ErrorLevel;
155  }
MARKER_SEVERITY m_ErrorLevel
Specify the severity of the error.
Definition: marker_base.h:60
enum TYPEMARKER MARKER_BASE::GetMarkerType ( ) const
inline

Definition at line 164 of file marker_base.h.

References m_MarkerType, and SetData().

Referenced by SCH_SCREENS::DeleteAllMarkers(), DIALOG_ERC::DisplayERC_MarkersList(), SCH_MARKER::Draw(), SCH_SCREENS::GetMarkerCount(), and WriteDiagnosticERC().

165  {
166  return m_MarkerType;
167  }
TYPEMARKER m_MarkerType
The type of marker (useful to filter markers)
Definition: marker_base.h:59
const wxPoint& MARKER_BASE::GetPos ( ) const
inline

Function GetPos returns the position of this MARKER, const.

Definition at line 130 of file marker_base.h.

References m_Pos.

Referenced by SCH_MARKER::Clone().

131  {
132  return m_Pos;
133  }
wxPoint m_Pos
position of the marker
Definition: marker_base.h:54
const DRC_ITEM& MARKER_BASE::GetReporter ( ) const
inline

Function GetReporter returns the DRC_ITEM held within this MARKER so that its interface may be used.

Returns
const& DRC_ITEM

Definition at line 220 of file marker_base.h.

References DisplayMarkerInfo(), GetBoundingBoxMarker(), HitTestMarker(), and m_drc.

Referenced by DRC_LIST_MARKERS::GetItem(), SCH_MARKER::GetMsgPanelInfo(), and WriteDiagnosticERC().

221  {
222  return m_drc;
223  }
DRC_ITEM m_drc
Definition: marker_base.h:65
bool MARKER_BASE::HitTestMarker ( const wxPoint ref_pos) const

Function HitTestMarker tests if the given wxPoint is within the bounds of this object.

Parameters
ref_posA wxPoint to test
Returns
bool - true if a hit, else false

Definition at line 162 of file marker_base.cpp.

References EDA_RECT::Contains(), m_Pos, m_ScalingFactor, m_ShapeBoundingBox, wxPoint::x, and wxPoint::y.

Referenced by GetReporter(), MARKER_PCB::HitTest(), and SCH_MARKER::HitTest().

163 {
164  wxPoint rel_pos = refPos - m_Pos;
165  rel_pos.x /= m_ScalingFactor;
166  rel_pos.y /= m_ScalingFactor;
167 
168  return m_ShapeBoundingBox.Contains( rel_pos );
169 }
bool Contains(const wxPoint &aPoint) const
Function Contains.
wxPoint m_Pos
position of the marker
Definition: marker_base.h:54
int m_ScalingFactor
Scaling factor for m_Size and m_Corners (can set the physical size)
Definition: marker_base.h:55
EDA_RECT m_ShapeBoundingBox
Bounding box of the graphic symbol, relative to the position of the shape, used for Hit Tests...
Definition: marker_base.h:62
void MARKER_BASE::init ( )
protected

Definition at line 65 of file marker_base.cpp.

References CORNERS_COUNT, m_Color, m_ErrorLevel, m_MarkerType, m_ShapeBoundingBox, MARKER_SEVERITY_UNSPEC, MARKER_UNSPEC, max, min, RED, EDA_RECT::SetEnd(), EDA_RECT::SetOrigin(), wxPoint::x, and wxPoint::y.

Referenced by MARKER_BASE().

66 {
69  m_Color = RED;
70  wxPoint start = MarkerShapeCorners[0];
71  wxPoint end = MarkerShapeCorners[0];
72 
73  for( unsigned ii = 0; ii < CORNERS_COUNT; ii++ )
74  {
75  wxPoint corner = MarkerShapeCorners[ii];
76  start.x = std::min( start.x, corner.x);
77  start.y = std::min( start.y, corner.y);
78  end.x = std::max( end.x, corner.x);
79  end.y = std::max( end.y, corner.y);
80  }
81 
84 }
MARKER_SEVERITY m_ErrorLevel
Specify the severity of the error.
Definition: marker_base.h:60
void SetOrigin(const wxPoint &pos)
Definition: eda_rect.h:124
TYPEMARKER m_MarkerType
The type of marker (useful to filter markers)
Definition: marker_base.h:59
static const wxPoint MarkerShapeCorners[]
Definition: marker_base.cpp:48
const unsigned CORNERS_COUNT
Definition: marker_base.cpp:59
void SetEnd(int x, int y)
Definition: eda_rect.h:134
COLOR4D m_Color
color
Definition: marker_base.h:61
Definition: colors.h:60
EDA_RECT m_ShapeBoundingBox
Bounding box of the graphic symbol, relative to the position of the shape, used for Hit Tests...
Definition: marker_base.h:62
#define max(a, b)
Definition: auxiliary.h:86
#define min(a, b)
Definition: auxiliary.h:85
void MARKER_BASE::SetAuxiliaryData ( const wxString &  aAuxiliaryText,
const wxPoint aAuxiliaryPos 
)
inline

Function SetAuxiliaryData initialize data for the second (auxiliary) item.

Parameters
aAuxiliaryText= the second text (main text) concerning the second schematic or board item
aAuxiliaryPos= position the second item

Definition at line 204 of file marker_base.h.

References DRC_ITEM::SetAuxiliaryData().

Referenced by Diagnose(), and SimilarLabelsDiagnose().

205  {
206  m_drc.SetAuxiliaryData( aAuxiliaryText, aAuxiliaryPos );
207  }
void SetAuxiliaryData(const wxString &aAuxiliaryText, const wxPoint &aAuxiliaryPos)
Function SetAuxiliaryData initialize data for the second (auxiliary) item.
Definition: drc_item.h:142
DRC_ITEM m_drc
Definition: marker_base.h:65
void MARKER_BASE::SetColor ( COLOR4D  aColor)
inline

Function SetColor Set the color of this marker.

Definition at line 139 of file marker_base.h.

140  {
141  m_Color = aColor;
142  }
COLOR4D m_Color
color
Definition: marker_base.h:61
void MARKER_BASE::SetData ( EDA_UNITS_T  aUnits,
int  aErrorCode,
const wxPoint aMarkerPos,
EDA_ITEM aItem,
const wxPoint aPos,
EDA_ITEM bItem = nullptr,
const wxPoint bPos = wxPoint() 
)

Function SetData fills in all the reportable data associated with a MARKER.

Parameters
aErrorCodeThe categorizing identifier for an error
aMarkerPosThe position of the MARKER on the BOARD
aItemThe first of two objects
aPosThe position of the first of two objects
bItemThe second of the two conflicting objects
bPosThe position of the second of two objects

Definition at line 142 of file marker_base.cpp.

References m_drc, m_Pos, DRC_ITEM::SetData(), and DRC_ITEM::SetParent().

Referenced by Diagnose(), GetMarkerType(), MARKER_BASE(), SimilarLabelsDiagnose(), TestDuplicateSheetNames(), and DIALOG_ERC::TestErc().

145 {
146  m_Pos = aMarkerPos;
147  m_drc.SetData( aUnits, aErrorCode, aItem, aPos, bItem, bPos );
148  m_drc.SetParent( this );
149 }
wxPoint m_Pos
position of the marker
Definition: marker_base.h:54
void SetParent(MARKER_BASE *aMarker)
Definition: drc_item.h:151
void SetData(EDA_UNITS_T aUnits, int aErrorCode, EDA_ITEM *aMainItem, const wxPoint &aMainPos, EDA_ITEM *bAuxiliaryItem=nullptr, const wxPoint &bAuxiliaryPos=wxPoint())
Function SetData initialize all data in item.
Definition: drc_item.h:91
DRC_ITEM m_drc
Definition: marker_base.h:65
void MARKER_BASE::SetData ( int  aErrorCode,
const wxPoint aMarkerPos,
const wxString &  aText,
const wxPoint aPos,
const wxString &  bText = wxEmptyString,
const wxPoint bPos = wxPoint() 
)

Function SetData fills in all the reportable data associated with a MARKER.

Parameters
aErrorCodeThe categorizing identifier for an error
aMarkerPosThe position of the MARKER on the BOARD
aTextText describing the first of two objects
aPosThe position of the first of two objects
bTextText describing the second of the two conflicting objects
bPosThe position of the second of two objects

Definition at line 152 of file marker_base.cpp.

References m_drc, m_Pos, DRC_ITEM::SetData(), and DRC_ITEM::SetParent().

155 {
156  m_Pos = aMarkerPos;
157  m_drc.SetData( aErrorCode, aText, aPos, bText, bPos );
158  m_drc.SetParent( this );
159 }
wxPoint m_Pos
position of the marker
Definition: marker_base.h:54
void SetParent(MARKER_BASE *aMarker)
Definition: drc_item.h:151
void SetData(EDA_UNITS_T aUnits, int aErrorCode, EDA_ITEM *aMainItem, const wxPoint &aMainPos, EDA_ITEM *bAuxiliaryItem=nullptr, const wxPoint &bAuxiliaryPos=wxPoint())
Function SetData initialize all data in item.
Definition: drc_item.h:91
DRC_ITEM m_drc
Definition: marker_base.h:65
void MARKER_BASE::SetErrorLevel ( MARKER_SEVERITY  aErrorLevel)
inline

accessors to set/get error levels (warning, error, fatal error..)

Definition at line 147 of file marker_base.h.

Referenced by Diagnose(), SimilarLabelsDiagnose(), TestDuplicateSheetNames(), and DIALOG_ERC::TestErc().

148  {
149  m_ErrorLevel = aErrorLevel;
150  }
MARKER_SEVERITY m_ErrorLevel
Specify the severity of the error.
Definition: marker_base.h:60
void MARKER_BASE::SetMarkerType ( enum TYPEMARKER  aMarkerType)
inline

accessors to set/get marker type (DRC, ERC, or other)

Definition at line 159 of file marker_base.h.

Referenced by Diagnose(), SimilarLabelsDiagnose(), TestDuplicateSheetNames(), and DIALOG_ERC::TestErc().

160  {
161  m_MarkerType = aMarkerType;
162  }
TYPEMARKER m_MarkerType
The type of marker (useful to filter markers)
Definition: marker_base.h:59
void MARKER_BASE::SetShowNoCoordinate ( )
inline

Definition at line 209 of file marker_base.h.

References DRC_ITEM::SetShowNoCoordinate().

Referenced by DRC::newMarker().

210  {
212  }
void SetShowNoCoordinate()
Definition: drc_item.h:157
DRC_ITEM m_drc
Definition: marker_base.h:65

Member Data Documentation

COLOR4D MARKER_BASE::m_Color
protected

color

Definition at line 61 of file marker_base.h.

Referenced by SCH_MARKER::Draw(), init(), MARKER_BASE(), and MARKER_PCB::MARKER_PCB().

DRC_ITEM MARKER_BASE::m_drc
protected
MARKER_SEVERITY MARKER_BASE::m_ErrorLevel
protected

Specify the severity of the error.

Definition at line 60 of file marker_base.h.

Referenced by GetErrorLevel(), init(), MARKER_BASE(), and SCH_MARKER::ViewGetLayers().

TYPEMARKER MARKER_BASE::m_MarkerType
protected

The type of marker (useful to filter markers)

Definition at line 59 of file marker_base.h.

Referenced by GetMarkerType(), init(), and MARKER_BASE().

int MARKER_BASE::m_ScalingFactor

Scaling factor for m_Size and m_Corners (can set the physical size)

Definition at line 55 of file marker_base.h.

Referenced by KIGFX::SCH_PAINTER::draw(), GetBoundingBoxMarker(), HitTestMarker(), MARKER_BASE(), MARKER_PCB::MARKER_PCB(), and SCH_MARKER::SCH_MARKER().

EDA_RECT MARKER_BASE::m_ShapeBoundingBox
protected

Bounding box of the graphic symbol, relative to the position of the shape, used for Hit Tests.

Definition at line 62 of file marker_base.h.

Referenced by GetBoundingBoxMarker(), HitTestMarker(), init(), and MARKER_BASE().


The documentation for this class was generated from the following files: