public Gst.Video.VideoOverlayRectangle Copy() { IntPtr raw_ret = gst_video_overlay_rectangle_copy(Handle); Gst.Video.VideoOverlayRectangle ret = raw_ret == IntPtr.Zero ? null : (Gst.Video.VideoOverlayRectangle)GLib.Opaque.GetOpaque(raw_ret, typeof(Gst.Video.VideoOverlayRectangle), true); return(ret); }
public Gst.Video.VideoOverlayRectangle GetRectangle(uint n) { IntPtr raw_ret = gst_video_overlay_composition_get_rectangle(Handle, n); Gst.Video.VideoOverlayRectangle ret = raw_ret == IntPtr.Zero ? null : (Gst.Video.VideoOverlayRectangle)GLib.Opaque.GetOpaque(raw_ret, typeof(Gst.Video.VideoOverlayRectangle), false); return(ret); }
public void AddRectangle(Gst.Video.VideoOverlayRectangle rectangle) { IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal(System.Runtime.InteropServices.Marshal.SizeOf(this)); System.Runtime.InteropServices.Marshal.StructureToPtr(this, this_as_native, false); gst_video_overlay_composition_add_rectangle(this_as_native, rectangle == null ? IntPtr.Zero : rectangle.Handle); ReadNative(this_as_native, ref this); System.Runtime.InteropServices.Marshal.FreeHGlobal(this_as_native); }
public Gst.Video.VideoOverlayRectangle GetRectangle(uint n) { IntPtr this_as_native = System.Runtime.InteropServices.Marshal.AllocHGlobal(System.Runtime.InteropServices.Marshal.SizeOf(this)); System.Runtime.InteropServices.Marshal.StructureToPtr(this, this_as_native, false); IntPtr raw_ret = gst_video_overlay_composition_get_rectangle(this_as_native, n); Gst.Video.VideoOverlayRectangle ret = raw_ret == IntPtr.Zero ? null : (Gst.Video.VideoOverlayRectangle)GLib.Opaque.GetOpaque(raw_ret, typeof(Gst.Video.VideoOverlayRectangle), false); ReadNative(this_as_native, ref this); System.Runtime.InteropServices.Marshal.FreeHGlobal(this_as_native); return(ret); }
public void AddRectangle(Gst.Video.VideoOverlayRectangle rectangle) { gst_video_overlay_composition_add_rectangle(Handle, rectangle == null ? IntPtr.Zero : rectangle.Handle); }
public VideoOverlayComposition(Gst.Video.VideoOverlayRectangle rectangle) { Raw = gst_video_overlay_composition_new(rectangle == null ? IntPtr.Zero : rectangle.Handle); }
public static VideoOverlayComposition New(Gst.Video.VideoOverlayRectangle rectangle) { VideoOverlayComposition result = VideoOverlayComposition.New(gst_video_overlay_composition_new(rectangle == null ? IntPtr.Zero : rectangle.Handle)); return(result); }