gstreamer/sources/generated/Gst.Video/VideoRectangle.cs
Thibault Saunier 2d00f898fb Move generated files to dedicated folders named by namespace
Making it cleaner and simpler to navigate and removing previous
ugly and now useless hack where we were renaming files ourself
to make meson happy.
2018-03-11 21:47:35 -03:00

48 lines
1.3 KiB
C#

// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.
namespace Gst.Video {
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.InteropServices;
#region Autogenerated code
[StructLayout(LayoutKind.Sequential)]
public partial struct VideoRectangle : IEquatable<VideoRectangle> {
public int X;
public int Y;
public int W;
public int H;
public static Gst.Video.VideoRectangle Zero = new Gst.Video.VideoRectangle ();
public static Gst.Video.VideoRectangle New(IntPtr raw) {
if (raw == IntPtr.Zero)
return Gst.Video.VideoRectangle.Zero;
return (Gst.Video.VideoRectangle) Marshal.PtrToStructure (raw, typeof (Gst.Video.VideoRectangle));
}
public bool Equals (VideoRectangle other)
{
return true && X.Equals (other.X) && Y.Equals (other.Y) && W.Equals (other.W) && H.Equals (other.H);
}
public override bool Equals (object other)
{
return other is VideoRectangle && Equals ((VideoRectangle) other);
}
public override int GetHashCode ()
{
return this.GetType ().FullName.GetHashCode () ^ X.GetHashCode () ^ Y.GetHashCode () ^ W.GetHashCode () ^ H.GetHashCode ();
}
private static GLib.GType GType {
get { return GLib.GType.Pointer; }
}
#endregion
}
}