Added RenderTask WorldToViewport coordinates
[platform/core/uifw/dali-core.git] / dali / internal / event / common / projection.h
index 3719129..4d562db 100644 (file)
@@ -22,6 +22,8 @@ namespace Dali
 {
 
 struct Vector4;
+struct Vector2;
+
 class Matrix;
 
 namespace Internal
@@ -44,6 +46,15 @@ bool Unproject(const Dali::Vector4& windowPos,
                float viewportHeight,
                Dali::Vector4& objectPos);
 
+bool ProjectFull( const Vector4& position,
+                  const Matrix& modelView,
+                  const Matrix& projection,
+                  float viewportX,
+                  float viewportY,
+                  float viewportWidth,
+                  float viewportHeight,
+                  Vector4& windowPos );
+
 } // namespace Internal
 
 } // namespace Dali