-#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.
// INTERNAL INCLUDES
#include <dali-toolkit/internal/text/rendering/text-renderer.h>
-#include <dali-toolkit/internal/text/text-definitions.h>
namespace Dali
{
-
namespace Toolkit
{
-
namespace Text
{
-
/**
* @brief Implementation of a text renderer based on dynamic atlases.
*
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.
*/
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;
};
} // namespace Dali
-#endif // __DALI_TOOLKIT_TEXT_ATLAS_RENDERER_H__
+#endif // DALI_TOOLKIT_TEXT_ATLAS_RENDERER_H