KiCad PCB EDA Suite
Loading...
Searching...
No Matches
dialog_outset_items.cpp File Reference

Go to the source code of this file.

Variables

static const std::vector< int > s_outsetPresetValue
 Some handy preset values for common outset distances.
 
static const std::vector< int > s_presetLineWidths
 
static const std::vector< int > s_presetGridRounding
 
static int s_gridRoundValuePersist = s_presetGridRounding[0]
 
static std::vector< int > s_outsetRecentValues
 
static std::vector< int > s_lineWidthRecentValues
 
static std::vector< int > s_gridRoundingRecentValues
 

Variable Documentation

◆ s_gridRoundingRecentValues

std::vector<int> s_gridRoundingRecentValues
static

◆ s_gridRoundValuePersist

int s_gridRoundValuePersist = s_presetGridRounding[0]
static

◆ s_lineWidthRecentValues

std::vector<int> s_lineWidthRecentValues
static

◆ s_outsetPresetValue

const std::vector<int> s_outsetPresetValue
static
Initial value:
{
pcbIUScale.mmToIU( 0.11 ),
pcbIUScale.mmToIU( 0.15 ),
pcbIUScale.mmToIU( 0.25 ),
pcbIUScale.mmToIU( 0.26 ),
}
constexpr EDA_IU_SCALE pcbIUScale
Definition: base_units.h:108
constexpr int mmToIU(double mm) const
Definition: base_units.h:88

Some handy preset values for common outset distances.

Definition at line 34 of file dialog_outset_items.cpp.

Referenced by DIALOG_OUTSET_ITEMS::DIALOG_OUTSET_ITEMS().

◆ s_outsetRecentValues

std::vector<int> s_outsetRecentValues
static

◆ s_presetGridRounding

const std::vector<int> s_presetGridRounding
static
Initial value:
{
pcbIUScale.mmToIU( 0.01 ),
}

Definition at line 64 of file dialog_outset_items.cpp.

Referenced by DIALOG_OUTSET_ITEMS::DIALOG_OUTSET_ITEMS().

◆ s_presetLineWidths

const std::vector<int> s_presetLineWidths
static
Initial value:
{
pcbIUScale.mmToIU( 0.05 ),
pcbIUScale.mmToIU( 0.12 ),
pcbIUScale.mmToIU( 0.15 ),
}

Definition at line 54 of file dialog_outset_items.cpp.

Referenced by DIALOG_OUTSET_ITEMS::DIALOG_OUTSET_ITEMS().