Esempio n. 1
0
        internal spr➓ method_49()
        {
            new Class450();
            Class724 class2 = new Class724(this);

            return(Class220.smethod_0(class2, null));
        }
Esempio n. 2
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));
        }
    }
Esempio n. 3
0
        internal void method_33(Graphics A_0, PointF A_1)
        {
            Class450 class2 = new Class450();
            Class724 class3 = new Class724(this);
            spr➓     r➓     = Class220.smethod_0(class3, null);

            class2.method_1(r➓, A_0, A_1);
        }
Esempio n. 4
0
        internal void method_32(Graphics A_0)
        {
            Class450 class2 = new Class450();
            Class724 class3 = new Class724(this);
            spr➓     r➓     = Class220.smethod_0(class3, null);

            class2.method_0(r➓, A_0);
        }
Esempio n. 5
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));
 }
Esempio n. 6
0
        internal void method_50(Graphics A_0, bool A_1)
        {
            Class450 class2 = new Class450 {
                bool_0 = A_1
            };
            Class724 class3 = new Class724(this);
            spr➓     r➓     = Class220.smethod_0(class3, null);

            class2.method_0(r➓, A_0);
        }
Esempio n. 7
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);
    }
Esempio n. 8
0
    public Class218(ShapeBase A_0)
    {
        int num = 0x13;

        if (A_0 == null)
        {
            throw new ArgumentNullException(BookmarkStart.b("䨸区尼伾⑀", num));
        }
        Class724 class2 = new Class724(A_0);

        this.spr➓_0 = Class220.smethod_0(class2, null);
        this.method_6(class2);
    }
Esempio n. 9
0
        private long method_21(DxfWriter w, PagedMemoryStream binData, long binDataSizeInBits)
        {
            Class724 class724 = (Class724)Class724.smethod_0(Class885.smethod_4(this.dwgVersion_0), (Stream)binData, Encodings.GetEncoding((int)w.Model.Header.DrawingCodePage));

            class724.imethod_47(binDataSizeInBits);
            if (this.uint_0 > 0U)
            {
                this.stream_1.Position = 0L;
                this.method_14((Interface29)class724, this.stream_1, (long)this.uint_0);
                class724.imethod_50((long)this.uint_0);
            }
            class724.imethod_14(this.uint_0 > 0U);
            binDataSizeInBits += (long)this.uint_0;
            return(binDataSizeInBits);
        }
Esempio n. 10
0
 internal Class672(Class672 A_0, Class679[] A_1)
 {
     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.class724_0;
     this.sprℭ_0        = A_0.sprℭ_0;
     this.shapeObject_0 = A_0.method_28();
     this.class316_0    = A_0.class316_0;
     this.sizeF_0       = A_0.sizeF_0;
     this.sizeF_1       = A_0.sizeF_1;
     this.spr➓_0        = new spr➓();
     Class889.smethod_0(this);
     this.class679_0 = A_1;
 }
Esempio n. 11
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().ᜂ());
    }
Esempio n. 12
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));
    }
Esempio n. 13
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) });
    }
Esempio n. 14
0
        internal override void vmethod_12(Class432 ow)
        {
            Interface29 objectWriter = ow.ObjectWriter;

            objectWriter.imethod_14(this.proxyGraphics_0 != null);
            if (this.proxyGraphics_0 == null)
            {
                return;
            }
            PagedMemoryStream from = new PagedMemoryStream(4096L, 4096);

            this.proxyGraphics_0.Write((Stream)from, ow.Model);
            if (ow.Version < DxfVersion.Dxf24)
            {
                objectWriter.imethod_19((int)from.Length);
            }
            else
            {
                objectWriter.imethod_34(from.Length);
            }
            from.Position = 0L;
            Class724.smethod_2(from, objectWriter);
        }
Esempio n. 15
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);
 }
Esempio n. 16
0
 internal void method_0(Class724 A_0)
 {
     this.rectangleF_0 = Class725.smethod_0(A_0, this.spr➓_0);
 }
Esempio n. 17
0
    internal static RectangleF smethod_0(Class724 A_0, spr➓ A_1)
    {
        Class725 class2 = new Class725();

        return(class2.method_0(A_0, A_1));
    }