2 * Copyright(c) 2018 Samsung Electronics Co., Ltd.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
18 using Tizen.NUI.BaseComponents;
24 public static uint int_to_uint(int x)
26 uint ret = Interop.NDalic.int_to_uint(x);
27 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
31 public static readonly int VISUAL_PROPERTY_TRANSFORM = Interop.Visual.Visual_Property_TRANSFORM_get();
32 public static readonly int VISUAL_PROPERTY_PREMULTIPLIED_ALPHA = Interop.Visual.Visual_Property_PREMULTIPLIED_ALPHA_get();
33 public static readonly int VISUAL_PROPERTY_MIX_COLOR = Interop.Visual.Visual_Property_MIX_COLOR_get();
34 public static readonly int IMAGE_VISUAL_BORDER = Interop.Visual.Image_Visual_BORDER_get();
36 public static void DaliAssertMessage(string location, string condition)
38 Interop.NDalic.DaliAssertMessage(location, condition);
39 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
42 public static Vector2 Min(Vector2 a, Vector2 b)
44 Vector2 ret = new Vector2(Interop.NDalic.Min__SWIG_0(Vector2.getCPtr(a), Vector2.getCPtr(b)), true);
45 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
49 public static Vector2 Max(Vector2 a, Vector2 b)
51 Vector2 ret = new Vector2(Interop.NDalic.Max__SWIG_0(Vector2.getCPtr(a), Vector2.getCPtr(b)), true);
52 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
56 public static Vector2 Clamp(Vector2 v, float min, float max)
58 Vector2 ret = new Vector2(Interop.NDalic.Clamp__SWIG_0(Vector2.getCPtr(v), min, max), true);
59 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
63 public static Vector3 Min(Vector3 a, Vector3 b)
65 Vector3 ret = new Vector3(Interop.NDalic.Min__SWIG_1(Vector3.getCPtr(a), Vector3.getCPtr(b)), true);
66 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
70 public static Vector3 Max(Vector3 a, Vector3 b)
72 Vector3 ret = new Vector3(Interop.NDalic.Max__SWIG_1(Vector3.getCPtr(a), Vector3.getCPtr(b)), true);
73 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
77 public static Vector3 Clamp(Vector3 v, float min, float max)
79 Vector3 ret = new Vector3(Interop.NDalic.Clamp__SWIG_1(Vector3.getCPtr(v), min, max), true);
80 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
84 public static Vector4 Min(Vector4 a, Vector4 b)
86 Vector4 ret = new Vector4(Interop.NDalic.Min__SWIG_2(Vector4.getCPtr(a), Vector4.getCPtr(b)), true);
87 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
91 public static Vector4 Max(Vector4 a, Vector4 b)
93 Vector4 ret = new Vector4(Interop.NDalic.Max__SWIG_2(Vector4.getCPtr(a), Vector4.getCPtr(b)), true);
94 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
98 public static Vector4 Clamp(Vector4 v, float min, float max)
100 Vector4 ret = new Vector4(Interop.NDalic.Clamp__SWIG_2(Vector4.getCPtr(v), min, max), true);
101 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
105 public static bool EqualTo(AngleAxis lhs, AngleAxis rhs)
107 bool ret = Interop.NDalic.EqualTo__SWIG_9(AngleAxis.getCPtr(lhs), AngleAxis.getCPtr(rhs));
108 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
112 public static uint NextPowerOfTwo(uint i)
114 uint ret = Interop.NDalic.NextPowerOfTwo(i);
115 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
119 public static bool IsPowerOfTwo(uint i)
121 bool ret = Interop.NDalic.IsPowerOfTwo(i);
122 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
126 public static float GetRangedEpsilon(float a, float b)
128 float ret = Interop.NDalic.GetRangedEpsilon(a, b);
129 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
133 public static bool EqualsZero(float value)
135 bool ret = Interop.NDalic.EqualsZero(value);
136 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
140 public static bool Equals(float a, float b)
142 bool ret = Interop.NDalic.Equals__SWIG_0(a, b);
143 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
147 public static bool Equals(float a, float b, float epsilon)
149 bool ret = Interop.NDalic.Equals__SWIG_1(a, b, epsilon);
150 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
154 public static float Round(float value, int pos)
156 float ret = Interop.NDalic.Round(value, pos);
157 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
161 public static float WrapInDomain(float x, float start, float end)
163 float ret = Interop.NDalic.WrapInDomain(x, start, end);
164 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
168 public static float ShortestDistanceInDomain(float a, float b, float start, float end)
170 float ret = Interop.NDalic.ShortestDistanceInDomain(a, b, start, end);
171 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
175 public static string GetName(PropertyType type)
177 string ret = Interop.NDalic.GetName((int)type);
178 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
182 public static BaseObject c(BaseHandle handle)
184 BaseObject ret = new BaseObject(Interop.NDalic.GetImplementation(BaseHandle.getCPtr(handle)), false);
185 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
189 public static int WEIGHT
193 int ret = Interop.NDalic.WEIGHT_get();
194 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
199 public static bool RegisterType(string name, SWIGTYPE_p_std__type_info baseType, System.Delegate f)
201 System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate<System.Delegate>(f);
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();
209 public static bool RegisterProperty(string objectName, string name, int index, PropertyType type, System.Delegate setFunc, System.Delegate getFunc)
211 System.IntPtr ip = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate<System.Delegate>(setFunc);
212 System.IntPtr ip2 = System.Runtime.InteropServices.Marshal.GetFunctionPointerForDelegate<System.Delegate>(getFunc);
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();
220 public static float ParentOriginTop
224 float ret = Interop.NDalicParentOrigin.ParentOriginTop_get();
225 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
230 public static float ParentOriginBottom
234 float ret = Interop.NDalicParentOrigin.ParentOriginBottom_get();
235 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
240 public static float ParentOriginLeft
244 float ret = Interop.NDalicParentOrigin.ParentOriginLeft_get();
245 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
250 public static float ParentOriginRight
254 float ret = Interop.NDalicParentOrigin.ParentOriginRight_get();
255 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
260 public static float ParentOriginMiddle
264 float ret = Interop.NDalicParentOrigin.ParentOriginMiddle_get();
265 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
270 public static Vector3 ParentOriginTopLeft
274 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopLeft_get();
275 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
276 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
281 public static Vector3 ParentOriginTopCenter
285 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopCenter_get();
286 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
287 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
292 public static Vector3 ParentOriginTopRight
296 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginTopRight_get();
297 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
298 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
303 public static Vector3 ParentOriginCenterLeft
307 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterLeft_get();
308 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
309 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
314 public static Vector3 ParentOriginCenter
318 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenter_get();
319 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
320 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
325 public static Vector3 ParentOriginCenterRight
329 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginCenterRight_get();
330 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
331 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
336 public static Vector3 ParentOriginBottomLeft
340 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomLeft_get();
341 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
342 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
347 public static Vector3 ParentOriginBottomCenter
351 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomCenter_get();
352 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
353 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
358 public static Vector3 ParentOriginBottomRight
362 global::System.IntPtr cPtr = Interop.NDalicParentOrigin.ParentOriginBottomRight_get();
363 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
364 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
369 public static float AnchorPointTop
373 float ret = Interop.NDalicAnchorPoint.AnchorPointTop_get();
374 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
379 public static float AnchorPointBottom
383 float ret = Interop.NDalicAnchorPoint.AnchorPointBottom_get();
384 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
389 public static float AnchorPointLeft
393 float ret = Interop.NDalicAnchorPoint.AnchorPointLeft_get();
394 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
399 public static float AnchorPointRight
403 float ret = Interop.NDalicAnchorPoint.AnchorPointRight_get();
404 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
409 public static float AnchorPointMiddle
413 float ret = Interop.NDalicAnchorPoint.AnchorPointMiddle_get();
414 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
419 public static Vector3 AnchorPointTopLeft
423 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopLeft_get();
424 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
425 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
430 public static Vector3 AnchorPointTopCenter
434 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopCenter_get();
435 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
436 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
441 public static Vector3 AnchorPointTopRight
445 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointTopRight_get();
446 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
447 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
452 public static Vector3 AnchorPointCenterLeft
456 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterLeft_get();
457 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
458 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
463 public static Vector3 AnchorPointCenter
467 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenter_get();
468 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
469 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
474 public static Vector3 AnchorPointCenterRight
478 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointCenterRight_get();
479 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
480 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
485 public static Vector3 AnchorPointBottomLeft
489 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomLeft_get();
490 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
491 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
496 public static Vector3 AnchorPointBottomCenter
500 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomCenter_get();
501 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
502 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
507 public static Vector3 AnchorPointBottomRight
511 global::System.IntPtr cPtr = Interop.NDalicAnchorPoint.AnchorPointBottomRight_get();
512 Vector3 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector3(cPtr, false);
513 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
518 public static Vector4 BLACK
522 global::System.IntPtr cPtr = Interop.NDalicColor.BLACK_get();
523 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
524 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
529 public static Vector4 WHITE
533 global::System.IntPtr cPtr = Interop.NDalicColor.WHITE_get();
534 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
535 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
540 public static Vector4 RED
544 global::System.IntPtr cPtr = Interop.NDalicColor.RED_get();
545 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
546 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
551 public static Vector4 GREEN
555 global::System.IntPtr cPtr = Interop.NDalicColor.GREEN_get();
556 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
557 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
562 public static Vector4 BLUE
566 global::System.IntPtr cPtr = Interop.NDalicColor.BLUE_get();
567 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
568 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
573 public static Vector4 YELLOW
577 global::System.IntPtr cPtr = Interop.NDalicColor.YELLOW_get();
578 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
579 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
584 public static Vector4 MAGENTA
588 global::System.IntPtr cPtr = Interop.NDalicColor.MAGENTA_get();
589 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
590 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
595 public static Vector4 CYAN
599 global::System.IntPtr cPtr = Interop.NDalicColor.CYAN_get();
600 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
601 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
606 public static Vector4 TRANSPARENT
610 global::System.IntPtr cPtr = Interop.NDalicColor.TRANSPARENT_get();
611 Vector4 ret = (cPtr == global::System.IntPtr.Zero) ? null : new Vector4(cPtr, false);
612 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
617 internal static float MACHINE_EPSILON_0
621 float ret = Interop.NDalicMachine.MACHINE_EPSILON_0_get();
622 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
627 internal static float MACHINE_EPSILON_1
631 float ret = Interop.NDalicMachine.MACHINE_EPSILON_1_get();
632 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
637 internal static float MACHINE_EPSILON_10
641 float ret = Interop.NDalicMachine.MACHINE_EPSILON_10_get();
642 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
647 internal static float MACHINE_EPSILON_100
651 float ret = Interop.NDalicMachine.MACHINE_EPSILON_100_get();
652 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
657 internal static float MACHINE_EPSILON_1000
661 float ret = Interop.NDalicMachine.MACHINE_EPSILON_1000_get();
662 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
667 internal static float MACHINE_EPSILON_10000
671 float ret = Interop.NDalicMachine.MACHINE_EPSILON_10000_get();
672 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
677 internal static PixelFormat FIRST_VALID_PIXEL_FORMAT
681 PixelFormat ret = (PixelFormat)Interop.NDalic.FIRST_VALID_PIXEL_FORMAT_get();
682 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
687 internal static PixelFormat LAST_VALID_PIXEL_FORMAT
691 PixelFormat ret = (PixelFormat)Interop.NDalic.LAST_VALID_PIXEL_FORMAT_get();
692 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
697 internal static bool HasAlpha(PixelFormat pixelformat)
699 bool ret = Interop.NDalic.HasAlpha((int)pixelformat);
700 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
704 internal static uint GetBytesPerPixel(PixelFormat pixelFormat)
706 uint ret = Interop.NDalic.GetBytesPerPixel((int)pixelFormat);
707 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
711 internal static void GetAlphaOffsetAndMask(PixelFormat pixelFormat, SWIGTYPE_p_int byteOffset, SWIGTYPE_p_int bitMask)
713 Interop.NDalic.GetAlphaOffsetAndMask((int)pixelFormat, SWIGTYPE_p_int.getCPtr(byteOffset), SWIGTYPE_p_int.getCPtr(bitMask));
714 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
717 internal static uint POSITIVE_X
721 uint ret = Interop.NDalicXYZ.POSITIVE_X_get();
722 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
727 internal static uint NEGATIVE_X
731 uint ret = Interop.NDalicXYZ.NEGATIVE_X_get();
732 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
737 internal static uint POSITIVE_Y
741 uint ret = Interop.NDalicXYZ.POSITIVE_Y_get();
742 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
747 internal static uint NEGATIVE_Y
751 uint ret = Interop.NDalicXYZ.NEGATIVE_Y_get();
752 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
757 internal static uint POSITIVE_Z
761 uint ret = Interop.NDalicXYZ.POSITIVE_Z_get();
762 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
767 internal static uint NEGATIVE_Z
771 uint ret = Interop.NDalicXYZ.NEGATIVE_Z_get();
772 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
777 private static string GetDeviceName(Key keyEvent)
779 string ret = Interop.NDalic.GetDeviceName(Key.getCPtr(keyEvent));
780 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
784 public static DeviceClassType GetDeviceClass(Key keyEvent)
786 DeviceClassType ret = (DeviceClassType)Interop.NDalic.GetDeviceClass(Key.getCPtr(keyEvent));
787 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
791 public static void Raise(View view)
793 Interop.NDalic.Raise(View.getCPtr(view));
794 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
797 public static void Lower(View view)
799 Interop.NDalic.Lower(View.getCPtr(view));
800 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
803 public static void RaiseToTop(View view)
805 Interop.NDalic.RaiseToTop(View.getCPtr(view));
806 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
809 public static void LowerToBottom(View view)
811 Interop.NDalic.LowerToBottom(View.getCPtr(view));
812 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
815 public static void RaiseAbove(View view, View target)
817 Interop.NDalic.RaiseAbove(View.getCPtr(view), View.getCPtr(target));
818 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
821 public static void LowerBelow(View view, View target)
823 Interop.NDalic.LowerBelow(View.getCPtr(view), View.getCPtr(target));
824 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
827 public static ViewImpl GetImplementation(View handle)
829 ViewImpl ret = new ViewImpl(Interop.NDalic.GetImplementation__SWIG_0(View.getCPtr(handle)), false);
830 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
834 internal static SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t NewItemLayout(DefaultItemLayoutType type)
836 SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t ret = new SWIGTYPE_p_Dali__IntrusivePtrT_Dali__Toolkit__ItemLayout_t(Interop.NDalic.NewItemLayout((int)type), true);
837 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
841 internal static void SetCustomAlgorithm(SWIGTYPE_p_KeyboardFocusManager keyboardFocusManager, CustomAlgorithmInterface arg1)
843 Interop.NDalic.SetCustomAlgorithm(SWIGTYPE_p_KeyboardFocusManager.getCPtr(keyboardFocusManager), CustomAlgorithmInterface.getCPtr(arg1));
844 if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
847 internal static readonly int VISUAL_PROPERTY_TYPE = Interop.NDalicVisual.VISUAL_PROPERTY_TYPE_get();
848 internal static readonly int VISUAL_PROPERTY_SHADER = Interop.NDalicVisual.VISUAL_PROPERTY_SHADER_get();
850 internal static readonly int VISUAL_SHADER_VERTEX = Interop.NDalicVisual.VISUAL_SHADER_VERTEX_get();
851 internal static readonly int VISUAL_SHADER_FRAGMENT = Interop.NDalicVisual.VISUAL_SHADER_FRAGMENT_get();
852 internal static readonly int VISUAL_SHADER_SUBDIVIDE_GRID_X = Interop.NDalicVisual.VISUAL_SHADER_SUBDIVIDE_GRID_X_get();
853 internal static readonly int VISUAL_SHADER_SUBDIVIDE_GRID_Y = Interop.NDalicVisual.VISUAL_SHADER_SUBDIVIDE_GRID_Y_get();
854 internal static readonly int VISUAL_SHADER_HINTS = Interop.NDalicVisual.VISUAL_SHADER_HINTS_get();
856 internal static readonly int BORDER_VISUAL_COLOR = Interop.NDalicBorderVisual.BORDER_VISUAL_COLOR_get();
857 internal static readonly int BORDER_VISUAL_SIZE = Interop.NDalicBorderVisual.BORDER_VISUAL_SIZE_get();
858 internal static readonly int BORDER_VISUAL_ANTI_ALIASING = Interop.NDalicBorderVisual.BORDER_VISUAL_ANTI_ALIASING_get();
860 internal static readonly int COLOR_VISUAL_MIX_COLOR = Interop.NDalicColorVisual.COLOR_VISUAL_MIX_COLOR_get();
862 internal static readonly int GRADIENT_VISUAL_START_POSITION = Interop.NDalicGradientVisual.GRADIENT_VISUAL_START_POSITION_get();
863 internal static readonly int GRADIENT_VISUAL_END_POSITION = Interop.NDalicGradientVisual.GRADIENT_VISUAL_END_POSITION_get();
864 internal static readonly int GRADIENT_VISUAL_CENTER = Interop.NDalicGradientVisual.GRADIENT_VISUAL_CENTER_get();
865 internal static readonly int GRADIENT_VISUAL_RADIUS = Interop.NDalicGradientVisual.GRADIENT_VISUAL_RADIUS_get();
866 internal static readonly int GRADIENT_VISUAL_STOP_OFFSET = Interop.NDalicGradientVisual.GRADIENT_VISUAL_STOP_OFFSET_get();
867 internal static readonly int GRADIENT_VISUAL_STOP_COLOR = Interop.NDalicGradientVisual.GRADIENT_VISUAL_STOP_COLOR_get();
868 internal static readonly int GRADIENT_VISUAL_UNITS = Interop.NDalicGradientVisual.GRADIENT_VISUAL_UNITS_get();
869 internal static readonly int GRADIENT_VISUAL_SPREAD_METHOD = Interop.NDalicGradientVisual.GRADIENT_VISUAL_SPREAD_METHOD_get();
871 internal static readonly int IMAGE_VISUAL_URL = Interop.NDalicImageVisual.IMAGE_VISUAL_URL_get();
872 internal static readonly int IMAGE_VISUAL_ALPHA_MASK_URL = Interop.NDalicImageVisual.IMAGE_VISUAL_ALPHA_MASK_URL_get();
873 internal static readonly int IMAGE_VISUAL_FITTING_MODE = Interop.NDalicImageVisual.IMAGE_VISUAL_FITTING_MODE_get();
874 internal static readonly int IMAGE_VISUAL_SAMPLING_MODE = Interop.NDalicImageVisual.IMAGE_VISUAL_SAMPLING_MODE_get();
875 internal static readonly int IMAGE_VISUAL_DESIRED_WIDTH = Interop.NDalicImageVisual.IMAGE_VISUAL_DESIRED_WIDTH_get();
876 internal static readonly int IMAGE_VISUAL_DESIRED_HEIGHT = Interop.NDalicImageVisual.IMAGE_VISUAL_DESIRED_HEIGHT_get();
877 internal static readonly int IMAGE_VISUAL_SYNCHRONOUS_LOADING = Interop.NDalicImageVisual.IMAGE_VISUAL_SYNCHRONOUS_LOADING_get();
878 internal static readonly int IMAGE_VISUAL_BORDER_ONLY = Interop.NDalicImageVisual.IMAGE_VISUAL_BORDER_ONLY_get();
879 internal static readonly int IMAGE_VISUAL_PIXEL_AREA = Interop.NDalicImageVisual.IMAGE_VISUAL_PIXEL_AREA_get();
880 internal static readonly int IMAGE_VISUAL_WRAP_MODE_U = Interop.NDalicImageVisual.IMAGE_VISUAL_WRAP_MODE_U_get();
881 internal static readonly int IMAGE_VISUAL_WRAP_MODE_V = Interop.NDalicImageVisual.IMAGE_VISUAL_WRAP_MODE_V_get();
882 internal static readonly int IMAGE_VISUAL_BATCH_SIZE = Interop.NDalicImageVisual.IMAGE_VISUAL_BATCH_SIZE_get();
883 internal static readonly int IMAGE_VISUAL_CACHE_SIZE = Interop.NDalicImageVisual.IMAGE_VISUAL_CACHE_SIZE_get();
884 internal static readonly int IMAGE_VISUAL_FRAME_DELAY = Interop.NDalicImageVisual.IMAGE_VISUAL_FRAME_DELAY_get();
885 internal static readonly int IMAGE_VISUAL_LOOP_COUNT = Interop.NDalicImageVisual.IMAGE_VISUAL_LOOP_COUNT_get();
886 internal static readonly int IMAGE_VISUAL_MASK_CONTENT_SCALE = Interop.NDalicImageVisual.IMAGE_VISUAL_MASK_CONTENT_SCALE_get();
887 internal static readonly int IMAGE_VISUAL_CROP_TO_MASK = Interop.NDalicImageVisual.IMAGE_VISUAL_CROP_TO_MASK_get();
888 internal static readonly int IMAGE_VISUAL_RELEASE_POLICY = Interop.NDalicImageVisual.IMAGE_VISUAL_RELEASE_POLICY_get();
889 internal static readonly int IMAGE_VISUAL_LOAD_POLICY = Interop.NDalicImageVisual.IMAGE_VISUAL_LOAD_POLICY_get();
890 internal static readonly int IMAGE_VISUAL_ORIENTATION_CORRECTION = Interop.NDalicImageVisual.IMAGE_VISUAL_ORIENTATION_CORRECTION_get();
891 internal static readonly int IMAGE_VISUAL_AUXILIARY_IMAGE_URL = Interop.NDalicImageVisual.IMAGE_VISUAL_AUXILIARY_IMAGE_URL_get();
892 internal static readonly int IMAGE_VISUAL_AUXILIARY_IMAGE_ALPHA = Interop.NDalicImageVisual.IMAGE_VISUAL_AUXILIARY_IMAGE_ALPHA_get();
894 internal static readonly int MESH_VISUAL_OBJECT_URL = Interop.NDalicMeshVisual.MESH_VISUAL_OBJECT_URL_get();
895 internal static readonly int MESH_VISUAL_MATERIAL_URL = Interop.NDalicMeshVisual.MESH_VISUAL_MATERIAL_URL_get();
896 internal static readonly int MESH_VISUAL_TEXTURES_PATH = Interop.NDalicMeshVisual.MESH_VISUAL_TEXTURES_PATH_get();
897 internal static readonly int MESH_VISUAL_SHADING_MODE = Interop.NDalicMeshVisual.MESH_VISUAL_SHADING_MODE_get();
898 internal static readonly int MESH_VISUAL_USE_MIPMAPPING = Interop.NDalicMeshVisual.MESH_VISUAL_USE_MIPMAPPING_get();
899 internal static readonly int MESH_VISUAL_USE_SOFT_NORMALS = Interop.NDalicMeshVisual.MESH_VISUAL_USE_SOFT_NORMALS_get();
900 internal static readonly int MESH_VISUAL_LIGHT_POSITION = Interop.NDalicMeshVisual.MESH_VISUAL_LIGHT_POSITION_get();
902 internal static readonly int PRIMITIVE_VISUAL_SHAPE = Interop.NdalicPrimitive.PRIMITIVE_VISUAL_SHAPE_get();
903 internal static readonly int PRIMITIVE_VISUAL_MIX_COLOR = Interop.NdalicPrimitive.PRIMITIVE_VISUAL_MIX_COLOR_get();
904 internal static readonly int PRIMITIVE_VISUAL_SLICES = Interop.NdalicPrimitive.PRIMITIVE_VISUAL_SLICES_get();
905 internal static readonly int PRIMITIVE_VISUAL_STACKS = Interop.NdalicPrimitive.PRIMITIVE_VISUAL_STACKS_get();
906 internal static readonly int PRIMITIVE_VISUAL_SCALE_TOP_RADIUS = Interop.NdalicPrimitive.PRIMITIVE_VISUAL_SCALE_TOP_RADIUS_get();
907 internal static readonly int PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS = Interop.NdalicPrimitive.PRIMITIVE_VISUAL_SCALE_BOTTOM_RADIUS_get();
908 internal static readonly int PRIMITIVE_VISUAL_SCALE_HEIGHT = Interop.NdalicPrimitive.PRIMITIVE_VISUAL_SCALE_HEIGHT_get();
909 internal static readonly int PRIMITIVE_VISUAL_SCALE_RADIUS = Interop.NdalicPrimitive.PRIMITIVE_VISUAL_SCALE_RADIUS_get();
910 internal static readonly int PRIMITIVE_VISUAL_SCALE_DIMENSIONS = Interop.NdalicPrimitive.PRIMITIVE_VISUAL_SCALE_DIMENSIONS_get();
911 internal static readonly int PRIMITIVE_VISUAL_BEVEL_PERCENTAGE = Interop.NdalicPrimitive.PRIMITIVE_VISUAL_BEVEL_PERCENTAGE_get();
912 internal static readonly int PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS = Interop.NdalicPrimitive.PRIMITIVE_VISUAL_BEVEL_SMOOTHNESS_get();
913 internal static readonly int PRIMITIVE_VISUAL_LIGHT_POSITION = Interop.NdalicPrimitive.PRIMITIVE_VISUAL_LIGHT_POSITION_get();
915 internal static readonly int TEXT_VISUAL_TEXT = Interop.NDalicText.TEXT_VISUAL_TEXT_get();
916 internal static readonly int TEXT_VISUAL_FONT_FAMILY = Interop.NDalicText.TEXT_VISUAL_FONT_FAMILY_get();
917 internal static readonly int TEXT_VISUAL_FONT_STYLE = Interop.NDalicText.TEXT_VISUAL_FONT_STYLE_get();
918 internal static readonly int TEXT_VISUAL_POINT_SIZE = Interop.NDalicText.TEXT_VISUAL_POINT_SIZE_get();
919 internal static readonly int TEXT_VISUAL_MULTI_LINE = Interop.NDalicText.TEXT_VISUAL_MULTI_LINE_get();
920 internal static readonly int TEXT_VISUAL_HORIZONTAL_ALIGNMENT = Interop.NDalicText.TEXT_VISUAL_HORIZONTAL_ALIGNMENT_get();
921 internal static readonly int TEXT_VISUAL_VERTICAL_ALIGNMENT = Interop.NDalicText.TEXT_VISUAL_VERTICAL_ALIGNMENT_get();
922 internal static readonly int TEXT_VISUAL_TEXT_COLOR = Interop.NDalicText.TEXT_VISUAL_TEXT_COLOR_get();
923 internal static readonly int TEXT_VISUAL_ENABLE_MARKUP = Interop.NDalicText.TEXT_VISUAL_ENABLE_MARKUP_get();
925 internal static readonly int TOOLTIP_CONTENT = Interop.NDalicToolTip.TOOLTIP_CONTENT_get();
926 internal static readonly int TOOLTIP_LAYOUT = Interop.NDalicToolTip.TOOLTIP_LAYOUT_get();
927 internal static readonly int TOOLTIP_WAIT_TIME = Interop.NDalicToolTip.TOOLTIP_WAIT_TIME_get();
928 internal static readonly int TOOLTIP_BACKGROUND = Interop.NDalicToolTip.TOOLTIP_BACKGROUND_get();
929 internal static readonly int TOOLTIP_TAIL = Interop.NDalicToolTip.TOOLTIP_TAIL_get();
930 internal static readonly int TOOLTIP_POSITION = Interop.NDalicToolTip.TOOLTIP_POSITION_get();
931 internal static readonly int TOOLTIP_HOVER_POINT_OFFSET = Interop.NDalicToolTip.TOOLTIP_HOVER_POINT_OFFSET_get();
932 internal static readonly int TOOLTIP_MOVEMENT_THRESHOLD = Interop.NDalicToolTip.TOOLTIP_MOVEMENT_THRESHOLD_get();
933 internal static readonly int TOOLTIP_DISAPPEAR_ON_MOVEMENT = Interop.NDalicToolTip.TOOLTIP_DISAPPEAR_ON_MOVEMENT_get();
935 internal static readonly int TOOLTIP_BACKGROUND_VISUAL = Interop.NDalicToolTip.TOOLTIP_BACKGROUND_VISUAL_get();
936 internal static readonly int TOOLTIP_BACKGROUND_BORDER = Interop.NDalicToolTip.TOOLTIP_BACKGROUND_BORDER_get();
938 internal static readonly int TOOLTIP_TAIL_VISIBILITY = Interop.NDalicToolTip.TOOLTIP_TAIL_VISIBILITY_get();
939 internal static readonly int TOOLTIP_TAIL_ABOVE_VISUAL = Interop.NDalicToolTip.TOOLTIP_TAIL_ABOVE_VISUAL_get();
940 internal static readonly int TOOLTIP_TAIL_BELOW_VISUAL = Interop.NDalicToolTip.TOOLTIP_TAIL_BELOW_VISUAL_get();