lv_bidi.h
Defines
-
LV_BIDI_LRO
Special non printable strong characters. They can be inserted to texts to affect the run's direction
-
LV_BIDI_RLO
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.
- Parameters:
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
- Parameters:
neutrals – default " \t\n\r.,:;'"`!?%/-=()[]{}<>#&$|"