// EXTERNAL INCLUDES
#include <dali/public-api/object/base-handle.h>
+#include <dali/public-api/rendering/texture.h>
// INTERNAL INCLUDES
-#include <dali/devel-api/adaptor-framework/pixel-buffer.h>
#include <dali/public-api/dali-adaptor-common.h>
namespace Dali
bool RemoveAllDrawables();
/**
- * @brief Returns the PixelBuffer, which is the Render buffer of Canvas.
+ * @brief Returns the rasterized texture.
*
- * @return Returns the pixel buffer.
+ * @return Returns the texture.
*/
- Devel::PixelBuffer GetPixelBuffer();
+ Dali::Texture GetRasterizedTexture();
/**
* @brief Draw drawables added to CanvasRenderer to inner buffer.
* @param[in] size The size of canvas buffer.
* @return Returns True when it's successful. False otherwise.
*/
- bool SetSize(const Vector2& size);
+ bool SetSize(Vector2 size);
/**
* @brief This is the size of the Buffer in the Canvas.
* @return Returns The size of canvas buffer.
*/
- const Vector2& GetSize();
+ Vector2 GetSize() const;
/**
* @brief This is the viewbox of the Canvas.