X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fcanvas-view%2Fcanvas-view-impl.h;h=92110f06b39e54598d10d6ac4ac82021971a911c;hp=ffc204edbd649c64fe25357e8ef0f60508205ead;hb=5dc73d3884a562e86f4a30999d3af9c37ace925a;hpb=d3e4ed352b1b3436394c7a218a961487b7ee00fa diff --git a/dali-toolkit/internal/controls/canvas-view/canvas-view-impl.h b/dali-toolkit/internal/controls/canvas-view/canvas-view-impl.h index ffc204e..92110f0 100644 --- a/dali-toolkit/internal/controls/canvas-view/canvas-view-impl.h +++ b/dali-toolkit/internal/controls/canvas-view/canvas-view-impl.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_INTERNAL_CANVAS_VIEW_H /* - * Copyright (c) 2021 Samsung Electronics Co., Ltd. + * Copyright (c) 2022 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. @@ -19,9 +19,9 @@ */ // EXTERNAL INCLUDES -#include -#include -#include +#include +#include +#include #include #include @@ -79,6 +79,16 @@ public: */ static Property::Value GetProperty(BaseObject* object, Property::Index propertyIndex); + /** + * @copydoc Toolkit::Control::CanvasView::RemoveDrawable + */ + bool RemoveDrawable(Dali::CanvasRenderer::Drawable& drawable); + + /** + * @copydoc Toolkit::Control::CanvasView::RemoveAllDrawables + */ + bool RemoveAllDrawables(); + private: // From Control /** * @copydoc Control::OnRelayout @@ -125,9 +135,9 @@ public: /** * @bried Apply the rasterized image to the canvas view * - * @param[in] rasterizedPixelData The pixel buffer with the rasterized pixels + * @param[in] rasterizedTexture The texture with the rasterized pixels */ - void ApplyRasterizedImage(PixelData rasterizedPixelData); + void ApplyRasterizedImage(Texture rasterizedTexture); private: CanvasView(const CanvasView&) = delete;