X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fdevel-api%2Fadaptor-framework%2Fcanvas-renderer.h;h=1f3e168cbbacee05cfad23d948ef05359c39557a;hb=da0e60c71a76caf31e235f48eea008766020dbcf;hp=cae69df2195d5a975d1b01b2947a4997428818d6;hpb=5415501282514d38ab0f8ab4cc6c8dfdcab3f951;p=platform%2Fcore%2Fuifw%2Fdali-adaptor.git diff --git a/dali/devel-api/adaptor-framework/canvas-renderer.h b/dali/devel-api/adaptor-framework/canvas-renderer.h index cae69df..1f3e168 100644 --- a/dali/devel-api/adaptor-framework/canvas-renderer.h +++ b/dali/devel-api/adaptor-framework/canvas-renderer.h @@ -85,6 +85,11 @@ public: class Drawable; class Shape; class DrawableGroup; + class Picture; + + class Gradient; + class LinearGradient; + class RadialGradient; public: /** @@ -102,6 +107,20 @@ public: bool AddDrawable(Drawable& drawable); /** + * @brief Remove drawable object to the CanvasView. + * This method is similar to deregistration. Freeing memory is not concerned for drawables being removed. + * @param[in] drawable the drawable object. + * @return Returns True when it's successful. False otherwise. + */ + bool RemoveDrawable(Drawable& drawable); + + /** + * @brief Remove all drawable objects added to the CanvasRenderer. + * @return Returns True when it's successful. False otherwise. + */ + bool RemoveAllDrawables(); + + /** * @brief Returns the PixelBuffer, which is the Render buffer of Canvas. * * @return Returns the pixel buffer. @@ -133,6 +152,19 @@ public: */ const Vector2& GetSize(); + /** + * @brief This is the viewbox of the Canvas. + * @param[in] viewBox The size of viewbox. + * @return Returns True when it's successful. False otherwise. + */ + bool SetViewBox(const Vector2& viewBox); + + /** + * @brief This is the viewbox of the Canvas. + * @return Returns The size of viewbox. + */ + const Vector2& GetViewBox(); + public: // Not intended for application developers /// @cond internal /**