KiCad PCB EDA Suite
sch_screen.cpp File Reference

Implementation of SCH_SCREEN and SCH_SCREENS classes. More...

#include <common.h>
#include <eda_rect.h>
#include <fctsys.h>
#include <gr_text.h>
#include <id.h>
#include <kicad_string.h>
#include <kiway.h>
#include <pgm_base.h>
#include <plotter.h>
#include <project.h>
#include <reporter.h>
#include <sch_draw_panel.h>
#include <sch_edit_frame.h>
#include <sch_item.h>
#include <class_library.h>
#include <class_libentry.h>
#include <connection_graph.h>
#include <lib_pin.h>
#include <netlist_object.h>
#include <sch_component.h>
#include <sch_junction.h>
#include <sch_line.h>
#include <sch_marker.h>
#include <sch_sheet.h>
#include <sch_text.h>
#include <schematic.h>
#include <symbol_lib_table.h>
#include <tool/common_tools.h>
#include <thread>
#include <algorithm>
#include <future>
#include <profile.h>

Go to the source code of this file.

Macros

#define EESCHEMA_FILE_STAMP   "EESchema"
 
#define ZOOM_FACTOR(x)   ( x * IU_PER_MILS )
 

Variables

static double SchematicZoomList []
 
static GRID_TYPE SchematicGridList []
 

Detailed Description

Implementation of SCH_SCREEN and SCH_SCREENS classes.

Definition in file sch_screen.cpp.

Macro Definition Documentation

◆ EESCHEMA_FILE_STAMP

#define EESCHEMA_FILE_STAMP   "EESchema"

Definition at line 69 of file sch_screen.cpp.

◆ ZOOM_FACTOR

#define ZOOM_FACTOR (   x)    ( x * IU_PER_MILS )

Definition at line 70 of file sch_screen.cpp.

Variable Documentation

◆ SchematicGridList

GRID_TYPE SchematicGridList[]
static
Initial value:
= {
{ ID_POPUP_GRID_LEVEL_100, wxRealPoint( Mils2iu( 100 ), Mils2iu( 100 ) ) },
{ ID_POPUP_GRID_LEVEL_50, wxRealPoint( Mils2iu( 50 ), Mils2iu( 50 ) ) },
{ ID_POPUP_GRID_LEVEL_25, wxRealPoint( Mils2iu( 25 ), Mils2iu( 25 ) ) },
{ ID_POPUP_GRID_LEVEL_10, wxRealPoint( Mils2iu( 10 ), Mils2iu( 10 ) ) },
{ ID_POPUP_GRID_LEVEL_5, wxRealPoint( Mils2iu( 5 ), Mils2iu( 5 ) ) },
{ ID_POPUP_GRID_LEVEL_2, wxRealPoint( Mils2iu( 2 ), Mils2iu( 2 ) ) },
{ ID_POPUP_GRID_LEVEL_1, wxRealPoint( Mils2iu( 1 ), Mils2iu( 1 ) ) },
}

Definition at line 112 of file sch_screen.cpp.

Referenced by SCH_SCREEN::SCH_SCREEN().

◆ SchematicZoomList

double SchematicZoomList[]
static
Initial value:
=
{
ZOOM_FACTOR( 0.5 ),
ZOOM_FACTOR( 0.7 ),
ZOOM_FACTOR( 1.0 ),
ZOOM_FACTOR( 1.5 ),
ZOOM_FACTOR( 2.0 ),
ZOOM_FACTOR( 3.0 ),
ZOOM_FACTOR( 4.0 ),
ZOOM_FACTOR( 6.0 ),
ZOOM_FACTOR( 8.0 ),
ZOOM_FACTOR( 11.0 ),
ZOOM_FACTOR( 13.0 ),
ZOOM_FACTOR( 16.0 ),
ZOOM_FACTOR( 20.0 ),
ZOOM_FACTOR( 26.0 ),
ZOOM_FACTOR( 32.0 ),
ZOOM_FACTOR( 48.0 ),
ZOOM_FACTOR( 64.0 ),
ZOOM_FACTOR( 80.0 ),
}
#define ZOOM_FACTOR(x)
Definition: sch_screen.cpp:70

Definition at line 76 of file sch_screen.cpp.

Referenced by SCH_SCREEN::SCH_SCREEN().