public static Fraction operator /(Fraction f1, Fraction f2) { var result = new Fraction(); result.Numerator = (f1.Numerator * f2.Denominator); result.Denominator = (f1.Denominator * f2.Numerator); result.Simplify(); return result; }
public FractionTransform2D(Fraction M11, Fraction M12, Fraction M21, Fraction M22, Fraction OffsetX, Fraction OffsetY) { this.M11 = M11; this.M12 = M12; this.M21 = M21; this.M22 = M22; this.OffsetX = OffsetX; this.OffsetY = OffsetY; }