KiCad PCB EDA Suite
class_gbr_screen.cpp File Reference
#include <fctsys.h>
#include <common.h>
#include <macros.h>
#include <class_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)

Definition at line 36 of file class_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 class_gbr_screen.cpp.

Variable Documentation

GRID_TYPE gbrGridList[]
static
Initial value:
=
{
}
#define MM_GRID(x)
#define MIL_GRID(x)

Definition at line 73 of file class_gbr_screen.cpp.

const double gbrZoomList[]
static
Initial value:
=
{
ZOOM_FACTOR( 0.05 ),
ZOOM_FACTOR( 0.075 ),
ZOOM_FACTOR( 0.1 ),
ZOOM_FACTOR( 0.15 ),
ZOOM_FACTOR( 0.2 ),
ZOOM_FACTOR( 0.3 ),
ZOOM_FACTOR( 0.45 ),
ZOOM_FACTOR( 0.7 ),
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( 11.0 ),
ZOOM_FACTOR( 15.0 ),
ZOOM_FACTOR( 20.0 ),
ZOOM_FACTOR( 35.0 ),
ZOOM_FACTOR( 50.0 ),
ZOOM_FACTOR( 100.0 ),
}
#define ZOOM_FACTOR(x)
Definition: classpcb.cpp:48

Default GerbView zoom values.

Roughly a 1.5 progression.

Definition at line 46 of file class_gbr_screen.cpp.

Referenced by GBR_SCREEN::GBR_SCREEN().