public static void GetNormalizedTimeSelection(this TransportControl Transport, out Timecode Start, out Timecode End) { if (Transport.SelectionLength < Timecode.FromNanos(0)) { End = Transport.SelectionStart; Start = End + Transport.SelectionLength; } else { Start = Transport.SelectionStart; End = Start = Transport.SelectionLength; } }
internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TransportControl obj) { return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr); }