Remove the wearable definition in Makefile.am
[platform/core/uifw/dali-adaptor.git] / adaptors / emscripten / wrappers / render-task-wrapper.h
1 #ifndef __DALI_RENDER_TASK_WRAPPER_H__
2 #define __DALI_RENDER_TASK_WRAPPER_H__
3
4 /*
5  * Copyright (c) 2015 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20
21 // EXTERNAL INCLUDES
22 #include <dali/public-api/dali-core.h>
23 #include "emscripten/emscripten.h"
24 #include "emscripten/bind.h"
25
26 // INTERNAL INCLUDES
27 #include "actor-wrapper.h"
28
29 namespace Dali
30 {
31 namespace Internal
32 {
33 namespace Emscripten
34 {
35
36 /**
37  * Gets the local coordinates from the screen coordinates
38  *
39  * @param[in] self The render task
40  * @param[in] actor The Dali actor
41  * @param[in] screenX The screen X position
42  * @param[in] screenY The screen Y position
43  *
44  * @returns The Local coordinates
45  *
46  */
47 Dali::Vector2 ScreenToLocal(Dali::RenderTask self, Dali::Actor actor, float screenX, float screenY);
48
49 /**
50  * Gets the screen coordinates from a position
51  *
52  * @param[in] self The RenderTask
53  * @param[in] position The position
54  *
55  * @returns The screen coordinates of the actor
56  *
57  */
58 Dali::Vector2 WorldToScreen(Dali::RenderTask self, const Dali::Vector3 &position);
59
60 }; // namespace Emscripten
61 }; // namespace Internal
62 }; // namespace Dali
63
64 #endif // header