Ejemplo n.º 1
0
    internal static void smethod_1(ShapeBase A_0, double A_1, double A_2, double A_3, double A_4)
    {
        double num = A_1;

        if (A_1 > A_2)
        {
            A_1 = A_2;
            A_2 = num;
        }
        num = A_3;
        if (A_3 > A_4)
        {
            A_3 = A_4;
            A_4 = num;
        }
        smethod_2(A_0, Class969.smethod_33(A_1), Class969.smethod_33(A_3), Class969.smethod_33(A_2 - A_1), Class969.smethod_33(A_4 - A_3));
    }
Ejemplo n.º 2
0
 internal void method_44()
 {
     Class891[] classArray = (Class891[])this.ShapePr.method_31(0x145);
     PointF[]   tfArray    = smethod_0(classArray);
     if (tfArray != null)
     {
         RectangleF ef = this.method_45(tfArray);
         this.Width  = Class969.smethod_33((double)ef.Width);
         this.Height = Class969.smethod_33((double)ef.Height);
         this.Left   = Class969.smethod_33((double)ef.X);
         this.Top    = Class969.smethod_33((double)ef.Y);
         for (int i = 0; i < classArray.Length; i++)
         {
             classArray[i] = new Class891(classArray[i].method_0().method_1() - ((int)ef.X), classArray[i].method_1().method_1() - ((int)ef.Y));
         }
         this.SetShapeAttribute(0x145, classArray);
     }
 }