58 char *
str,
int str_maxncpy,
const char *str_prev,
double scale_pref,
int system,
int type);
void BKE_unit_name_to_alt(char *str, int str_maxncpy, const char *orig_str, int system, int type)
int BKE_unit_base_of_type_get(int system, int type)
bool BKE_unit_is_valid(int system, int type)
const char * BKE_unit_identifier_get(const void *usys_pt, int index)
bool BKE_unit_is_suppressed(const void *usys_pt, int index)
void BKE_unit_system_get(int system, int type, const void **r_usys_pt, int *r_len)
const char * BKE_unit_display_name_get(const void *usys_pt, int index)
@ B_UNIT_COLOR_TEMPERATURE
const char * BKE_unit_name_get(const void *usys_pt, int index)
int BKE_unit_base_get(const void *usys_pt)
bool BKE_unit_replace_string(char *str, int str_maxncpy, const char *str_prev, double scale_pref, int system, int type)
double BKE_unit_scalar_get(const void *usys_pt, int index)
double BKE_unit_closest_scalar(double value, int system, int type)
size_t BKE_unit_value_as_string(char *str, int str_maxncpy, double value, int prec, int type, const UnitSettings *settings, bool pad)
double BKE_unit_apply_preferred_unit(const UnitSettings *settings, int type, double value)
double BKE_unit_base_scalar(int system, int type)
bool BKE_unit_string_contains_unit(const char *str, int type)
size_t BKE_unit_value_as_string_adaptive(char *str, int str_maxncpy, double value, int prec, int system, int type, bool split, bool pad)
int pad[32 - sizeof(int)]