![]() |
KiCad PCB EDA Suite
|
Go to the source code of this file.
Macros | |
#define | UNKNOWN_IU |
Scaling factor to convert mils to internal units. More... | |
Functions | |
constexpr int | SchMils2iu (int mils) |
constexpr double | SchIu2Mils (int iu) |
constexpr int | PcbMillimeter2iu (double mm) |
constexpr double | PcbIu2Millimeter (int iu) |
Variables | |
constexpr double | GERB_IU_PER_MM = 1e5 |
some define and functions to convert a value in mils, decimils or mm to the internal unit used in pcbnew, cvpcb or gerbview (nanometer or deci-mil) depending on compile time option More... | |
constexpr double | PCB_IU_PER_MM = 1e6 |
constexpr double | PL_IU_PER_MM = 1e3 |
constexpr double | SCH_IU_PER_MM = 1e4 |
constexpr double | PCB_IU_PER_MILS = (PCB_IU_PER_MM * 0.0254) |
constexpr double | SCH_IU_PER_MILS = (SCH_IU_PER_MM * 0.0254) |
#define UNKNOWN_IU |
Scaling factor to convert mils to internal units.
Definition at line 84 of file convert_to_biu.h.
|
inline |
|
inline |
Definition at line 155 of file convert_to_biu.h.
References PCB_IU_PER_MM.
Referenced by getInPcbUnits().
|
inline |
Definition at line 150 of file convert_to_biu.h.
References SCH_IU_PER_MILS.
Referenced by NET_SETTINGS::NET_SETTINGS().
|
inline |
Definition at line 145 of file convert_to_biu.h.
References SCH_IU_PER_MILS.
Referenced by NET_SETTINGS::NET_SETTINGS().
constexpr double GERB_IU_PER_MM = 1e5 |
some define and functions to convert a value in mils, decimils or mm to the internal unit used in pcbnew, cvpcb or gerbview (nanometer or deci-mil) depending on compile time option
Definition at line 69 of file convert_to_biu.h.
constexpr double PCB_IU_PER_MILS = (PCB_IU_PER_MM * 0.0254) |
Definition at line 142 of file convert_to_biu.h.
constexpr double PCB_IU_PER_MM = 1e6 |
Definition at line 70 of file convert_to_biu.h.
Referenced by BITMAPCONV_INFO::ConvertBitmap(), CADSTAR_PCB_ARCHIVE_LOADER::Load(), BITMAPCONV_INFO::outputOnePolygon(), CADSTAR_PCB_ARCHIVE_PARSER::Parse(), PcbIu2Millimeter(), and PcbMillimeter2iu().
constexpr double PL_IU_PER_MM = 1e3 |
Definition at line 71 of file convert_to_biu.h.
Referenced by BITMAPCONV_INFO::ConvertBitmap(), and BITMAPCONV_INFO::outputOnePolygon().
constexpr double SCH_IU_PER_MILS = (SCH_IU_PER_MM * 0.0254) |
Definition at line 143 of file convert_to_biu.h.
Referenced by SchIu2Mils(), and SchMils2iu().
constexpr double SCH_IU_PER_MM = 1e4 |
Definition at line 72 of file convert_to_biu.h.
Referenced by CADSTAR_SCH_ARCHIVE_LOADER::Load(), and CADSTAR_SCH_ARCHIVE_PARSER::Parse().