X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fsvg%2Fsvg-visual.h;h=9dd680766f8eb7cfa4c8d6da60ed9a18339692fb;hb=4764ce1dc9edc7c08766e356c839278204369d73;hp=2f49e16e4fc05f1a709c1946c2a92d6df3909ca8;hpb=88af55c0bf70653347b6918a83bc9a9ee5972e24;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 2f49e16..9dd6807 100644 --- a/dali-toolkit/internal/visuals/svg/svg-visual.h +++ b/dali-toolkit/internal/visuals/svg/svg-visual.h @@ -92,6 +92,11 @@ public: // from Visual */ void DoCreateInstancePropertyMap(Property::Map& map) const override; + /** + * @copydoc Visual::Base::EnablePreMultipliedAlpha + */ + void EnablePreMultipliedAlpha(bool preMultiplied) override; + protected: /** * @brief Constructor. @@ -146,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 */ - void ApplyRasterizedImage(VectorImageRenderer vectorImage, PixelData rasterizedPixelData, bool isLoaded); + void ApplyRasterizedImage(PixelData rasterizedPixelData, bool isLoaded); 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. @@ -186,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 };