// This file was generated by the Gtk# code generator.
// Any changes made will be lost if regenerated.

namespace GES {

	using System;
	using System.Collections;
	using System.Collections.Generic;
	using System.Runtime.InteropServices;

#region Autogenerated code
	[StructLayout(LayoutKind.Sequential)]
	public partial struct FrameCompositionMeta : IEquatable<FrameCompositionMeta> {

		public Gst.Meta Meta;
		public double Alpha;
		public double Posx;
		public double Posy;
		public double Height;
		public double Width;
		public uint Zorder;
		public int Operator;

		public static GES.FrameCompositionMeta Zero = new GES.FrameCompositionMeta ();

		public static GES.FrameCompositionMeta New(IntPtr raw) {
			if (raw == IntPtr.Zero)
				return GES.FrameCompositionMeta.Zero;
			return (GES.FrameCompositionMeta) Marshal.PtrToStructure (raw, typeof (GES.FrameCompositionMeta));
		}

		public bool Equals (FrameCompositionMeta other)
		{
			return true && Meta.Equals (other.Meta) && Alpha.Equals (other.Alpha) && Posx.Equals (other.Posx) && Posy.Equals (other.Posy) && Height.Equals (other.Height) && Width.Equals (other.Width) && Zorder.Equals (other.Zorder) && Operator.Equals (other.Operator);
		}

		public override bool Equals (object other)
		{
			return other is FrameCompositionMeta && Equals ((FrameCompositionMeta) other);
		}

		public override int GetHashCode ()
		{
			return this.GetType ().FullName.GetHashCode () ^ Meta.GetHashCode () ^ Alpha.GetHashCode () ^ Posx.GetHashCode () ^ Posy.GetHashCode () ^ Height.GetHashCode () ^ Width.GetHashCode () ^ Zorder.GetHashCode () ^ Operator.GetHashCode ();
		}

		private static GLib.GType GType {
			get { return GLib.GType.Pointer; }
		}
#endregion
	}
}
