X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Frendering%2Fatlas%2Ftext-atlas-renderer.h;h=678e4584f048b98d2933c40049709f96a6ed0f94;hb=b5fd9045b672b657db6f6647ed57d0380d29a6aa;hp=a6ae4b6e5dc51e7e7229889e1a0f6c67ef4ef734;hpb=b766a879a8f8b55a7017847894a2f1bc7edd83d8;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/rendering/atlas/text-atlas-renderer.h b/dali-toolkit/internal/text/rendering/atlas/text-atlas-renderer.h index a6ae4b6..678e458 100644 --- a/dali-toolkit/internal/text/rendering/atlas/text-atlas-renderer.h +++ b/dali-toolkit/internal/text/rendering/atlas/text-atlas-renderer.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_TEXT_ATLAS_RENDERER_H__ -#define __DALI_TOOLKIT_TEXT_ATLAS_RENDERER_H__ +#ifndef DALI_TOOLKIT_TEXT_ATLAS_RENDERER_H +#define DALI_TOOLKIT_TEXT_ATLAS_RENDERER_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. @@ -23,13 +23,10 @@ namespace Dali { - namespace Toolkit { - namespace Text { - /** * @brief Implementation of a text renderer based on dynamic atlases. * @@ -37,23 +34,21 @@ namespace Text class AtlasRenderer : public Renderer { public: - /** * @brief Create the renderer. */ static RendererPtr New(); /** - * @brief Render the glyphs from a ViewInterface. - * - * @param[in] view The interface to a view. - * @param[in] depth The depth in the tree of the parent. - * @return The Renderable actor used to position the text. + * @copydoc Renderer::Render() */ - virtual Actor Render( ViewInterface& view, int depth ); + virtual Actor Render(ViewInterface& view, + Actor textControl, + Property::Index animatablePropertyIndex, + float& alignmentOffset, + int depth); protected: - /** * @brief Constructor. */ @@ -65,15 +60,13 @@ protected: virtual ~AtlasRenderer(); private: - // Undefined - AtlasRenderer( const AtlasRenderer& handle ); + AtlasRenderer(const AtlasRenderer& handle); // Undefined - AtlasRenderer& operator=( const AtlasRenderer& handle ); + AtlasRenderer& operator=(const AtlasRenderer& handle); private: - struct Impl; Impl* mImpl; }; @@ -84,4 +77,4 @@ private: } // namespace Dali -#endif // __DALI_TOOLKIT_TEXT_ATLAS_RENDERER_H__ +#endif // DALI_TOOLKIT_TEXT_ATLAS_RENDERER_H