X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fsvg%2Fsvg-visual.h;h=5c606f1320efc5ab013efb495bd35bbe1ef072d9;hb=e8a53a0a591085c6b7470feac4f9cea85cc8ae6e;hp=c005691864e9bcd00e2291a8068414a25865c755;hpb=cef6d2324d9ecca71abf3c9e63db8e371a636b8a;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/visuals/svg/svg-visual.h b/dali-toolkit/internal/visuals/svg/svg-visual.h index c005691..5c606f1 100644 --- a/dali-toolkit/internal/visuals/svg/svg-visual.h +++ b/dali-toolkit/internal/visuals/svg/svg-visual.h @@ -151,19 +151,13 @@ public: /** * @bried Apply the rasterized image to the visual. * - * @param[in] vectorImage The data of vector image. * @param[in] rasterizedPixelData The pixel buffer with the rasterized pixels - * @param[in] bool Whether the resource is loaded + * @param[in] success Whether the task succeeds. */ - void ApplyRasterizedImage(VectorImageRenderer vectorImage, PixelData rasterizedPixelData, bool isLoaded); + void ApplyRasterizedImage(PixelData rasterizedPixelData, bool success); private: /** - * @brief Load the SVG Image from the set URL. - */ - void Load(); - - /** * @bried Rasterize the svg with the given size, and add it to the visual. * * @param[in] size The target size of the SVG rasterization. @@ -191,7 +185,7 @@ private: uint32_t mDefaultWidth; uint32_t mDefaultHeight; WeakHandle mPlacementActor; - Vector2 mVisualSize; + Vector2 mRasterizedSize; bool mLoadFailed; bool mAttemptAtlasing; ///< If true will attempt atlasing, otherwise create unique texture };