0e7159bdf764297bb456991cb17eb7c43edfb1e6
[platform/core/csapi/tizenfx.git] / src / Tizen.NUI / src / internal / NDalic.cs
1 /*
2  * Copyright(c) 2019 Samsung Electronics Co., Ltd.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  *
16  */
17
18 using Tizen.NUI.BaseComponents;
19
20 namespace Tizen.NUI
21 {
22     internal class NDalic
23     {
24         public static uint int_to_uint(int x)
25         {
26             uint ret = Interop.NDalic.IntToUint(x);
27             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
28             return ret;
29         }
30
31         public static readonly int VisualPropertyTransform = Interop.Visual.TransformGet();
32         public static readonly int VisualPropertyPremultipliedAlpha = Interop.Visual.PremultipliedAlphaGet();
33         public static readonly int VisualPropertyMixColor = Interop.Visual.MixColorGet();
34         public static readonly int ImageVisualBorder = Interop.Visual.ImageVisualBorderGet();
35
36         public static void DaliAssertMessage(string location, string condition)
37         {
38             Interop.NDalic.DaliAssertMessage(location, condition);
39             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
40         }
41
42         public static Vector2 Min(Vector2 a, Vector2 b)
43         {
44             Vector2 ret = new Vector2(Interop.NDalic.MinVector2(Vector2.getCPtr(a), Vector2.getCPtr(b)), true);
45             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
46             return ret;
47         }
48
49         public static Vector2 Max(Vector2 a, Vector2 b)
50         {
51             Vector2 ret = new Vector2(Interop.NDalic.MaxVector2(Vector2.getCPtr(a), Vector2.getCPtr(b)), true);
52             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
53             return ret;
54         }
55
56         public static Vector2 Clamp(Vector2 v, float min, float max)
57         {
58             Vector2 ret = new Vector2(Interop.NDalic.ClampVector2(Vector2.getCPtr(v), min, max), true);
59             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
60             return ret;
61         }
62
63         public static Vector3 Min(Vector3 a, Vector3 b)
64         {
65             Vector3 ret = new Vector3(Interop.NDalic.MinVector3(Vector3.getCPtr(a), Vector3.getCPtr(b)), true);
66             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
67             return ret;
68         }
69
70         public static Vector3 Max(Vector3 a, Vector3 b)
71         {
72             Vector3 ret = new Vector3(Interop.NDalic.MaxVector3(Vector3.getCPtr(a), Vector3.getCPtr(b)), true);
73             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
74             return ret;
75         }
76
77         public static Vector3 Clamp(Vector3 v, float min, float max)
78         {
79             Vector3 ret = new Vector3(Interop.NDalic.ClampVector3(Vector3.getCPtr(v), min, max), true);
80             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
81             return ret;
82         }
83
84         public static Vector4 Min(Vector4 a, Vector4 b)
85         {
86             Vector4 ret = new Vector4(Interop.NDalic.MinVector4(Vector4.getCPtr(a), Vector4.getCPtr(b)), true);
87             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
88             return ret;
89         }
90
91         public static Vector4 Max(Vector4 a, Vector4 b)
92         {
93             Vector4 ret = new Vector4(Interop.NDalic.MaxVector4(Vector4.getCPtr(a), Vector4.getCPtr(b)), true);
94             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
95             return ret;
96         }
97
98         public static Vector4 Clamp(Vector4 v, float min, float max)
99         {
100             Vector4 ret = new Vector4(Interop.NDalic.ClampVector4(Vector4.getCPtr(v), min, max), true);
101             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
102             return ret;
103         }
104
105         public static bool EqualTo(AngleAxis lhs, AngleAxis rhs)
106         {
107             bool ret = Interop.NDalic.EqualToSwig9(AngleAxis.getCPtr(lhs), AngleAxis.getCPtr(rhs));
108             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
109             return ret;
110         }
111
112         public static uint NextPowerOfTwo(uint i)
113         {
114             uint ret = Interop.NDalic.NextPowerOfTwo(i);
115             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
116             return ret;
117         }
118
119         public static bool IsPowerOfTwo(uint i)
120         {
121             bool ret = Interop.NDalic.IsPowerOfTwo(i);
122             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
123             return ret;
124         }
125
126         public static float GetRangedEpsilon(float a, float b)
127         {
128             float ret = Interop.NDalic.GetRangedEpsilon(a, b);
129             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
130             return ret;
131         }
132
133         public static bool EqualsZero(float value)
134         {
135             bool ret = Interop.NDalic.EqualsZero(value);
136             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
137             return ret;
138         }
139
140         public static bool Equals(float a, float b)
141         {
142             bool ret = Interop.NDalic.Equals(a, b);
143             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
144             return ret;
145         }
146
147         public static bool Equals(float a, float b, float epsilon)
148         {
149             bool ret = Interop.NDalic.Equals(a, b, epsilon);
150             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
151             return ret;
152         }
153
154         public static float Round(float value, int pos)
155         {
156             float ret = Interop.NDalic.Round(value, pos);
157             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
158             return ret;
159         }
160
161         public static float WrapInDomain(float x, float start, float end)
162         {
163             float ret = Interop.NDalic.WrapInDomain(x, start, end);
164             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
165             return ret;
166         }
167
168         public static float ShortestDistanceInDomain(float a, float b, float start, float end)
169         {
170             float ret = Interop.NDalic.ShortestDistanceInDomain(a, b, start, end);
171             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
172             return ret;
173         }
174
175         public static string GetName(PropertyType type)
176         {
177             string ret = Interop.NDalic.GetName((int)type);
178             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
179             return ret;
180         }
181
182         public static BaseObject c(BaseHandle handle)
183         {
184             BaseObject ret = new BaseObject(Interop.NDalic.GetImplementation(BaseHandle.getCPtr(handle)), false);
185             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
186             return ret;
187         }
188
189         public static int WEIGHT
190         {
191             get
192             {
193                 int ret = Interop.NDalic.WeightGet();
194                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
195                 return ret;
196             }
197         }
198
199         public static bool RegisterType(string name, SWIGTYPE_p_std__type_info baseType, System.Delegate f)
200         {
201             System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate<System.Delegate>(f);
202             {
203                 bool ret = Interop.NDalic.RegisterType(name, SWIGTYPE_p_std__type_info.getCPtr(baseType), new System.Runtime.InteropServices.HandleRef(null, ip));
204                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
205                 return ret;
206             }
207         }
208
209         public static bool RegisterProperty(string objectName, string name, int index, PropertyType type, System.Delegate setFunc, System.Delegate getFunc)
210         {
211             System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate<System.Delegate>(setFunc);
212             System.IntPtr ip2 = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate<System.Delegate>(getFunc);
213             {
214                 bool ret = Interop.NDalic.RegisterProperty(objectName, name, index, (int)type, new System.Runtime.InteropServices.HandleRef(null, ip), new System.Runtime.InteropServices.HandleRef(null, ip2));
215                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
216                 return ret;
217             }
218         }
219
220         public static Vector4 BLACK
221         {
222             get
223             {
224                 global::System.IntPtr cPtr = Interop.NDalicColor.BlackGet();
225                 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
226                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
227                 return ret;
228             }
229         }
230
231         public static Vector4 WHITE
232         {
233             get
234             {
235                 global::System.IntPtr cPtr = Interop.NDalicColor.WhiteGet();
236                 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
237                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
238                 return ret;
239             }
240         }
241
242         public static Vector4 RED
243         {
244             get
245             {
246                 global::System.IntPtr cPtr = Interop.NDalicColor.RedGet();
247                 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
248                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
249                 return ret;
250             }
251         }
252
253         public static Vector4 GREEN
254         {
255             get
256             {
257                 global::System.IntPtr cPtr = Interop.NDalicColor.GreenGet();
258                 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
259                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
260                 return ret;
261             }
262         }
263
264         public static Vector4 BLUE
265         {
266             get
267             {
268                 global::System.IntPtr cPtr = Interop.NDalicColor.BlueGet();
269                 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
270                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
271                 return ret;
272             }
273         }
274
275         public static Vector4 YELLOW
276         {
277             get
278             {
279                 global::System.IntPtr cPtr = Interop.NDalicColor.YellowGet();
280                 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
281                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
282                 return ret;
283             }
284         }
285
286         public static Vector4 MAGENTA
287         {
288             get
289             {
290                 global::System.IntPtr cPtr = Interop.NDalicColor.MagentaGet();
291                 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
292                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
293                 return ret;
294             }
295         }
296
297         public static Vector4 CYAN
298         {
299             get
300             {
301                 global::System.IntPtr cPtr = Interop.NDalicColor.CyanGet();
302                 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
303                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
304                 return ret;
305             }
306         }
307
308         public static Vector4 TRANSPARENT
309         {
310             get
311             {
312                 global::System.IntPtr cPtr = Interop.NDalicColor.TransparentGet();
313                 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
314                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
315                 return ret;
316             }
317         }
318
319         internal static float MACHINE_EPSILON_0
320         {
321             get
322             {
323                 float ret = Interop.NDalicMachine.MachineEpsilon0Get();
324                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
325                 return ret;
326             }
327         }
328
329         internal static float MACHINE_EPSILON_1
330         {
331             get
332             {
333                 float ret = Interop.NDalicMachine.MachineEpsilon1Get();
334                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
335                 return ret;
336             }
337         }
338
339         internal static float MACHINE_EPSILON_10
340         {
341             get
342             {
343                 float ret = Interop.NDalicMachine.MachineEpsilon10Get();
344                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
345                 return ret;
346             }
347         }
348
349         internal static float MACHINE_EPSILON_100
350         {
351             get
352             {
353                 float ret = Interop.NDalicMachine.MachineEpsilon100Get();
354                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
355                 return ret;
356             }
357         }
358
359         internal static float MACHINE_EPSILON_1000
360         {
361             get
362             {
363                 float ret = Interop.NDalicMachine.MachineEpsilon1000Get();
364                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
365                 return ret;
366             }
367         }
368
369         internal static float MACHINE_EPSILON_10000
370         {
371             get
372             {
373                 float ret = Interop.NDalicMachine.MachineEpsilon10000Get();
374                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
375                 return ret;
376             }
377         }
378
379         internal static PixelFormat FIRST_VALID_PIXEL_FORMAT
380         {
381             get
382             {
383                 PixelFormat ret = (PixelFormat)Interop.NDalic.FirstValidPixelFormatGet();
384                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
385                 return ret;
386             }
387         }
388
389         internal static PixelFormat LAST_VALID_PIXEL_FORMAT
390         {
391             get
392             {
393                 PixelFormat ret = (PixelFormat)Interop.NDalic.LastValidPixelFormatGet();
394                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
395                 return ret;
396             }
397         }
398
399         internal static bool HasAlpha(PixelFormat pixelformat)
400         {
401             bool ret = Interop.NDalic.HasAlpha((int)pixelformat);
402             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
403             return ret;
404         }
405
406         internal static uint GetBytesPerPixel(PixelFormat pixelFormat)
407         {
408             uint ret = Interop.NDalic.GetBytesPerPixel((int)pixelFormat);
409             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
410             return ret;
411         }
412
413         internal static void GetAlphaOffsetAndMask(PixelFormat pixelFormat, SWIGTYPE_p_int byteOffset, SWIGTYPE_p_int bitMask)
414         {
415             Interop.NDalic.GetAlphaOffsetAndMask((int)pixelFormat, SWIGTYPE_p_int.getCPtr(byteOffset), SWIGTYPE_p_int.getCPtr(bitMask));
416             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
417         }
418
419         internal static uint POSITIVE_X
420         {
421             get
422             {
423                 uint ret = Interop.NDalicXYZ.PositiveXGet();
424                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
425                 return ret;
426             }
427         }
428
429         internal static uint NEGATIVE_X
430         {
431             get
432             {
433                 uint ret = Interop.NDalicXYZ.NegativeXGet();
434                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
435                 return ret;
436             }
437         }
438
439         internal static uint POSITIVE_Y
440         {
441             get
442             {
443                 uint ret = Interop.NDalicXYZ.PositiveYGet();
444                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
445                 return ret;
446             }
447         }
448
449         internal static uint NEGATIVE_Y
450         {
451             get
452             {
453                 uint ret = Interop.NDalicXYZ.NegativeYGet();
454                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
455                 return ret;
456             }
457         }
458
459         internal static uint POSITIVE_Z
460         {
461             get
462             {
463                 uint ret = Interop.NDalicXYZ.PositiveZGet();
464                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
465                 return ret;
466             }
467         }
468
469         internal static uint NEGATIVE_Z
470         {
471             get
472             {
473                 uint ret = Interop.NDalicXYZ.NegativeZGet();
474                 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
475                 return ret;
476             }
477         }
478
479         private static string GetDeviceName(Key keyEvent)
480         {
481             string ret = Interop.NDalic.GetDeviceName(Key.getCPtr(keyEvent));
482             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
483             return ret;
484         }
485
486         public static DeviceClassType GetDeviceClass(Key keyEvent)
487         {
488             DeviceClassType ret = (DeviceClassType)Interop.NDalic.GetDeviceClass(Key.getCPtr(keyEvent));
489             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
490             return ret;
491         }
492
493         public static void Raise(View view)
494         {
495             Interop.NDalic.Raise(View.getCPtr(view));
496             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
497         }
498
499         public static void Lower(View view)
500         {
501             Interop.NDalic.Lower(View.getCPtr(view));
502             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
503         }
504
505         public static void RaiseToTop(View view)
506         {
507             Interop.NDalic.RaiseToTop(View.getCPtr(view));
508             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
509         }
510
511         public static void LowerToBottom(View view)
512         {
513             Interop.NDalic.LowerToBottom(View.getCPtr(view));
514             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
515         }
516
517         public static void RaiseAbove(View view, View target)
518         {
519             Interop.NDalic.RaiseAbove(View.getCPtr(view), View.getCPtr(target));
520             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
521         }
522
523         public static void LowerBelow(View view, View target)
524         {
525             Interop.NDalic.LowerBelow(View.getCPtr(view), View.getCPtr(target));
526             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
527         }
528
529         public static ViewImpl GetImplementation(View handle)
530         {
531             ViewImpl ret = new ViewImpl(Interop.NDalic.GetImplementationControl(View.getCPtr(handle)), false);
532             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
533             return ret;
534         }
535
536         internal static SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t NewItemLayout(DefaultItemLayoutType type)
537         {
538             SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t ret = new SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t(Interop.NDalic.NewItemLayout((int)type));
539             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
540             return ret;
541         }
542
543         internal static void SetCustomAlgorithm(SWIGTYPE_p_KeyboardFocusManager keyboardFocusManager, CustomAlgorithmInterface arg1)
544         {
545             Interop.NDalic.SetCustomAlgorithm(SWIGTYPE_p_KeyboardFocusManager.getCPtr(keyboardFocusManager), CustomAlgorithmInterface.getCPtr(arg1));
546             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
547         }
548
549         internal static readonly int VisualPropertyType = Interop.NDalicVisual.VisualPropertyTypeGet();
550         internal static readonly int VisualPropertyShader = Interop.NDalicVisual.VisualPropertyShaderGet();
551
552         internal static readonly int VisualShaderVertex = Interop.NDalicVisual.VisualShaderVertexGet();
553         internal static readonly int VisualShaderFragment = Interop.NDalicVisual.VisualShaderFragmentGet();
554         internal static readonly int VisualShaderSubdivideGridX = Interop.NDalicVisual.VisualShaderSubdivideGridXGet();
555         internal static readonly int VisualShaderSubdivideGridY = Interop.NDalicVisual.VisualShaderSubdivideGridYGet();
556         internal static readonly int VisualShaderHints = Interop.NDalicVisual.VisualShaderHintsGet();
557
558         internal static readonly int BorderVisualColor = Interop.NDalicBorderVisual.ColorGet();
559         internal static readonly int BorderVisualSize = Interop.NDalicBorderVisual.SizeGet();
560         internal static readonly int BorderVisualAntiAliasing = Interop.NDalicBorderVisual.AntiAliasingGet();
561
562         internal static readonly int ColorVisualMixColor = Interop.NDalicColorVisual.ColorVisualMixColorGet();
563
564         internal static readonly int GradientVisualStartPosition = Interop.NDalicGradientVisual.GradientVisualStartPositionGet();
565         internal static readonly int GradientVisualEndPosition = Interop.NDalicGradientVisual.GradientVisualEndPositionGet();
566         internal static readonly int GradientVisualCenter = Interop.NDalicGradientVisual.GradientVisualCenterGet();
567         internal static readonly int GradientVisualRadius = Interop.NDalicGradientVisual.GradientVisualRadiusGet();
568         internal static readonly int GradientVisualStopOffset = Interop.NDalicGradientVisual.GradientVisualStopOffsetGet();
569         internal static readonly int GradientVisualStopColor = Interop.NDalicGradientVisual.GradientVisualStopColorGet();
570         internal static readonly int GradientVisualUnits = Interop.NDalicGradientVisual.GradientVisualUnitsGet();
571         internal static readonly int GradientVisualSpreadMethod = Interop.NDalicGradientVisual.GradientVisualSpreadMethodGet();
572
573         internal static readonly int ImageVisualUrl = Interop.NDalicImageVisual.ImageVisualUrlGet();
574         internal static readonly int ImageVisualAlphaMaskUrl = Interop.NDalicImageVisual.ImageVisualAlphaMaskUrlGet();
575         internal static readonly int ImageVisualFittingMode = Interop.NDalicImageVisual.ImageVisualFittingModeGet();
576         internal static readonly int ImageVisualSamplingMode = Interop.NDalicImageVisual.ImageVisualSamplingModeGet();
577         internal static readonly int ImageVisualDesiredWidth = Interop.NDalicImageVisual.ImageVisualDesiredWidthGet();
578         internal static readonly int ImageVisualDesiredHeight = Interop.NDalicImageVisual.ImageVisualDesiredHeightGet();
579         internal static readonly int ImageVisualSynchronousLoading = Interop.NDalicImageVisual.ImageVisualSynchronousLoadingGet();
580         internal static readonly int ImageVisualBorderOnly = Interop.NDalicImageVisual.ImageVisualBorderOnlyGet();
581         internal static readonly int ImageVisualPixelArea = Interop.NDalicImageVisual.ImageVisualPixelAreaGet();
582         internal static readonly int ImageVisualWrapModeU = Interop.NDalicImageVisual.ImageVisualWrapModeUGet();
583         internal static readonly int ImageVisualWrapModeV = Interop.NDalicImageVisual.ImageVisualWrapModeVGet();
584         internal static readonly int ImageVisualBatchSize = Interop.NDalicImageVisual.ImageVisualBatchSizeGet();
585         internal static readonly int ImageVisualCacheSize = Interop.NDalicImageVisual.ImageVisualCacheSizeGet();
586         internal static readonly int ImageVisualFrameDelay = Interop.NDalicImageVisual.ImageVisualFrameDelayGet();
587         internal static readonly int ImageVisualLoopCount = Interop.NDalicImageVisual.ImageVisualLoopCountGet();
588         internal static readonly int ImageVisualMaskContentScale = Interop.NDalicImageVisual.ImageVisualMaskContentScaleGet();
589         internal static readonly int ImageVisualCropToMask = Interop.NDalicImageVisual.ImageVisualCropToMaskGet();
590         internal static readonly int ImageVisualReleasePolicy = Interop.NDalicImageVisual.ImageVisualReleasePolicyGet();
591         internal static readonly int ImageVisualLoadPolicy = Interop.NDalicImageVisual.ImageVisualLoadPolicyGet();
592         internal static readonly int ImageVisualOrientationCorrection = Interop.NDalicImageVisual.ImageVisualOrientationCorrectionGet();
593         internal static readonly int ImageVisualAuxiliaryImageUrl = Interop.NDalicImageVisual.ImageVisualAuxiliaryImageUrlGet();
594         internal static readonly int ImageVisualAuxiliaryImageAlpha = Interop.NDalicImageVisual.ImageVisualAuxiliaryImageAlphaGet();
595
596         internal static readonly int MeshVisualObjectUrl = Interop.NDalicMeshVisual.MeshVisualObjectUrlGet();
597         internal static readonly int MeshVisualMaterialUrl = Interop.NDalicMeshVisual.MeshVisualMaterialUrlGet();
598         internal static readonly int MeshVisualTexturesPath = Interop.NDalicMeshVisual.MeshVisualTexturesPathGet();
599         internal static readonly int MeshVisualShadingMode = Interop.NDalicMeshVisual.MeshVisualShadingModeGet();
600         internal static readonly int MeshVisualUseMipmapping = Interop.NDalicMeshVisual.MeshVisualUseMipmappingGet();
601         internal static readonly int MeshVisualUseSoftNormals = Interop.NDalicMeshVisual.MeshVisualUseSoftNormalsGet();
602         internal static readonly int MeshVisualLightPosition = Interop.NDalicMeshVisual.MeshVisualLightPositionGet();
603
604         internal static readonly int PrimitiveVisualShape = Interop.NdalicPrimitive.PrimitiveVisualShapeGet();
605         internal static readonly int PrimitiveVisualMixColor = Interop.NdalicPrimitive.PrimitiveVisualMixColorGet();
606         internal static readonly int PrimitiveVisualSlices = Interop.NdalicPrimitive.PrimitiveVisualSlicesGet();
607         internal static readonly int PrimitiveVisualStacks = Interop.NdalicPrimitive.PrimitiveVisualStacksGet();
608         internal static readonly int PrimitiveVisualScaleTopRadius = Interop.NdalicPrimitive.PrimitiveVisualScaleTopRadiusGet();
609         internal static readonly int PrimitiveVisualScaleBottomRadius = Interop.NdalicPrimitive.PrimitiveVisualScaleBottomRadiusGet();
610         internal static readonly int PrimitiveVisualScaleHeight = Interop.NdalicPrimitive.PrimitiveVisualScaleHeightGet();
611         internal static readonly int PrimitiveVisualScaleRadius = Interop.NdalicPrimitive.PrimitiveVisualScaleRadiusGet();
612         internal static readonly int PrimitiveVisualScaleDimensions = Interop.NdalicPrimitive.PrimitiveVisualScaleDimensionsGet();
613         internal static readonly int PrimitiveVisualBevelPercentage = Interop.NdalicPrimitive.PrimitiveVisualBevelPercentageGet();
614         internal static readonly int PrimitiveVisualBevelSmoothness = Interop.NdalicPrimitive.PrimitiveVisualBevelSmoothnessGet();
615         internal static readonly int PrimitiveVisualLightPosition = Interop.NdalicPrimitive.PrimitiveVisualLightPositionGet();
616
617         internal static readonly int TextVisualText = Interop.NDalicText.TextVisualTextGet();
618         internal static readonly int TextVisualFontFamily = Interop.NDalicText.TextVisualFontFamilyGet();
619         internal static readonly int TextVisualFontStyle = Interop.NDalicText.TextVisualFontStyleGet();
620         internal static readonly int TextVisualPointSize = Interop.NDalicText.TextVisualPointSizeGet();
621         internal static readonly int TextVisualMultiLine = Interop.NDalicText.TextVisualMultiLineGet();
622         internal static readonly int TextVisualHorizontalAlignment = Interop.NDalicText.TextVisualHorizontalAlignmentGet();
623         internal static readonly int TextVisualVerticalAlignment = Interop.NDalicText.TextVisualVerticalAlignmentGet();
624         internal static readonly int TextVisualTextColor = Interop.NDalicText.TextVisualTextColorGet();
625         internal static readonly int TextVisualEnableMarkup = Interop.NDalicText.TextVisualEnableMarkupGet();
626
627         internal static readonly int TooltipContent = Interop.NDalicToolTip.TooltipContentGet();
628         internal static readonly int TooltipLayout = Interop.NDalicToolTip.TooltipLayoutGet();
629         internal static readonly int TooltipWaitTime = Interop.NDalicToolTip.TooltipWaitTimeGet();
630         internal static readonly int TooltipBackground = Interop.NDalicToolTip.TooltipBackgroundGet();
631         internal static readonly int TooltipTail = Interop.NDalicToolTip.TooltipTailGet();
632         internal static readonly int TooltipPosition = Interop.NDalicToolTip.TooltipPositionGet();
633         internal static readonly int TooltipHoverPointOffset = Interop.NDalicToolTip.TooltipHoverPointOffsetGet();
634         internal static readonly int TooltipMovementThreshold = Interop.NDalicToolTip.TooltipMovementThresholdGet();
635         internal static readonly int TooltipDisappearOnMovement = Interop.NDalicToolTip.TooltipDisappearOnMovementGet();
636
637         internal static readonly int TooltipBackgroundVisual = Interop.NDalicToolTip.TooltipBackgroundVisualGet();
638         internal static readonly int TooltipBackgroundBorder = Interop.NDalicToolTip.TooltipBackgroundBorderGet();
639
640         internal static readonly int TooltipTailVisibility = Interop.NDalicToolTip.TooltipTailVisibilityGet();
641         internal static readonly int TooltipTailAboveVisual = Interop.NDalicToolTip.TooltipTailAboveVisualGet();
642         internal static readonly int TooltipTailBelowVisual = Interop.NDalicToolTip.TooltipTailBelowVisualGet();
643     }
644 }