lv_bidi.h
Enums
Functions
-
void lv_bidi_calculate_align(lv_text_align_t *align, lv_base_dir_t *base_dir, const char *txt)
Get the real text alignment from the a text alignment, base direction and a text.
- 参数:
align -- LV_TEXT_ALIGN_..., write back the calculated align here (LV_TEXT_ALIGN_LEFT/RIGHT/CENTER)
base_dir -- LV_BASE_DIR_..., write the calculated base dir here (LV_BASE_DIR_LTR/RTL)
txt -- a text, used with LV_BASE_DIR_AUTO to determine the base direction
-
void lv_bidi_set_custom_neutrals_static(const char *neutrals)
Set custom neutrals string
- 参数:
neutrals -- default " \t\n\r.,:;'\"`!?%/\-=()[]{}<>#&$|"