2003 inline text_direction get_text_direction(
const i_emoji_atlas& aEmojiAtlas,
const char32_t* aCodePoint,
const char32_t* aCodePointEnd, std::optional<text_direction> aLineDirection = std::nullopt, std::optional<text_direction> aCurrentDirection = std::nullopt)
2005 if (aCodePoint != aCodePointEnd)
2007 if (*aCodePoint != U
'\r' && *aCodePoint != U
'\n' && aLineDirection && aLineDirection.value() ==
text_direction::RTL)
2009 auto nextCodePoint = aCodePoint;
2010 while (nextCodePoint != aCodePointEnd)
text_direction get_text_direction(const i_emoji_atlas &aEmojiAtlas, const char32_t *aCodePoint, const char32_t *aCodePointEnd, std::optional< text_direction > aLineDirection=std::nullopt, std::optional< text_direction > aCurrentDirection=std::nullopt)