summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas')
-rw-r--r--src/lib/evas/canvas/evas_canvas3d_camera.eo3
-rw-r--r--src/lib/evas/canvas/evas_canvas3d_light.eo2
-rw-r--r--src/lib/evas/canvas/evas_canvas3d_material.eo1
-rw-r--r--src/lib/evas/canvas/evas_canvas3d_mesh.eo23
-rw-r--r--src/lib/evas/canvas/evas_canvas3d_node.eo3
-rw-r--r--src/lib/evas/canvas/evas_canvas3d_primitive.eo7
-rw-r--r--src/lib/evas/canvas/evas_canvas3d_scene.eo16
-rw-r--r--src/lib/evas/canvas/evas_canvas3d_texture.eo4
8 files changed, 33 insertions, 26 deletions
diff --git a/src/lib/evas/canvas/evas_canvas3d_camera.eo b/src/lib/evas/canvas/evas_canvas3d_camera.eo
index 1950549254..7ed400f015 100644
--- a/src/lib/evas/canvas/evas_canvas3d_camera.eo
+++ b/src/lib/evas/canvas/evas_canvas3d_camera.eo
@@ -2,6 +2,7 @@ import evas_types;
2 2
3class Evas.Canvas3D.Camera (Evas.Canvas3D.Object) 3class Evas.Canvas3D.Camera (Evas.Canvas3D.Object)
4{ 4{
5 [[Evas 3D canvas camera class]]
5 data: Evas_Canvas3D_Camera_Data; 6 data: Evas_Canvas3D_Camera_Data;
6 methods { 7 methods {
7 projection_matrix_set { 8 projection_matrix_set {
@@ -71,7 +72,7 @@ class Evas.Canvas3D.Camera (Evas.Canvas3D.Object)
71 params { 72 params {
72 @in camera_node: Evas.Canvas3D.Node; [[The given camera node.]] 73 @in camera_node: Evas.Canvas3D.Node; [[The given camera node.]]
73 @in node: Evas.Canvas3D.Node; [[The given node.]] 74 @in node: Evas.Canvas3D.Node; [[The given node.]]
74 @in key: Evas.Canvas3D.Frustum_Mode; 75 @in key: Evas.Canvas3D.Frustum_Mode; [[The given key]]
75 } 76 }
76 } 77 }
77 } 78 }
diff --git a/src/lib/evas/canvas/evas_canvas3d_light.eo b/src/lib/evas/canvas/evas_canvas3d_light.eo
index cb4780503e..ecd5770c2f 100644
--- a/src/lib/evas/canvas/evas_canvas3d_light.eo
+++ b/src/lib/evas/canvas/evas_canvas3d_light.eo
@@ -2,6 +2,8 @@ import evas_types;
2 2
3class Evas.Canvas3D.Light (Evas.Canvas3D.Object) 3class Evas.Canvas3D.Light (Evas.Canvas3D.Object)
4{ 4{
5 [[Evas 3D canvas light class]]
6
5 data: Evas_Canvas3D_Light_Data; 7 data: Evas_Canvas3D_Light_Data;
6 8
7 methods { 9 methods {
diff --git a/src/lib/evas/canvas/evas_canvas3d_material.eo b/src/lib/evas/canvas/evas_canvas3d_material.eo
index 68cd4927a2..b2d209099d 100644
--- a/src/lib/evas/canvas/evas_canvas3d_material.eo
+++ b/src/lib/evas/canvas/evas_canvas3d_material.eo
@@ -1,5 +1,6 @@
1class Evas.Canvas3D.Material (Evas.Canvas3D.Object) 1class Evas.Canvas3D.Material (Evas.Canvas3D.Object)
2{ 2{
3 [[Evas 3D canvas material class]]
3 data: Evas_Canvas3D_Material_Data; 4 data: Evas_Canvas3D_Material_Data;
4 methods { 5 methods {
5 color_set { 6 color_set {
diff --git a/src/lib/evas/canvas/evas_canvas3d_mesh.eo b/src/lib/evas/canvas/evas_canvas3d_mesh.eo
index 957b795be0..fd4d9b6021 100644
--- a/src/lib/evas/canvas/evas_canvas3d_mesh.eo
+++ b/src/lib/evas/canvas/evas_canvas3d_mesh.eo
@@ -3,6 +3,7 @@ import evas_types;
3 3
4class Evas.Canvas3D.Mesh (Evas.Canvas3D.Object, Efl.File) 4class Evas.Canvas3D.Mesh (Evas.Canvas3D.Object, Efl.File)
5{ 5{
6 [[Evas 3D canvas mesh class]]
6 data: Evas_Canvas3D_Mesh_Data; 7 data: Evas_Canvas3D_Mesh_Data;
7 8
8 methods { 9 methods {
@@ -104,8 +105,8 @@ class Evas.Canvas3D.Mesh (Evas.Canvas3D.Object, Efl.File)
104 ]] 105 ]]
105 params { 106 params {
106 @in frame: int; [[ The number of the key frame.]] 107 @in frame: int; [[ The number of the key frame.]]
107 @in vertex: ptr(Eina.Inarray); 108 @in vertex: ptr(Eina.Inarray); [[Vertex data pointer]]
108 @in index: ptr(Eina.Inarray); 109 @in index: ptr(Eina.Inarray); [[Index data pointer]]
109 } 110 }
110 } 111 }
111 112
@@ -166,11 +167,11 @@ class Evas.Canvas3D.Mesh (Evas.Canvas3D.Object, Efl.File)
166 } 167 }
167 168
168 frame_exist { 169 frame_exist {
169 [[Returns EINA_TRUE if frame was added and EINA_FALSE in other case.]] 170 [[Returns $true if frame was added and $false in other case.]]
170 params { 171 params {
171 @in frame: int; [[Frame number.]] 172 @in frame: int; [[Frame number.]]
172 } 173 }
173 return: bool; 174 return: bool; [[$true ifr frame was added, $false otherwise]]
174 } 175 }
175 176
176 frame_add { 177 frame_add {
@@ -222,10 +223,10 @@ class Evas.Canvas3D.Mesh (Evas.Canvas3D.Object, Efl.File)
222 } 223 }
223 } 224 }
224 blending_func_get { 225 blending_func_get {
225 [[Get blending blending function for given mesh.]] 226 [[Get blending function for given mesh.]]
226 params { 227 params {
227 @out sfactor: Evas.Canvas3D.Blend_Func; [[Pointer to receive source blendin factors key.]] 228 @out sfactor: Evas.Canvas3D.Blend_Func; [[Pointer to receive source blending factors key.]]
228 @out dfactor: Evas.Canvas3D.Blend_Func; [[Pointer to receive destination blendin factors key.]] 229 @out dfactor: Evas.Canvas3D.Blend_Func; [[Pointer to receive destination blending factors key.]]
229 } 230 }
230 } 231 }
231 from_primitive_set { 232 from_primitive_set {
@@ -251,13 +252,13 @@ class Evas.Canvas3D.Mesh (Evas.Canvas3D.Object, Efl.File)
251 } 252 }
252 @property color_pick_enable { 253 @property color_pick_enable {
253 set { 254 set {
254 [[Set posibility color picking.]] 255 [[Set possibility color picking.]]
255 } 256 }
256 get { 257 get {
257 [[Get status of color picking of the mesh.]] 258 [[Get status of color picking of the mesh.]]
258 } 259 }
259 values { 260 values {
260 enabled: bool; [[Posibility flag.]] 261 enabled: bool; [[Possibility flag.]]
261 } 262 }
262 } 263 }
263 @property vertex_count { 264 @property vertex_count {
@@ -414,8 +415,8 @@ class Evas.Canvas3D.Mesh (Evas.Canvas3D.Object, Efl.File)
414 See also @Evas.Canvas3D.Mesh.lod_boundary.set.]] 415 See also @Evas.Canvas3D.Mesh.lod_boundary.set.]]
415 } 416 }
416 values { 417 values {
417 near_lod: Evas.Real; [[up boundary]] 418 near_lod: Evas.Real; [[Up boundary]]
418 far_lod: Evas.Real; [[down boundary]] 419 far_lod: Evas.Real; [[Down boundary]]
419 } 420 }
420 } 421 }
421 } 422 }
diff --git a/src/lib/evas/canvas/evas_canvas3d_node.eo b/src/lib/evas/canvas/evas_canvas3d_node.eo
index 541d97a6d1..0b361e4174 100644
--- a/src/lib/evas/canvas/evas_canvas3d_node.eo
+++ b/src/lib/evas/canvas/evas_canvas3d_node.eo
@@ -2,13 +2,14 @@ import evas_types;
2 2
3class Evas.Canvas3D.Node (Evas.Canvas3D.Object) 3class Evas.Canvas3D.Node (Evas.Canvas3D.Object)
4{ 4{
5 [[Evas 3D canvas node class]]
5 data: Evas_Canvas3D_Node_Data; 6 data: Evas_Canvas3D_Node_Data;
6 methods { 7 methods {
7 constructor { 8 constructor {
8 [[Constructor.]] 9 [[Constructor.]]
9 legacy: null; 10 legacy: null;
10 params { 11 params {
11 @in type: Evas.Canvas3D.Node_Type; 12 @in type: Evas.Canvas3D.Node_Type; [[Node type]]
12 } 13 }
13 } 14 }
14 type_get @const { 15 type_get @const {
diff --git a/src/lib/evas/canvas/evas_canvas3d_primitive.eo b/src/lib/evas/canvas/evas_canvas3d_primitive.eo
index 97134c7b29..f7f86112d3 100644
--- a/src/lib/evas/canvas/evas_canvas3d_primitive.eo
+++ b/src/lib/evas/canvas/evas_canvas3d_primitive.eo
@@ -2,6 +2,7 @@ import evas_types;
2 2
3class Evas.Canvas3D.Primitive (Evas.Canvas3D.Object) 3class Evas.Canvas3D.Primitive (Evas.Canvas3D.Object)
4{ 4{
5 [[Evas 3D canvas primitive class]]
5 data: Evas_Canvas3D_Primitive_Data; 6 data: Evas_Canvas3D_Primitive_Data;
6 7
7 methods { 8 methods {
@@ -116,7 +117,7 @@ class Evas.Canvas3D.Primitive (Evas.Canvas3D.Object)
116 [[Set the texture scale of the given primitive. 117 [[Set the texture scale of the given primitive.
117 118
118 Texture scale uses in all non tabulated primitives 119 Texture scale uses in all non tabulated primitives
119 and defines scale of texture coords or primitives. 120 and defines scale of texture coordinates or primitives.
120 121
121 It uses to create periodical textured meshes. 122 It uses to create periodical textured meshes.
122 123
@@ -128,8 +129,8 @@ class Evas.Canvas3D.Primitive (Evas.Canvas3D.Object)
128 See also @.tex_scale.set.]] 129 See also @.tex_scale.set.]]
129 } 130 }
130 values { 131 values {
131 tex_scale_x: Evas.Real; 132 tex_scale_x: Evas.Real; [[Texture scale X coordinate]]
132 tex_scale_y: Evas.Real; 133 tex_scale_y: Evas.Real; [[Texture scale Y coordinate]]
133 } 134 }
134 } 135 }
135 } 136 }
diff --git a/src/lib/evas/canvas/evas_canvas3d_scene.eo b/src/lib/evas/canvas/evas_canvas3d_scene.eo
index 1bc01f2fed..6323f6d069 100644
--- a/src/lib/evas/canvas/evas_canvas3d_scene.eo
+++ b/src/lib/evas/canvas/evas_canvas3d_scene.eo
@@ -2,6 +2,7 @@ import evas_types;
2 2
3class Evas.Canvas3D.Scene (Evas.Canvas3D.Object) 3class Evas.Canvas3D.Scene (Evas.Canvas3D.Object)
4{ 4{
5 [[Efl 3D canvas scene class]]
5 data: Evas_Canvas3D_Scene_Data; 6 data: Evas_Canvas3D_Scene_Data;
6 methods { 7 methods {
7 size_set { 8 size_set {
@@ -62,7 +63,7 @@ class Evas.Canvas3D.Scene (Evas.Canvas3D.Object)
62 the size of the scene. The texture coordinate is useful when 63 the size of the scene. The texture coordinate is useful when
63 using proxy texture source. 64 using proxy texture source.
64 ]] 65 ]]
65 return: bool; 66 return: bool; [[$true on success, $false otherwise]]
66 params { 67 params {
67 @in x: Evas.Real; [[X coordinate of the picking position.]] 68 @in x: Evas.Real; [[X coordinate of the picking position.]]
68 @in y: Evas.Real; [[Y coordinate of the picking position.]] 69 @in y: Evas.Real; [[Y coordinate of the picking position.]]
@@ -75,7 +76,7 @@ class Evas.Canvas3D.Scene (Evas.Canvas3D.Object)
75 76
76 exist @const { 77 exist @const {
77 [[Search given node in the given position.]] 78 [[Search given node in the given position.]]
78 return: Evas.Canvas3D.Node; 79 return: Evas.Canvas3D.Node; [[Node at the given position]]
79 params { 80 params {
80 @in x: Evas.Real; [[X coordinate of the picking position.]] 81 @in x: Evas.Real; [[X coordinate of the picking position.]]
81 @in y: Evas.Real; [[Y coordinate of the picking position.]] 82 @in y: Evas.Real; [[Y coordinate of the picking position.]]
@@ -85,7 +86,7 @@ class Evas.Canvas3D.Scene (Evas.Canvas3D.Object)
85 86
86 pick_member_list_get @const { 87 pick_member_list_get @const {
87 [[Get list of the all root members from scene in the given position.]] 88 [[Get list of the all root members from scene in the given position.]]
88 return: list<Evas.Canvas3D.Node>; 89 return: list<Evas.Canvas3D.Node>; [[List of all root members from scene]]
89 params { 90 params {
90 @in x: Evas.Real; [[X coordinate of the picking position.]] 91 @in x: Evas.Real; [[X coordinate of the picking position.]]
91 @in y: Evas.Real; [[Y coordinate of the picking position.]] 92 @in y: Evas.Real; [[Y coordinate of the picking position.]]
@@ -109,13 +110,13 @@ class Evas.Canvas3D.Scene (Evas.Canvas3D.Object)
109 } 110 }
110 color_pick_enable_get @const { 111 color_pick_enable_get @const {
111 [[Get status of color picking of the scene.]] 112 [[Get status of color picking of the scene.]]
112 return: bool; 113 return: bool; [[The pick enabled status]]
113 } 114 }
114 color_pick_enable_set { 115 color_pick_enable_set {
115 [[Set posibility color picking.]] 116 [[Set possibility color picking.]]
116 return: bool; 117 return: bool; [[$true on success, $false otherwise]]
117 params { 118 params {
118 @in color_pick: bool; [[Posibility flag]] 119 @in color_pick: bool; [[Possibility flag]]
119 } 120 }
120 } 121 }
121 122
@@ -165,5 +166,4 @@ class Evas.Canvas3D.Scene (Evas.Canvas3D.Object)
165 Evas.Canvas3D.Object.update_notify; 166 Evas.Canvas3D.Object.update_notify;
166 Evas.Canvas3D.Object.change_notify; 167 Evas.Canvas3D.Object.change_notify;
167 } 168 }
168
169} 169}
diff --git a/src/lib/evas/canvas/evas_canvas3d_texture.eo b/src/lib/evas/canvas/evas_canvas3d_texture.eo
index 277c3e116d..67cf5dcaba 100644
--- a/src/lib/evas/canvas/evas_canvas3d_texture.eo
+++ b/src/lib/evas/canvas/evas_canvas3d_texture.eo
@@ -2,6 +2,7 @@ type @extern Evas_Colorspace: int; [[Evas colorspace type]] /* FIXME: Need to ge
2 2
3class Evas.Canvas3D.Texture (Evas.Canvas3D.Object) 3class Evas.Canvas3D.Texture (Evas.Canvas3D.Object)
4{ 4{
5 [[Evas 3d canvas texture class]]
5 data : Evas_Canvas3D_Texture_Data; 6 data : Evas_Canvas3D_Texture_Data;
6 methods { 7 methods {
7 @property source_visible { 8 @property source_visible {
@@ -90,7 +91,7 @@ class Evas.Canvas3D.Texture (Evas.Canvas3D.Object)
90 91
91 See also @.data_set, @.file_set, @.source_set. 92 See also @.data_set, @.file_set, @.source_set.
92 ]] 93 ]]
93 return: Evas_Colorspace; 94 return: Evas_Colorspace; [[Color format of the given texture]]
94 } 95 }
95 96
96 size_get @const { 97 size_get @const {
@@ -164,5 +165,4 @@ class Evas.Canvas3D.Texture (Evas.Canvas3D.Object)
164 Evas.Canvas3D.Object.update_notify; 165 Evas.Canvas3D.Object.update_notify;
165 Evas.Canvas3D.Object.change_notify; 166 Evas.Canvas3D.Object.change_notify;
166 } 167 }
167
168} 168}