X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Flayouts%2Flayout-engine.h;h=6b78e87e1afe178303eb3425c07b997fe704cc19;hp=e11c5497744edfc78a5a870e813920c5cc225739;hb=a4a06c5a4c6c02861972d1ea9029c64d60bed192;hpb=fbaeb9a3aa4f64ede6278e49f160e89561f56750 diff --git a/dali-toolkit/internal/text/layouts/layout-engine.h b/dali-toolkit/internal/text/layouts/layout-engine.h index e11c549..6b78e87 100644 --- a/dali-toolkit/internal/text/layouts/layout-engine.h +++ b/dali-toolkit/internal/text/layouts/layout-engine.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_TEXT_LAYOUT_ENGINE_H /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2022 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. @@ -166,6 +166,20 @@ public: */ float GetDefaultLineSize() const; + /** + * @brief Sets relative line size to the original line size. + * + * @param[in] relativeLineSize The relative line size. + */ + void SetRelativeLineSize(float relativeLineSize); + + /** + * @brief Retrieves the relative line size. + * + * @return The relative line size. + */ + float GetRelativeLineSize() const; + private: // Undefined Engine(const Engine& handle);