KiCad PCB EDA Suite
sch_line.cpp File Reference

Class SCH_LINE implementation. More...

#include <fctsys.h>
#include <gr_basic.h>
#include <macros.h>
#include <class_drawpanel.h>
#include <class_plotter.h>
#include <base_units.h>
#include <eeschema_config.h>
#include <general.h>
#include <list_operations.h>
#include <sch_line.h>
#include <schframe.h>
#include <class_netlist_object.h>
#include <dialogs/dialog_edit_line_style.h>

Go to the source code of this file.

Variables

 SCH_LINE PenStyle
 
static const char * style_names []
 

Detailed Description

Class SCH_LINE implementation.

Definition in file sch_line.cpp.

Variable Documentation

SCH_LINEPenStyle

Definition at line 45 of file sch_line.cpp.

Referenced by SCH_EDIT_FRAME::BeginSegment(), and SCH_SCREEN::BreakSegment().

46 {
47  [PLOTDASHTYPE_SOLID] = wxPENSTYLE_SOLID,
48  [PLOTDASHTYPE_DASH] = wxPENSTYLE_SHORT_DASH,
49  [PLOTDASHTYPE_DOT] = wxPENSTYLE_DOT,
50  [PLOTDASHTYPE_DASHDOT] = wxPENSTYLE_DOT_DASH
51 };
const char* style_names[]
static
Initial value:
=
{
"solid", "dashed", "dotted", "dash_dot", nullptr
}

Definition at line 98 of file sch_line.cpp.

Referenced by SCH_LINE::GetLineStyleInternalId(), and SCH_LINE::GetLineStyleName().