[Tizen] Implement partial update
[platform/core/uifw/dali-core.git] / dali / internal / event / actors / actor-impl.h
index 9a27d81..05a22f5 100755 (executable)
@@ -250,6 +250,13 @@ public:
   }
 
   /**
+   * Calculates screen position and size.
+   *
+   * @return pair of two values, position of top-left corner on screen and size respectively.
+   */
+  Rect<> CalculateScreenExtents( ) const;
+
+  /**
    * Sets the size of an actor.
    * This does not interfere with the actors scale factor.
    * @param [in] width  The new width.
@@ -1221,6 +1228,18 @@ public:
   float GetMaximumSize( Dimension::Type dimension ) const;
 
   /**
+   * @brief Sets the update size hint of an actor for partial update.
+   * @param [in] updateSizeHint The new updateSizeHint.
+   */
+  void SetUpdateSizeHint( const Vector2& updateSizeHint );
+
+  /**
+   * @brief Return the update size hint of actor
+   * @return Return the update size hint
+   */
+  Vector2 GetUpdateSizeHint() const;
+
+  /**
    * @copydoc Dali::Actor::AddRenderer()
    */
   uint32_t AddRenderer( Renderer& renderer );