KiCad PCB EDA Suite
gbr_screen.cpp File Reference
#include <fctsys.h>
#include <common.h>
#include <macros.h>
#include <gbr_screen.h>
#include <gerbview_id.h>

Go to the source code of this file.

Macros

#define MIL_GRID(x)
 
#define MM_GRID(x)
 

Variables

static const double gbrZoomList []
 Default GerbView zoom values. More...
 
static GRID_TYPE gbrGridList []
 

Macro Definition Documentation

#define MIL_GRID (   x)
Value:
wxRealPoint( x * IU_PER_MILS,\
x * IU_PER_MILS)
#define IU_PER_MILS
Definition: plotter.cpp:134

Definition at line 36 of file gbr_screen.cpp.

Referenced by GBR_SCREEN::GBR_SCREEN().

#define MM_GRID (   x)
Value:
wxRealPoint( x * IU_PER_MM,\
x * IU_PER_MM )

Definition at line 38 of file gbr_screen.cpp.

Variable Documentation

GRID_TYPE gbrGridList[]
static
Initial value:
=
{
}
#define MM_GRID(x)
Definition: gbr_screen.cpp:38
#define MIL_GRID(x)
Definition: gbr_screen.cpp:36

Definition at line 73 of file gbr_screen.cpp.

const double gbrZoomList[]
static
Initial value:
=
{
ZOOM_FACTOR( 0.022 ),
ZOOM_FACTOR( 0.035 ),
ZOOM_FACTOR( 0.05 ),
ZOOM_FACTOR( 0.08 ),
ZOOM_FACTOR( 0.13 ),
ZOOM_FACTOR( 0.22 ),
ZOOM_FACTOR( 0.35 ),
ZOOM_FACTOR( 0.6 ),
ZOOM_FACTOR( 1.0 ),
ZOOM_FACTOR( 1.5 ),
ZOOM_FACTOR( 2.2 ),
ZOOM_FACTOR( 3.5 ),
ZOOM_FACTOR( 5.0 ),
ZOOM_FACTOR( 8.0 ),
ZOOM_FACTOR( 13.0 ),
ZOOM_FACTOR( 20.0 ),
ZOOM_FACTOR( 35.0 ),
ZOOM_FACTOR( 50.0 ),
ZOOM_FACTOR( 80.0 ),
ZOOM_FACTOR( 130.0 ),
}
#define ZOOM_FACTOR(x)
Definition: pcb_screen.cpp:42

Default GerbView zoom values.

Roughly a 1.5 progression.

Definition at line 46 of file gbr_screen.cpp.

Referenced by GBR_SCREEN::GBR_SCREEN().