KiCad PCB EDA Suite
eda_units.h File Reference

Go to the source code of this file.

Namespaces

 EDA_UNIT_UTILS
 

Enumerations

enum  EDA_DATA_TYPE { EDA_DATA_TYPE::DISTANCE = 0, EDA_DATA_TYPE::AREA = 1, EDA_DATA_TYPE::VOLUME = 2 }
 The type of unit. More...
 
enum  EDA_UNITS {
  EDA_UNITS::INCHES = 0, EDA_UNITS::MILLIMETRES = 1, EDA_UNITS::UNSCALED = 2, EDA_UNITS::DEGREES = 3,
  EDA_UNITS::PERCENT = 4, EDA_UNITS::MILS = 5
}
 

Functions

bool EDA_UNIT_UTILS::IsImperialUnit (EDA_UNITS aUnit)
 
bool EDA_UNIT_UTILS::IsMetricUnit (EDA_UNITS aUnit)
 

Enumeration Type Documentation

◆ EDA_DATA_TYPE

enum EDA_DATA_TYPE
strong

The type of unit.

Enumerator
DISTANCE 
AREA 
VOLUME 

Definition at line 31 of file eda_units.h.

32 {
33  DISTANCE = 0,
34  AREA = 1,
35  VOLUME = 2
36 };
Display value expressed in distance units (mm/inch)
Definition: property.h:49

◆ EDA_UNITS

enum EDA_UNITS
strong
Enumerator
INCHES 
MILLIMETRES 
UNSCALED 
DEGREES 
PERCENT 
MILS 

Definition at line 38 of file eda_units.h.