X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Frendering%2Ftext-renderer.h;h=06781b83df23ca1c1b3ff0cd01a5db7134640198;hb=d28ad2aef295b9654b1060fb286ff0463093d121;hp=3485f1609c65e618d041ef25f922383b67485dc4;hpb=56d412791a44c2a79135d2293c13fddb135c9d54;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/text/rendering/text-renderer.h b/dali-toolkit/internal/text/rendering/text-renderer.h index 3485f16..06781b8 100644 --- a/dali-toolkit/internal/text/rendering/text-renderer.h +++ b/dali-toolkit/internal/text/rendering/text-renderer.h @@ -19,13 +19,10 @@ */ // EXTERNAL INCLUDES -#include +#include #include #include -// INTERNAL INCLUDES -#include - namespace Dali { @@ -38,11 +35,13 @@ namespace Text class Renderer; typedef IntrusivePtr RendererPtr; +class ViewInterface; + /** * @brief Abstract base class for Text renderers. * * This is reponsible for rendering the glyphs from a ViewInterface in the specified positions. - * It is implemented by returning a RenderableActor intended as the child of a UI control. + * It is implemented by returning an Actor intended as the child of a UI control. */ class Renderer : public RefObject { @@ -52,9 +51,13 @@ public: * @brief Render the glyphs from a ViewInterface. * * @param[in] view The interface to a view. + * @param[out] alignmentOffset Offset used to internally align the placement actor. + * @param[in] depth The depth in the tree of the parent. * @return The Renderable actor used to position the text. */ - virtual RenderableActor Render( ViewInterface& view ) = 0; + virtual Actor Render( ViewInterface& view, + float& alignmentOffset, + int depth ) = 0; protected: