예제 #1
0
 public double method_1(double A_0, PrintUnits A_1, PrintUnits A_2)
 {
     if (A_1 == A_2)
     {
         return(A_0);
     }
     return(this.method_8(this.method_3(A_0, A_1), A_2));
 }
예제 #2
0
    public RectangleF method_9(RectangleF A_0, PrintUnits A_1)
    {
        float x     = this.method_7(A_0.X, A_1);
        float y     = this.method_7(A_0.Y, A_1);
        float width = this.method_7(A_0.Width, A_1);

        return(new RectangleF(x, y, width, this.method_7(A_0.Height, A_1)));
    }
예제 #3
0
 public double method_8(double A_0, PrintUnits A_1)
 {
     if (A_1 == PrintUnits.Pixel)
     {
         return(A_0);
     }
     return(A_0 / this.double_0[(int)A_1]);
 }
예제 #4
0
 public float method_7(float A_0, PrintUnits A_1)
 {
     if (A_1 == PrintUnits.Pixel)
     {
         return(A_0);
     }
     return((float)(((double)A_0) / this.double_0[(int)A_1]));
 }
예제 #5
0
 public double method_16(double A_0, PrintUnits A_1, float A_2)
 {
     if (A_1 == PrintUnits.Pixel)
     {
         return(A_0);
     }
     double[] numArray = this.method_19(A_2);
     return(A_0 / numArray[(int)A_1]);
 }
예제 #6
0
 public float method_15(float A_0, PrintUnits A_1, float A_2)
 {
     if (A_1 == PrintUnits.Pixel)
     {
         return(A_0);
     }
     double[] numArray = this.method_19(A_2);
     return((float)(((double)A_0) / numArray[(int)A_1]));
 }
예제 #7
0
    public SizeF method_12(SizeF A_0, PrintUnits A_1)
    {
        float width = this.method_7(A_0.Width, A_1);

        return(new SizeF(width, this.method_7(A_0.Height, A_1)));
    }
예제 #8
0
    public PointF method_10(PointF A_0, PrintUnits A_1)
    {
        float x = this.method_7(A_0.X, A_1);

        return(new PointF(x, this.method_7(A_0.Y, A_1)));
    }
예제 #9
0
    public SizeF method_18(SizeF A_0, PrintUnits A_1, float A_2, float A_3)
    {
        float width = this.method_15(A_0.Width, A_1, A_2);

        return(new SizeF(width, this.method_15(A_0.Height, A_1, A_3)));
    }