X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-view.h;h=5bf55e1f738768d1b36dcf1e478a954d03b54357;hb=HEAD;hp=893c802ae9fbd1b3f680a35f0cc4b5affceb7347;hpb=427238e530213a54cc5363bc5bed8b401f22531c;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/text-view.h b/dali-toolkit/internal/text/text-view.h index 893c802..b375668 100644 --- a/dali-toolkit/internal/text/text-view.h +++ b/dali-toolkit/internal/text/text-view.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_TEXT_VIEW_H /* - * Copyright (c) 2022 Samsung Electronics Co., Ltd. + * Copyright (c) 2024 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. @@ -18,6 +18,9 @@ * */ +// EXTERNAL INCLUDES +#include + // INTERNAL INCLUDES #include #include @@ -47,6 +50,13 @@ public: virtual ~View(); /** + * @brief Set the font client. + * + * @param[in] fontClient The font client used by the View. + */ + void SetFontClient(TextAbstraction::FontClient& fontClient); + + /** * @brief Set the visual model. * * @param[in] visualModel The visual model used by the View. @@ -187,6 +197,11 @@ public: Length numberOfRuns) const; /** + * @copydoc Dali::Toolkit::Text::ViewInterface::GetOutlineOffset() + */ + const Vector2& GetOutlineOffset() const override; + + /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetOutlineColor() */ const Vector4& GetOutlineColor() const override; @@ -269,16 +284,6 @@ public: virtual const Vector& GetBoundedParagraphRuns() const; /** - * @copydoc Dali::Toolkit::Text::ViewInterface::GetNumberOfCharacterSpacingGlyphRuns() - */ - Length GetNumberOfCharacterSpacingGlyphRuns() const override; - - /** - * @copydoc Dali::Toolkit::Text::ViewInterface::GetCharacterSpacingGlyphRuns() - */ - const Vector& GetCharacterSpacingGlyphRuns() const override; - - /** * @copydoc Dali::Toolkit::Text::ViewInterface::GetCharacterSpacing() */ float GetCharacterSpacing() const override; @@ -293,6 +298,11 @@ public: */ const Vector& GetGlyphsToCharacters() const override; + /** + * @copydoc Dali::Toolkit::Text::ViewInterface::IsCutoutEnabled() + */ + bool IsCutoutEnabled() const override; + private: // Undefined View(const View& handle);