KiCad PCB EDA Suite
marker_base.cpp File Reference

Implementation of MARKER_BASE class. More...

#include "fctsys.h"
#include "base_screen.h"
#include "common.h"
#include "macros.h"
#include "marker_base.h"
#include <geometry/shape_line_chain.h>
#include "dialog_display_info_HTML_base.h"

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

const unsigned CORNERS_COUNT = arrayDim( MarkerShapeCorners )

Definition at line 59 of file marker_base.cpp.

Referenced by MARKER_BASE::GetShapePolygonCornerCount().

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< int > VECTOR2I
Definition: vector2d.h:587

Definition at line 47 of file marker_base.cpp.

Referenced by MARKER_BASE::GetShapePolygon().