X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Frenderer-factory%2Frenderer-factory.h;h=c6fc45137909b49066d0431a68f4665b1e099438;hp=5d4052bdb2a9af5d19035040334e29645da5d9a3;hb=a2de9cf491172cd5da9dc9ed60b17683dab6d7bc;hpb=4c6d34154c81cf86b4c3662b81e1223f3326ceb5 diff --git a/dali-toolkit/devel-api/controls/renderer-factory/renderer-factory.h b/dali-toolkit/devel-api/controls/renderer-factory/renderer-factory.h index 5d4052b..c6fc451 100644 --- a/dali-toolkit/devel-api/controls/renderer-factory/renderer-factory.h +++ b/dali-toolkit/devel-api/controls/renderer-factory/renderer-factory.h @@ -40,6 +40,8 @@ class RendererFactory; /** * @brief RendererFactory is a singleton object that provides and shares renderers for controls * + * By setting environment variable 'DALI_DEBUG_RENDERING', all concrete renderer is replaced with the debug renderer which renders a quad wireframe. + * * The renderer type is required in the property map for requesting a control renderer. * * | %Property Name | Type | @@ -125,6 +127,16 @@ public: ControlRenderer GetControlRenderer( float borderSize, const Vector4& borderColor ); /** + * @brief Request the control renderer to renderer the border with the given size and color, and specify whether anti-aliasing is needed. + * + * @param[in] borderSize The size of the border. Border size is the same along all edges. + * @param[in] borderColor The color of the border. + * @param[in] antiAliasing Whether anti-aliasing is required for border rendering. + * @return The pointer pointing to the control renderer + */ + ControlRenderer GetControlRenderer( float borderSize, const Vector4& borderColor, bool antiAliasing ); + + /** * @brief Request the control renderer to render the image. * * @param[in] image The image to be rendered.