KiCad PCB EDA Suite
Loading...
Searching...
No Matches
marker_base.cpp File Reference

Implementation of MARKER_BASE class. More...

Go to the source code of this file.

Variables

static const VECTOR2I MarkerShapeCorners []
 
const unsigned CORNERS_COUNT = arrayDim( 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 marker_base.cpp.

Variable Documentation

◆ CORNERS_COUNT

const unsigned CORNERS_COUNT = arrayDim( MarkerShapeCorners )

Definition at line 58 of file marker_base.cpp.

Referenced by MARKER_BASE::MARKER_BASE(), and MARKER_BASE::PrintMarker().

◆ MarkerShapeCorners

const VECTOR2I MarkerShapeCorners[]
static
Initial value:
=
{
VECTOR2I( 0, 0 ),
VECTOR2I( 8, 1 ),
VECTOR2I( 4, 3 ),
VECTOR2I( 13, 8 ),
VECTOR2I( 9, 9 ),
VECTOR2I( 8, 13 ),
VECTOR2I( 3, 4 ),
VECTOR2I( 1, 8 ),
}
VECTOR2< int32_t > VECTOR2I
Definition: vector2d.h:691

Definition at line 46 of file marker_base.cpp.

Referenced by MARKER_BASE::MARKER_BASE(), MARKER_BASE::PrintMarker(), and MARKER_BASE::ShapeToPolygon().