[Tizen] Implement partial update
[platform/core/uifw/dali-core.git] / dali / devel-api / actors / actor-devel.h
index 2d11f0c..915ac2d 100755 (executable)
@@ -20,6 +20,7 @@
 
 // INTERNAL INCLUDES
 #include <dali/public-api/actors/actor.h>
+#include <dali/public-api/math/rect.h>
 
 namespace Dali
 {
@@ -132,6 +133,8 @@ enum Type
    * @brief Sets the update size hint of the actor.
    * @details Name "updateSizeHint", type Property::VECTOR2.
    * @note When this value is set, the update area is determined by this value when a partial update.
+   *       By default, render item size is used for partial update.
+   *       It is scaled but not animated.
    */
   UPDATE_SIZE_HINT = INHERIT_LAYOUT_DIRECTION + 6,
 };
@@ -167,6 +170,14 @@ typedef Signal< void ( Actor, bool, VisibilityChange::Type ) > VisibilityChanged
  */
 DALI_CORE_API VisibilityChangedSignalType& VisibilityChangedSignal( Actor actor );
 
+/**
+ * Calculates screen position and size.
+ *
+ * @return pair of two values, position of top-left corner on screen and size respectively.
+ */
+DALI_CORE_API Rect<> CalculateScreenExtents( Actor actor );
+
+
 
 typedef Signal< void (Actor) > ChildChangedSignalType; ///< Called when the actor has a child added or removed