C# Class Gst.Fraction

Show file Open project: GStreamer/gstreamer-sharp Class Usage Examples

Public Methods

Method Description
Fraction ( GLib val ) : System
Fraction ( int numerator, int denominator ) : System
SetGValue ( GLib &val ) : void
ToString ( ) : string
operator ( ) : Fraction

Private Methods

Method Description
GreatestCommonDivisor ( Fraction fraction ) : int
Reduce ( ) : void
gst_fraction_get_type ( ) : IntPtr
gst_value_get_fraction_denominator ( GLib &v ) : int
gst_value_get_fraction_numerator ( GLib &v ) : int
gst_value_set_fraction ( GLib &v, int numerator, int denominator ) : void

Method Details

Fraction() public method

public Fraction ( GLib val ) : System
val GLib
return System

Fraction() public method

public Fraction ( int numerator, int denominator ) : System
numerator int
denominator int
return System

SetGValue() public method

public SetGValue ( GLib &val ) : void
val GLib
return void

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : Fraction
return Fraction