KiCad PCB EDA Suite
Loading...
Searching...
No Matches
text_eval_units Namespace Reference

Classes

class  UnitRegistry
 Unit registry that provides centralized unit string mapping and conversion. More...
 

Enumerations

enum class  Unit {
  PS_PER_MM , PS_PER_CM , PS_PER_IN , THOU ,
  DEG , MM , CM , INCH ,
  MIL , UM , PS , FS ,
  INCH_QUOTE , DEGREE_SYMBOL , INVALID
}
 Enumeration of all supported units in the text evaluation system. More...
 

Enumeration Type Documentation

◆ Unit

enum class text_eval_units::Unit
strong

Enumeration of all supported units in the text evaluation system.

This enum defines all units that can be parsed and converted by the text evaluator. The order matters for parsing - longer unit strings should come first to ensure proper matching (e.g., "ps/mm" before "ps", "thou" before "th").

Enumerator
PS_PER_MM 
PS_PER_CM 
PS_PER_IN 
THOU 
DEG 
MM 
CM 
INCH 
MIL 
UM 
PS 
FS 
INCH_QUOTE 
DEGREE_SYMBOL 
INVALID 

Definition at line 40 of file text_eval_units.h.