KiCad PCB EDA Suite
Loading...
Searching...
No Matches
sch_sheet.cpp File Reference
#include <cstdlib>
#include <bitmaps.h>
#include <core/mirror.h>
#include <core/kicad_algo.h>
#include <sch_draw_panel.h>
#include <trigo.h>
#include <sch_edit_frame.h>
#include <plotters/plotter.h>
#include <sch_plotter.h>
#include <string_utils.h>
#include <widgets/msgpanel.h>
#include <math/util.h>
#include <sch_sheet.h>
#include <sch_sheet_path.h>
#include <sch_sheet_pin.h>
#include <sch_symbol.h>
#include <sch_painter.h>
#include <schematic.h>
#include <settings/color_settings.h>
#include <settings/settings_manager.h>
#include <trace_helpers.h>
#include <pgm_base.h>
#include <wx/log.h>

Go to the source code of this file.

Classes

struct  SCH_SHEET_DESC
 

Macros

#define SHEET_NAME_CANONICAL   "Sheetname"
 
#define SHEET_FILE_CANONICAL   "Sheetfile"
 
#define USER_FIELD_CANONICAL   "Field%d"
 

Functions

int bumpToNextGrid (const int aVal, const int aDirection)
 

Variables

static struct SCH_SHEET_DESC _SCH_SHEET_DESC
 

Macro Definition Documentation

◆ SHEET_FILE_CANONICAL

#define SHEET_FILE_CANONICAL   "Sheetfile"

Definition at line 53 of file sch_sheet.cpp.

◆ SHEET_NAME_CANONICAL

#define SHEET_NAME_CANONICAL   "Sheetname"

Definition at line 52 of file sch_sheet.cpp.

◆ USER_FIELD_CANONICAL

#define USER_FIELD_CANONICAL   "Field%d"

Definition at line 54 of file sch_sheet.cpp.

Function Documentation

◆ bumpToNextGrid()

int bumpToNextGrid ( const int  aVal,
const int  aDirection 
)

Definition at line 526 of file sch_sheet.cpp.

References EDA_IU_SCALE::MilsToIU(), and schIUScale.

Referenced by SCH_SHEET::GetMinHeight(), and SCH_SHEET::GetMinWidth().

Variable Documentation

◆ _SCH_SHEET_DESC

struct SCH_SHEET_DESC _SCH_SHEET_DESC
static