public static void FreeManagedPtr_inner(System.IntPtr ptr) { RectF_Struct obj = (RectF_Struct)Marshal.PtrToStructure(ptr, typeof(RectF_Struct) ); if (obj._owner != 0x972f3813) { throw new System.InvalidOperationException(); } }
public static void MarshalOut(System.IntPtr ptr, android.graphics.RectF arg) { RectF_Struct obj = (RectF_Struct)Marshal.PtrToStructure(ptr, typeof(RectF_Struct) ); arg.left = obj.left; arg.top = obj.top; arg.right = obj.right; arg.bottom = obj.bottom; }
public static void MarshalIn(System.IntPtr ptr, android.graphics.RectF arg) { RectF_Struct obj = new RectF_Struct(); obj._owner = 0x972f3813; obj.left = arg.left; obj.top = arg.top; obj.right = arg.right; obj.bottom = arg.bottom; Marshal.StructureToPtr(obj, ptr, false); }
public static android.graphics.RectF NativeToManaged(System.IntPtr ptr) { if (ptr == System.IntPtr.Zero) { return(null); } RectF_Struct obj = (RectF_Struct)Marshal.PtrToStructure(ptr, typeof(RectF_Struct) ); android.graphics.RectF arg = new android.graphics.RectF(); arg.left = obj.left; arg.top = obj.top; arg.right = obj.right; arg.bottom = obj.bottom; return(arg); }