← Back to team overview

kicad-developers team mailing list archive

common.h To_User_Unit


 * Function To_User_Unit
 * Convert in inch or mm the variable "val" (double)given in internal units
 * @return the converted value, in double
 * @param aUnit : user unit to be converted to
 * @param val : double : the given value

 * @param internal_unit_value = internal units per inch
double To_User_Unit( EDA_UNITS_T aUnit, double val, int internal_unit_value );

I've read it 5 times, still don't know what this does, mostly since internal_unit_value is
not documented, and its mere presence is in explicable.

Somebody help please.


Follow ups