-#ifndef __DALI_TOOLKIT_TEXT_SCRIPT_RUN_H__
-#define __DALI_TOOLKIT_TEXT_SCRIPT_RUN_H__
+#ifndef DALI_TOOLKIT_TEXT_SCRIPT_RUN_H
+#define DALI_TOOLKIT_TEXT_SCRIPT_RUN_H
/*
- * Copyright (c) 2015 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2021 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
namespace Dali
{
-
namespace Toolkit
{
-
namespace Text
{
-
/**
* @brief Run of characters with the same script.
*/
struct ScriptRun
{
- CharacterRun characterRun; ///< The initial character index and the number of characters of the run.
- Script script; ///< Script of the run.
+ CharacterRun characterRun; ///< The initial character index and the number of characters of the run.
+ Script script; ///< Script of the run.
+ bool isRightToLeft; ///< Whether is right to left direction
};
} // namespace Text
} // namespace Dali
-#endif // __DALI_TOOLKIT_TEXT_SCRIPT_RUN_H__
+#endif // DALI_TOOLKIT_TEXT_SCRIPT_RUN_H