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=e259621e7ae5c89664028d613d210e8d066e5256;hpb=7aa9e3d716396348b89c913b306bbc1ce201db69;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 e259621..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. @@ -20,17 +20,13 @@ // INTERNAL INCLUDES #include -#include namespace Dali { - namespace Toolkit { - namespace Text { - /** * @brief Implementation of a text renderer based on dynamic atlases. * @@ -38,22 +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. - * @return The Renderable actor used to position the text. + * @copydoc Renderer::Render() */ - virtual RenderableActor Render( ViewInterface& view ); + 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