X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Frendering%2Fview-model.h;h=4de580d1e584b76c7bca366ba8d31b9fb81c899c;hb=HEAD;hp=e68e7c63ccef1a0ba69c918dff210cccdd2125b6;hpb=0801dbcf061d67f317bae129fa8a9013f43a8127;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/rendering/view-model.h b/dali-toolkit/internal/text/rendering/view-model.h index e68e7c6..dc7363d 100644 --- a/dali-toolkit/internal/text/rendering/view-model.h +++ b/dali-toolkit/internal/text/rendering/view-model.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_TEXT_VIEW_MODEL_H /* - * Copyright (c) 2022 Samsung Electronics Co., Ltd. + * Copyright (c) 2023 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. @@ -117,6 +117,11 @@ public: const ScriptRun* GetScriptRuns() const override; /** + * @copydoc ModelInterface::GetNumberOfCharacters() + */ + Length GetNumberOfCharacters() const override; + + /** * @copydoc ModelInterface::GetNumberOfGlyphs() */ Length GetNumberOfGlyphs() const override; @@ -242,6 +247,11 @@ public: void GetUnderlineRuns(UnderlinedGlyphRun* underlineRuns, UnderlineRunIndex index, Length numberOfRuns) const override; /** + * @copydoc ModelInterface::GetOutlineOffset() + */ + const Vector2& GetOutlineOffset() const override; + + /** * @copydoc ModelInterface::GetOutlineColor() */ const Vector4& GetOutlineColor() const override; @@ -252,6 +262,11 @@ public: uint16_t GetOutlineWidth() const override; /** + * @copydoc ModelInterface::GetOutlineBlurRadius() + */ + const float& GetOutlineBlurRadius() const override; + + /** * @copydoc ModelInterface::GetBackgroundColor() */ const Vector4& GetBackgroundColor() const override; @@ -373,6 +388,31 @@ public: */ const Vector& GetFontDescriptionRuns() const override; + /** + * @copydoc ModelInterface::IsRemoveFrontInset() + */ + bool IsRemoveFrontInset() const override; + + /** + * @copydoc ModelInterface::IsRemoveBackInset() + */ + bool IsRemoveBackInset() const override; + + /** + * @copydoc ModelInterface::IsCutoutEnabled() + */ + bool IsCutoutEnabled() const override; + + /** + * @copydoc ModelInterface::IsBackgroundWithCutoutEnabled() + */ + const bool IsBackgroundWithCutoutEnabled() const override; + + /** + * @copydoc ModelInterface::GetBackgroundColorWithCutout() + */ + const Vector4& GetBackgroundColorWithCutout() const override; + private: const ModelInterface* const mModel; ///< Pointer to the text's model. Vector mElidedGlyphs; ///< Stores the glyphs of the elided text.