KiCad PCB EDA Suite
class_marker_base.cpp File Reference

Implementation of MARKER_BASE class. More...

#include "fctsys.h"
#include "gr_basic.h"
#include "class_base_screen.h"
#include "common.h"
#include "macros.h"
#include "class_drawpanel.h"
#include "class_marker_base.h"
#include "dialog_display_info_HTML_base.h"

Go to the source code of this file.

Variables

const int M_SHAPE_SCALE = 6
 
static const wxPoint MarkerShapeCorners []
 
const unsigned CORNERS_COUNT = DIM( MarkerShapeCorners )
 

Detailed Description

Implementation of MARKER_BASE class.

Markers are used to show something (usually a drc/erc problem). Markers in Pcbnew and Eeschema are derived from this base class.

Definition in file class_marker_base.cpp.

Variable Documentation

const unsigned CORNERS_COUNT = DIM( MarkerShapeCorners )

Definition at line 62 of file class_marker_base.cpp.

Referenced by MARKER_BASE::DrawMarker(), and MARKER_BASE::init().

const int M_SHAPE_SCALE = 6

Definition at line 46 of file class_marker_base.cpp.

Referenced by MARKER_BASE::MARKER_BASE().

const wxPoint MarkerShapeCorners[]
static
Initial value:
=
{
wxPoint( 0, 0 ),
wxPoint( 8, 1 ),
wxPoint( 4, 3 ),
wxPoint( 13, 8 ),
wxPoint( 9, 9 ),
wxPoint( 8, 13 ),
wxPoint( 3, 4 ),
wxPoint( 1, 8 )
}

Definition at line 51 of file class_marker_base.cpp.