KiCad PCB EDA Suite
|
Go to the source code of this file.
Macros | |
#define | IU_TO_MM(x, scale) ( x / scale.IU_PER_MM ) |
#define | IU_TO_IN(x, scale) ( x / scale.IU_PER_MILS / 1000 ) |
#define | IU_TO_MILS(x, scale) ( x / scale.IU_PER_MILS ) |
#define | MM_TO_IU(x, scale) ( x * scale.IU_PER_MM ) |
#define | IN_TO_IU(x, scale) ( x * scale.IU_PER_MILS * 1000 ) |
#define | MILS_TO_IU(x, scale) ( x * scale.IU_PER_MILS ) |
#define IN_TO_IU | ( | x, | |
scale | |||
) | ( x * scale.IU_PER_MILS * 1000 ) |
Definition at line 187 of file eda_units.cpp.
#define IU_TO_IN | ( | x, | |
scale | |||
) | ( x / scale.IU_PER_MILS / 1000 ) |
Definition at line 184 of file eda_units.cpp.
#define IU_TO_MILS | ( | x, | |
scale | |||
) | ( x / scale.IU_PER_MILS ) |
Definition at line 185 of file eda_units.cpp.
#define IU_TO_MM | ( | x, | |
scale | |||
) | ( x / scale.IU_PER_MM ) |
Definition at line 183 of file eda_units.cpp.
#define MILS_TO_IU | ( | x, | |
scale | |||
) | ( x * scale.IU_PER_MILS ) |
Definition at line 188 of file eda_units.cpp.
#define MM_TO_IU | ( | x, | |
scale | |||
) | ( x * scale.IU_PER_MM ) |
Definition at line 186 of file eda_units.cpp.