52 char *
str,
int len_max,
const char *str_prev,
double scale_pref,
int system,
int type);
int BKE_unit_base_of_type_get(int system, int type)
bool BKE_unit_is_valid(int system, int type)
size_t BKE_unit_value_as_string_adaptive(char *str, int len_max, double value, int prec, int system, int type, bool split, bool pad)
const char * BKE_unit_display_name_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)
void BKE_unit_name_to_alt(char *str, int len_max, const char *orig_str, int system, int type)
const char * BKE_unit_identifier_get(const void *usys_pt, int index)
int BKE_unit_base_get(const void *usys_pt)
size_t BKE_unit_value_as_string(char *str, int len_max, double value, int prec, int type, const struct UnitSettings *settings, bool pad)
double BKE_unit_scalar_get(const void *usys_pt, int index)
double BKE_unit_closest_scalar(double value, int system, int type)
bool BKE_unit_replace_string(char *str, int len_max, const char *str_prev, double scale_pref, int system, int type)
double BKE_unit_apply_preferred_unit(const struct 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)
const char * BKE_unit_name_get(const void *usys_pt, int index)
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
int pad[32 - sizeof(int)]
void split(const std::string &s, const char delim, std::vector< std::string > &tokens)