Exemplo n.º 1
0
    private void method_12(Class724 A_0, Class673 A_1, Class69 A_2, bool A_3)
    {
        spr➓        r➓   = A_2.method_1();
        ShapeObject obj2 = (ShapeObject)A_0.method_3();

        if (this.class672_0.method_10() != null)
        {
            Class1024 class2 = new Class1024();
            int       num    = this.class672_0.method_10().();
            if (obj2.HorizontalRule.method_0())
            {
                spr➓ r➓2 = new spr➓();
                r➓.ᜁ(r➓2);
                r➓ = r➓2;
                smethod_2(obj2.HorizontalRule.method_6(), A_0.method_4().Width, A_0.method_1(), r➓2);
            }
            PointF[]  tfArray = this.method_13(obj2);
            Class1021 class3  = (tfArray == null) ? ((A_3 || A_0.method_14()) ? new Class1021(base.sprℭ_0) : null) : null;
            this.method_14(r➓, num, class2, class3);
            this.method_15(r➓, obj2, A_1, class3);
            this.method_16(r➓, num, class2, class3);
            A_2.method_3((tfArray != null) ? new Class722(tfArray, true) : ((class3 != null) ? class3.method_4() : null));
        }
        this.class315_0.method_1(this.class672_0, r➓);
        if (((obj2.ParentObject != null) && (obj2.ParentObject.DocumentObjectType == DocumentObjectType.ShapeGroup)) && sprḆ.(obj2.HRef))
        {
            r➓.ᜀ(new spr⠱(obj2.BoundsInPoints, obj2.HRef));
        }
    }
Exemplo n.º 2
0
 private RectangleF method_0(Class724 A_0, spr➓ A_1)
 {
     PointF[] tfArray = smethod_1(A_0, A_1);
     if (A_0.method_3().ShapeType != ShapeType.Group)
     {
         smethod_4(A_0, tfArray);
     }
     this.method_1(tfArray);
     return(new RectangleF(this.float_0, this.float_2, this.float_1 - this.float_0, this.float_3 - this.float_2));
 }
Exemplo n.º 3
0
    private static RectangleF smethod_3(Class724 A_0)
    {
        float width;
        float height;

        if (A_0.method_4().IsEmpty)
        {
            SizeF sizeInPoints = A_0.method_3().SizeInPoints;
            width  = sizeInPoints.Width;
            height = sizeInPoints.Height;
        }
        else
        {
            RectangleF ef5 = A_0.method_3().method_47(new RectangleF(0f, 0f, A_0.method_4().Width, A_0.method_4().Height));
            width  = ef5.Width;
            height = ef5.Height;
        }
        return(new RectangleF(0f, 0f, width, height));
    }
Exemplo n.º 4
0
    private static PointF[] smethod_1(Class724 A_0, spr➓ A_1)
    {
        RectangleF ef;

        if (A_0.method_3().ShapeType == ShapeType.Group)
        {
            ef = smethod_2(A_1);
            PointF[] tfArray = spr⃸.ᜀ(smethod_3(A_0));
            smethod_4(A_0, tfArray);
            ef = (ef == RectangleF.Empty) ? smethod_3(A_0) : spr⃸.ᜀ(ef, spr⃸.ᜁ(tfArray));
            return(spr⃸.ᜀ(ef));
        }
        ef = smethod_3(A_0);
        ShapeObject obj2   = (ShapeObject)A_0.method_3();
        float       left   = ef.Left;
        float       top    = ef.Top;
        float       right  = ef.Right;
        float       bottom = ef.Bottom;
        float       num5   = 0f;
        float       num6   = 0f;
        float       num7   = 0f;
        float       num8   = 0f;
        Class826    stroke = obj2.Stroke;
        bool        flag   = Class1022.smethod_1(obj2);

        if (stroke.method_0())
        {
            num5 = (float)stroke.method_2();
            num6 = num5;
            num7 = num5;
            num8 = num5;
        }
        float num9 = flag ? 1f : 0.5f;

        left   -= num7 * num9;
        top    -= num5 * num9;
        right  += num8 * num9;
        bottom += num6 * num9;
        return(new PointF[] { new PointF(left, top), new PointF(right, top), new PointF(right, bottom), new PointF(left, bottom) });
    }
Exemplo n.º 5
0
    private static void smethod_4(Class724 A_0, PointF[] A_1)
    {
        spr➂   r➂            = new spr➂();
        double totalRotation = A_0.method_3().TotalRotation;
        PointF tf            = A_1[0];
        PointF tf2           = A_1[2];

        if (totalRotation != 0.0)
        {
            r➂.ᜀ((float)totalRotation, new PointF(tf.X + ((tf2.X - tf.X) * 0.5f), tf.Y + ((tf2.Y - tf.Y) * 0.5f)));
        }
        r➂.ᜀ(A_1);
    }
Exemplo n.º 6
0
 internal Class672(Class724 A_0, Class673 A_1, sprℭ A_2)
 {
     this.rectangleF_0  = RectangleF.Empty;
     this.pointF_1      = PointF.Empty;
     this.sizeF_0       = SizeF.Empty;
     this.sizeF_1       = SizeF.Empty;
     this.class724_0    = A_0;
     this.sprℭ_0        = A_2;
     this.shapeObject_0 = (ShapeObject)A_0.method_3();
     this.class316_0    = new Class316(this.shapeObject_0, A_0.method_4(), A_1);
     this.class316_1    = new Class316(this.shapeObject_0, A_0.method_4(), A_1, this.shapeObject_0.Owner is ShapeGroup);
     if (A_0.method_4().IsEmpty)
     {
         this.sizeF_0 = A_0.method_3().Size;
         this.sizeF_1 = A_0.method_3().SizeInPoints;
     }
     else
     {
         this.sizeF_0 = A_0.method_4();
         this.sizeF_1 = A_0.method_4();
     }
     this.spr➓_0 = new spr➓();
     Class889.smethod_0(this);
 }
Exemplo n.º 7
0
    protected spr➓ method_0(Class724 A_0, bool A_1)
    {
        spr➓    r➓     = null;
        Class69 class2 = (Class69)this.hashtable_0[A_0.method_3()];

        if (class2 == null)
        {
            return(r➓);
        }
        A_0.method_2(class2.method_4());
        if (A_1)
        {
            A_0.method_5(class2.method_4().Size);
        }
        A_0.method_13(class2.method_2());
        return(class2.method_1().ᜂ());
    }