Fix Window Rotation issue
[platform/core/uifw/dali-core.git] / dali / devel-api / actors / camera-actor-devel.h
index eedf33a..b42653c 100644 (file)
@@ -37,6 +37,14 @@ enum
 };
 
 } // Namespace Property
+
+/**
+ * @brief Request to rotate window after MVP matrix is multiplied.
+ * It is used in case that the target buffer orientation is different from the window orientation.
+ * @param [in] camera Dali::CameraActor that will be rotated.
+ * @param [in] rotationAngle The rotation angle (0, 90, 180, and 270. See Dali::WindowOrientation.)
+ */
+DALI_CORE_API void RotateProjection(Dali::CameraActor camera, int32_t rotationAngle);
 } // namespace DevelCameraActor
 } // Namespace Dali