public static Geometry GetClip(Visual visual) { IntPtr cPtr = NoesisGUI_PINVOKE.VisualTreeHelper_GetClip(Visual.getCPtr(visual)); if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } return((Geometry)Noesis.Extend.GetProxy(cPtr, false)); }
public static Visual GetChild(Visual visual, int childIndex) { IntPtr cPtr = NoesisGUI_PINVOKE.VisualTreeHelper_GetChild(Visual.getCPtr(visual), childIndex); if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } return((Visual)Noesis.Extend.GetProxy(cPtr, false)); }
public bool IsDescendantOf(Visual visual) { bool ret = NoesisGUI_PINVOKE.Visual_IsDescendantOf(swigCPtr, Visual.getCPtr(visual)); if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public static int GetChildrenCount(Visual visual) { int ret = NoesisGUI_PINVOKE.VisualTreeHelper_GetChildrenCount(Visual.getCPtr(visual)); if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } return(ret); }
public void RemoveLayer(Visual layer) { if (layer == null) { throw new ArgumentNullException("layer"); } { NoesisGUI_PINVOKE.Visual_RemoveLayer(swigCPtr, Visual.getCPtr(layer)); } }
public static AdornerLayer GetAdornerLayer(Visual visual) { if (visual == null) { throw new ArgumentNullException("visual"); } { IntPtr cPtr = NoesisGUI_PINVOKE.AdornerLayer_GetAdornerLayer(Visual.getCPtr(visual)); return((AdornerLayer)Noesis.Extend.GetProxy(cPtr, false)); } }
public static Geometry GetClip(Visual visual) { if (visual == null) { throw new ArgumentNullException("visual"); } { IntPtr cPtr = NoesisGUI_PINVOKE.VisualTreeHelper_GetClip(Visual.getCPtr(visual)); return((Geometry)Noesis.Extend.GetProxy(cPtr, false)); } }
public bool IsDescendantOf(Visual visual) { if (visual == null) { throw new ArgumentNullException("visual"); } { bool ret = NoesisGUI_PINVOKE.Visual_IsDescendantOf(swigCPtr, Visual.getCPtr(visual)); return(ret); } }
public static int GetChildrenCount(Visual visual) { int ret = NoesisGUI_PINVOKE.VisualTreeHelper_GetChildrenCount(Visual.getCPtr(visual)); #if UNITY_EDITOR || NOESIS_API if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } #endif return(ret); }
public bool IsDescendantOf(Visual visual) { bool ret = NoesisGUI_PINVOKE.Visual_IsDescendantOf(swigCPtr, Visual.getCPtr(visual)); #if UNITY_EDITOR || NOESIS_API if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } #endif return(ret); }
public static Visual GetParent(Visual visual) { IntPtr cPtr = NoesisGUI_PINVOKE.VisualTreeHelper_GetParent(Visual.getCPtr(visual)); #if UNITY_EDITOR || NOESIS_API if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } #endif return((Visual)Noesis.Extend.GetProxy(cPtr, false)); }
public Rect MakeVisible(Visual visual, Rect rect) { IntPtr ret = NoesisGUI_PINVOKE.StackPanel_MakeVisible(swigCPtr, Visual.getCPtr(visual), ref rect); if (ret != IntPtr.Zero) { return(Marshal.PtrToStructure <Rect>(ret)); } else { return(new Rect()); } }
public static Size GetSize(Visual visual) { IntPtr ret = NoesisGUI_PINVOKE.VisualTreeHelper_GetSize(Visual.getCPtr(visual)); if (ret != IntPtr.Zero) { return(Marshal.PtrToStructure <Size>(ret)); } else { return(new Size()); } }
public static Point GetOffset(Visual visual) { IntPtr ret = NoesisGUI_PINVOKE.VisualTreeHelper_GetOffset(Visual.getCPtr(visual)); if (ret != IntPtr.Zero) { return(Marshal.PtrToStructure <Point>(ret)); } else { return(new Point()); } }
public static Rect GetDescendantBounds(Visual visual) { IntPtr ret = NoesisGUI_PINVOKE.VisualTreeHelper_GetDescendantBounds(Visual.getCPtr(visual)); if (ret != IntPtr.Zero) { return(Marshal.PtrToStructure <Rect>(ret)); } else { return(new Rect()); } }
public Matrix4 TransformToAncestor(Visual ancestor) { IntPtr ret = NoesisGUI_PINVOKE.Visual_TransformToAncestor(swigCPtr, Visual.getCPtr(ancestor)); if (ret != IntPtr.Zero) { return(Marshal.PtrToStructure <Matrix4>(ret)); } else { return(new Matrix4()); } }
public Matrix4 TransformToDescendant(Visual descendant) { IntPtr ret = NoesisGUI_PINVOKE.Visual_TransformToDescendant(swigCPtr, Visual.getCPtr(descendant)); if (ret != IntPtr.Zero) { return(Marshal.PtrToStructure <Matrix4>(ret)); } else { return(new Matrix4()); } }
public static Rect GetDescendantBounds(Visual visual) { IntPtr ret = NoesisGUI_PINVOKE.VisualTreeHelper_GetDescendantBounds(Visual.getCPtr(visual)); if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } if (ret != IntPtr.Zero) { return(Marshal.PtrToStructure <Rect>(ret)); } else { return(new Rect()); } }
public Rect MakeVisible(Visual visual, Rect rect) { IntPtr ret = NoesisGUI_PINVOKE.StackPanel_MakeVisible(swigCPtr, Visual.getCPtr(visual), ref rect); if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } if (ret != IntPtr.Zero) { return(Marshal.PtrToStructure <Rect>(ret)); } else { return(new Rect()); } }
public static Point GetOffset(Visual visual) { IntPtr ret = NoesisGUI_PINVOKE.VisualTreeHelper_GetOffset(Visual.getCPtr(visual)); if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } if (ret != IntPtr.Zero) { return(Marshal.PtrToStructure <Point>(ret)); } else { return(new Point()); } }
public Matrix4 TransformToVisual(Visual visual) { IntPtr ret = NoesisGUI_PINVOKE.Visual_TransformToVisual(swigCPtr, Visual.getCPtr(visual)); if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } if (ret != IntPtr.Zero) { return(Marshal.PtrToStructure <Matrix4>(ret)); } else { return(new Matrix4()); } }
public static Size GetSize(Visual visual) { if (visual == null) { throw new ArgumentNullException("visual"); } { IntPtr ret = NoesisGUI_PINVOKE.VisualTreeHelper_GetSize(Visual.getCPtr(visual)); if (ret != IntPtr.Zero) { return(Marshal.PtrToStructure <Size>(ret)); } else { return(new Size()); } } }
public static Rect GetDescendantBounds(Visual visual) { if (visual == null) { throw new ArgumentNullException("visual"); } { IntPtr ret = NoesisGUI_PINVOKE.VisualTreeHelper_GetDescendantBounds(Visual.getCPtr(visual)); if (ret != IntPtr.Zero) { return(Marshal.PtrToStructure <Rect>(ret)); } else { return(new Rect()); } } }
public Matrix4 TransformToVisual(Visual visual) { if (visual == null) { throw new ArgumentNullException("visual"); } { IntPtr ret = NoesisGUI_PINVOKE.Visual_TransformToVisual(swigCPtr, Visual.getCPtr(visual)); if (ret != IntPtr.Zero) { return(Marshal.PtrToStructure <Matrix4>(ret)); } else { return(new Matrix4()); } } }
public static Rect GetContentBounds(Visual visual) { IntPtr ret = NoesisGUI_PINVOKE.VisualTreeHelper_GetContentBounds(Visual.getCPtr(visual)); #if UNITY_EDITOR || NOESIS_API if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } #endif if (ret != IntPtr.Zero) { return(Marshal.PtrToStructure <Rect>(ret)); } else { return(new Rect()); } }
public Matrix4 TransformToDescendant(Visual descendant) { IntPtr ret = NoesisGUI_PINVOKE.Visual_TransformToDescendant(swigCPtr, Visual.getCPtr(descendant)); #if UNITY_EDITOR || NOESIS_API if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } #endif if (ret != IntPtr.Zero) { return(Marshal.PtrToStructure <Matrix4>(ret)); } else { return(new Matrix4()); } }
public Visual FindCommonVisualAncestor(Visual visual) { if (visual == null) { throw new ArgumentNullException("visual"); } { IntPtr cPtr = NoesisGUI_PINVOKE.Visual_FindCommonVisualAncestor(swigCPtr, Visual.getCPtr(visual)); return((Visual)Noesis.Extend.GetProxy(cPtr, false)); } }
protected void RemoveVisualChild(Visual child) { NoesisGUI_PINVOKE.Visual_RemoveVisualChild(swigCPtr, Visual.getCPtr(child)); }
public Matrix4 TransformToDescendant(Visual descendant) { if (descendant == null) { throw new ArgumentNullException("descendant"); } { IntPtr ret = NoesisGUI_PINVOKE.Visual_TransformToDescendant(swigCPtr, Visual.getCPtr(descendant)); if (ret != IntPtr.Zero) { return(Marshal.PtrToStructure <Matrix4>(ret)); } else { return(new Matrix4()); } } }
public ManipulationInertiaStartingEventArgs(object s, RoutedEvent e, Visual manipulationContainer, Point manipulationOrigin, ManipulationVelocities initialVelocities) : this(NoesisGUI_PINVOKE.new_ManipulationInertiaStartingEventArgs(Noesis.Extend.GetInstanceHandle(s), RoutedEvent.getCPtr(e), Visual.getCPtr(manipulationContainer), ref manipulationOrigin, ManipulationVelocities.getCPtr(initialVelocities)), true) { if (NoesisGUI_PINVOKE.SWIGPendingException.Pending) { throw NoesisGUI_PINVOKE.SWIGPendingException.Retrieve(); } }