Revert "[4.0] (AnimatedVectorImageVisual) Change renderer on stage again"
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / visuals / animated-vector-image / vector-rasterize-thread.h
index 3ac638f..daa8058 100644 (file)
@@ -49,8 +49,11 @@ public:
    * @brief Constructor.
    *
    * @param[in] url The url of the vector animation file
+   * @param[in] renderer The renderer used to render the image
+   * @param[in] width The width of the content
+   * @param[in] height The height of the content
    */
-  VectorRasterizeThread( const std::string& url );
+  VectorRasterizeThread( const std::string& url, Renderer renderer, uint32_t width, uint32_t height );
 
   /**
    * @brief Destructor.
@@ -58,13 +61,6 @@ public:
   virtual ~VectorRasterizeThread();
 
   /**
-   * @brief Sets the renderer used to display the result image.
-   *
-   * @param[in] renderer The renderer used to display the result image
-   */
-  void SetRenderer( Renderer renderer );
-
-  /**
    * @brief Sets the target image size.
    *
    * @param[in] width The target image width