예제 #1
0
        internal override void Read(Class434 or, Class259 objectBuilder)
        {
            base.Read(or, objectBuilder);
            Interface30 objectBitStream = or.ObjectBitStream;

            if (or.Builder.Version > DxfVersion.Dxf21)
            {
                this.short_0 = objectBitStream.imethod_14();
            }
            this.contentType_0      = (MLeader.ContentType)objectBitStream.imethod_14();
            this.drawMLeaderOrder_0 = (MLeader.DrawMLeaderOrder)objectBitStream.imethod_14();
            this.drawLeaderOrder_0  = (MLeader.DrawLeaderOrder)objectBitStream.imethod_14();
            this.int_0        = objectBitStream.imethod_11();
            this.double_0     = objectBitStream.imethod_8();
            this.double_1     = objectBitStream.imethod_8();
            this.leaderType_0 = (MLeader.LeaderType)objectBitStream.imethod_14();
            this.color_0      = objectBitStream.imethod_22();
            or.method_78((System.Action <DxfObjectReference>)(o => this.dxfObjectReference_3 = o));
            this.int_1    = objectBitStream.imethod_11();
            this.bool_0   = objectBitStream.imethod_6();
            this.double_2 = objectBitStream.imethod_8();
            this.bool_1   = objectBitStream.imethod_6();
            this.double_3 = objectBitStream.imethod_8();
            this.string_0 = objectBitStream.ReadString();
            or.method_78((System.Action <DxfObjectReference>)(o => this.dxfObjectReference_4 = o));
            this.double_4 = objectBitStream.imethod_8();
            this.string_1 = objectBitStream.ReadString();
            or.method_78((System.Action <DxfObjectReference>)(o => this.dxfObjectReference_5 = o));
            this.textAttachment_0 = (MLeader.TextAttachment)objectBitStream.imethod_14();
            this.textAttachment_1 = (MLeader.TextAttachment)objectBitStream.imethod_14();
            this.textAngleType_0  = (MLeader.TextAngleType)objectBitStream.imethod_14();
            this.textAlignment_0  = (MLeader.TextAlignment)objectBitStream.imethod_14();
            this.color_1          = objectBitStream.imethod_22();
            this.double_5         = objectBitStream.imethod_8();
            this.bool_2           = objectBitStream.imethod_6();
            this.bool_3           = objectBitStream.imethod_6();
            this.double_6         = objectBitStream.imethod_8();
            or.method_78((System.Action <DxfObjectReference>)(o => this.dxfObjectReference_6 = o));
            this.color_2               = objectBitStream.imethod_22();
            this.vector3D_0            = objectBitStream.imethod_51();
            this.bool_4                = objectBitStream.imethod_6();
            this.double_7              = objectBitStream.imethod_8();
            this.bool_5                = objectBitStream.imethod_6();
            this.blockConnectionType_0 = (MLeader.BlockConnectionType)objectBitStream.imethod_14();
            this.double_8              = objectBitStream.imethod_8();
            this.bool_7                = objectBitStream.imethod_6();
            this.bool_6                = objectBitStream.imethod_6();
            this.double_9              = objectBitStream.imethod_8();
            if (or.Builder.Version > DxfVersion.Dxf21)
            {
                this.textAttachmentDirection_0 = (MLeader.TextAttachmentDirection)objectBitStream.imethod_14();
                this.textAttachment_3          = (MLeader.TextAttachment)objectBitStream.imethod_14();
                this.textAttachment_2          = (MLeader.TextAttachment)objectBitStream.imethod_14();
            }
            if (or.Builder.Version <= DxfVersion.Dxf24)
            {
                return;
            }
            this.bool_8 = objectBitStream.imethod_6();
        }
예제 #2
0
        internal override void Read(Class434 or, Class259 ob)
        {
            base.Read(or, ob);
            Interface30 objectBitStream = or.ObjectBitStream;

            this.point3D_0  = objectBitStream.imethod_39();
            this.vector3D_0 = objectBitStream.imethod_51();
        }
예제 #3
0
        internal override void vmethod_11(Class434 or, Class285 entityBuilder, long imageSize)
        {
            PagedMemoryStream targetStream = new PagedMemoryStream((long)(int)imageSize, System.Math.Min((int)imageSize, 65536));

            or.ObjectBitStream.imethod_20((int)imageSize, targetStream);
            this.proxyGraphics_0 = new ProxyGraphics();
            ((DxfProxyEntity.Class287)entityBuilder).ProxyGraphicsBuilder = this.proxyGraphics_0.Read((Stream)targetStream, or.Builder);
        }
예제 #4
0
 internal virtual void Read(Class434 or, Class259 objectBuilder)
 {
     or.method_97(objectBuilder);
     if (this.Handle == 0UL)
     {
         return;
     }
     or.method_96(objectBuilder);
 }
        internal override void Read(Class434 or, Class259 ob)
        {
            base.Read(or, ob);
            Interface30 objectBitStream = or.ObjectBitStream;

            this.Name        = objectBitStream.ReadString();
            this.Description = objectBitStream.ReadString();
            this.Value       = objectBitStream.imethod_8();
            this.dxfBlockParametersValueSet_0 = or.method_5();
        }
예제 #6
0
        internal override void Read(Class434 or, Class259 ob)
        {
            base.Read(or, ob);
            Interface30 objectBitStream = or.ObjectBitStream;

            this.textHorizontalAlignment_0 = (TextHorizontalAlignment)objectBitStream.imethod_14();
            this.double_0  = objectBitStream.imethod_8();
            this.point2D_1 = objectBitStream.imethod_38();
            this.point2D_0 = objectBitStream.imethod_38();
        }
예제 #7
0
        internal override void Read(Class434 or, Class259 ob)
        {
            base.Read(or, ob);
            Interface30 objectBitStream = or.ObjectBitStream;

            this.int_0 = objectBitStream.imethod_11();
            this.imageDisplayFrameFlag_0 = (ImageDisplayFrameFlag)objectBitStream.imethod_14();
            this.imageDisplayQuality_0   = (ImageDisplayQuality)objectBitStream.imethod_14();
            this.imageInsertionUnits_0   = (ImageInsertionUnits)objectBitStream.imethod_14();
        }
예제 #8
0
        internal override void Read(Class434 or, Class259 ob)
        {
            base.Read(or, ob);
            Interface30 objectBitStream = or.ObjectBitStream;

            ((DxfHatchViewContextData.Class312)ob).ViewportHandle = or.method_100();
            this.vector3D_1 = objectBitStream.imethod_51();
            this.double_1   = objectBitStream.imethod_8();
            this.bool_1     = objectBitStream.imethod_6();
        }
예제 #9
0
    internal string method_27()
    {
        int           num     = 0x11;
        StringBuilder builder = new StringBuilder();

        for (int i = 0; i < base.method_4(); i++)
        {
            Class434 class2 = (Class434)base.method_18(i);
            builder.AppendFormat(BookmarkStart.b("氶䈸଺䀼ጾ㩀牂㡄歆㉈祊が቎", num), base.method_16(i), class2.int_1, class2.int_0);
        }
        return(builder.ToString());
    }
예제 #10
0
    internal void method_26(Class148 A_0, int A_1)
    {
        int num = base.method_4();

        for (int i = 0; i < A_0.method_4(); i++)
        {
            Class434 class2 = (Class434)A_0.method_18(i);
            class2.int_1 += num;
            int num3 = A_0.method_16(i);
            base.method_6(A_1 + num3, class2);
        }
    }
예제 #11
0
        internal override void Read(Class434 or, Class259 objectBuilder)
        {
            base.Read(or, objectBuilder);
            Interface30 objectBitStream = or.ObjectBitStream;
            int         num1;

            if (or.Builder.Version > DxfVersion.Dxf14)
            {
                num1 = objectBitStream.imethod_11();
                if (or.Builder.Version > DxfVersion.Dxf15)
                {
                    objectBitStream.ReadString();
                }
                int num2 = objectBitStream.imethod_11();
                this.dwgVersion_0 = (DwgVersion)(num2 & (int)ushort.MaxValue);
                this.short_1      = (short)(num2 >> 16);
                this.bool_2       = objectBitStream.imethod_6();
                if (this.bool_2)
                {
                    objectBitStream.imethod_11();
                    objectBitStream.imethod_11();
                }
            }
            else
            {
                num1 = objectBitStream.imethod_11();
                objectBitStream.imethod_11();
            }
            this.dxfClass_0 = or.Builder.Model.Classes.GetClassWithClassNumber((short)num1);
            Class1048 class1048 = (Class1048)objectBitStream;

            this.stream_0 = (Stream) new PagedMemoryStream(1024L, 1024);
            this.long_0   = (long)class1048.MainReader.imethod_21((PagedMemoryStream)this.stream_0);
            Class444.Create(or.Builder.Version, this.stream_0);
            if (class1048.StringReader != class1048.MainReader)
            {
                this.stream_1 = (Stream) new PagedMemoryStream(1024L, 1024);
                this.uint_0   = class1048.StringReader.imethod_21((PagedMemoryStream)this.stream_1);
            }
            else
            {
                this.method_13(or.Builder.Version);
            }
            while (class1048.HandleReader.Stream.Position < class1048.HandleReader.Stream.Length)
            {
                ReferenceType           referenceType;
                ulong                   handle = class1048.HandleReader.imethod_34(0UL, true, out referenceType);
                DxfTypedObjectReference typedObjectReference = new DxfTypedObjectReference(referenceType);
                this.list_0.Add(typedObjectReference);
                objectBuilder.ChildBuilders.Add((Interface10)typedObjectReference.method_0(handle));
            }
        }
        internal override void Read(Class434 or, Class259 ob)
        {
            base.Read(or, ob);
            Interface30 objectBitStream = or.ObjectBitStream;

            this.BasePointAngular             = objectBitStream.imethod_39();
            this.TextPosition                 = objectBitStream.imethod_39();
            this.Name                         = objectBitStream.ReadString();
            this.Description                  = objectBitStream.ReadString();
            this.Value                        = objectBitStream.imethod_8();
            this.Unknown1                     = objectBitStream.imethod_6();
            this.dxfBlockParametersValueSet_0 = or.method_5();
        }
예제 #13
0
        internal override void Read(Class434 or, Class259 ob)
        {
            base.Read(or, ob);
            Interface30 objectBitStream = or.ObjectBitStream;

            this.bool_0   = objectBitStream.imethod_14() == (short)1;
            this.string_0 = objectBitStream.ReadString();
            if (this.string_0 == "")
            {
                throw new DxfException("Invalid scale name");
            }
            this.double_0 = objectBitStream.imethod_8();
            this.double_1 = objectBitStream.imethod_8();
            this.bool_1   = objectBitStream.imethod_6();
        }
예제 #14
0
 internal void Read(Class434 or, DxfVisualStyle.Class486 pr)
 {
     if (or.Version < DxfVersion.Dxf24)
     {
         this.displayFlags_0 = (DisplayFlags)pr.vmethod_3();
         this.double_0       = (double)pr.vmethod_3();
         this.shadowType_0   = (ShadowType)pr.vmethod_3();
     }
     else
     {
         this.displayFlags_0 = (DisplayFlags)pr.vmethod_3();
         this.double_0       = pr.vmethod_4();
         this.shadowType_0   = (ShadowType)pr.vmethod_3();
     }
 }
예제 #15
0
        internal void method_10(Class434 or, Class259 ob)
        {
            Interface30 objectBitStream = or.ObjectBitStream;
            int         num             = objectBitStream.imethod_11();

            for (int index = 0; index < num; ++index)
            {
                MLeader.LeaderNode leaderNode = new MLeader.LeaderNode();
                leaderNode.Read(or);
                this.list_0.Add(leaderNode);
            }
            this.double_0          = objectBitStream.imethod_8();
            this.point3D_0         = objectBitStream.imethod_39();
            this.double_1          = objectBitStream.imethod_8();
            this.double_2          = objectBitStream.imethod_8();
            this.double_3          = objectBitStream.imethod_8();
            this.textAttachment_0  = (MLeader.TextAttachment)objectBitStream.imethod_14();
            this.textAttachment_1  = (MLeader.TextAttachment)objectBitStream.imethod_14();
            this.textAlignment_0   = (MLeader.TextAlignment)objectBitStream.imethod_14();
            this.blockAttachment_0 = (MLeader.BlockAttachment)objectBitStream.imethod_14();
            this.bool_1            = objectBitStream.imethod_6();
            if (this.bool_1)
            {
                MLeader.ContentText contentText = new MLeader.ContentText();
                contentText.Read(or);
                this.content_0 = (MLeader.Content)contentText;
            }
            else
            {
                this.bool_2 = objectBitStream.imethod_6();
                if (this.bool_2)
                {
                    MLeader.ContentBlock contentBlock = new MLeader.ContentBlock();
                    contentBlock.Read(or);
                    this.content_0 = (MLeader.Content)contentBlock;
                }
            }
            this.point3D_1  = objectBitStream.imethod_39();
            this.vector3D_0 = objectBitStream.imethod_51();
            this.vector3D_1 = objectBitStream.imethod_51();
            this.bool_3     = objectBitStream.imethod_6();
            if (or.Builder.Version <= DxfVersion.Dxf21)
            {
                return;
            }
            this.textAttachment_3 = (MLeader.TextAttachment)objectBitStream.imethod_14();
            this.textAttachment_2 = (MLeader.TextAttachment)objectBitStream.imethod_14();
        }
예제 #16
0
        internal override void Read(Class434 or, Class259 ob)
        {
            base.Read(or, ob);
            Interface30 objectBitStream = or.ObjectBitStream;
            int         num             = (int)objectBitStream.imethod_14();

            this.list_0.Clear();
            for (int index = 0; index < num; ++index)
            {
                this.list_0.Add(objectBitStream.imethod_39());
            }
            this.vector3D_2          = objectBitStream.imethod_51();
            this.hookLineDirection_0 = objectBitStream.imethod_6() ? HookLineDirection.Same : HookLineDirection.Opposite;
            this.vector3D_0          = objectBitStream.imethod_51();
            this.vector3D_1          = objectBitStream.imethod_51();
        }
예제 #17
0
        internal override void Read(Class434 or, Class259 builder)
        {
            base.Read(or, builder);
            Interface30 objectBitStream = or.ObjectBitStream;

            this.short_0     = objectBitStream.imethod_14();
            this.ColumnCount = objectBitStream.imethod_11();
            this.RowCount    = objectBitStream.imethod_11();
            this.string_0    = objectBitStream.ReadString();
            int num = 0;

            foreach (DxfDataColumn dxfDataColumn in (ActiveList <DxfDataColumn>) this.dxfDataColumnCollection_0)
            {
                dxfDataColumn.Read(objectBitStream, (DxfDataTable.Class273)builder, num++);
            }
        }
예제 #18
0
 internal override void Read(Class434 or, Class259 ob)
 {
     base.Read(or, ob);
     if (or.ObjectBitStream.imethod_6())
     {
         if (this.dxfMTextObjectContextData_0 == null)
         {
             this.dxfMTextObjectContextData_0 = new DxfMTextObjectContextData();
         }
         this.dxfMTextObjectContextData_0.Read(or, ob);
     }
     else
     {
         this.dxfMTextObjectContextData_0 = (DxfMTextObjectContextData)null;
     }
 }
예제 #19
0
파일: EdgeStyle.cs 프로젝트: 15831944/WW
 internal void Read(Class434 or, DxfVisualStyle.Class486 pr)
 {
     if (or.Version < DxfVersion.Dxf24)
     {
         this.edgeModel_0         = (EdgeModel)pr.vmethod_3();
         this.edgeStyleFlags_0    = (EdgeStyleFlags)pr.vmethod_3();
         this.color_0             = pr.vmethod_5();
         this.color_1             = pr.vmethod_5();
         this.lineType_0          = (LineType)pr.vmethod_3();
         this.double_0            = pr.vmethod_4();
         this.edgeModifierFlags_0 = (EdgeModifierFlags)pr.vmethod_3();
         this.color_2             = pr.vmethod_5();
         this.double_1            = pr.vmethod_4();
         this.int_0                  = (int)pr.vmethod_2();
         this.int_1                  = (int)pr.vmethod_2();
         this.jitterAmount_0         = (JitterAmount)pr.vmethod_3();
         this.color_3                = pr.vmethod_5();
         this.int_2                  = (int)pr.vmethod_2();
         this.int_3                  = (int)pr.vmethod_1();
         this.int_4                  = (int)pr.vmethod_2();
         this.bool_0                 = pr.vmethod_0();
         this.edgeStyleApplication_0 = (EdgeStyleApplication)pr.vmethod_2();
         this.lineType_1             = (LineType)pr.vmethod_2();
     }
     else
     {
         this.edgeModel_0         = (EdgeModel)pr.vmethod_3();
         this.edgeStyleFlags_0    = (EdgeStyleFlags)pr.vmethod_3();
         this.color_0             = pr.vmethod_5();
         this.color_1             = pr.vmethod_5();
         this.lineType_0          = (LineType)pr.vmethod_3();
         this.lineType_1          = (LineType)pr.vmethod_3();
         this.double_0            = pr.vmethod_4();
         this.edgeModifierFlags_0 = (EdgeModifierFlags)pr.vmethod_3();
         this.color_2             = pr.vmethod_5();
         this.double_1            = pr.vmethod_4();
         this.int_0          = (int)(short)pr.vmethod_3();
         this.int_1          = (int)(short)pr.vmethod_3();
         this.jitterAmount_0 = (JitterAmount)pr.vmethod_3();
         this.color_3        = pr.vmethod_5();
         this.int_2          = (int)(short)pr.vmethod_3();
         this.int_3          = (int)(short)pr.vmethod_3();
         this.int_4          = (int)(short)pr.vmethod_3();
         this.bool_0         = pr.vmethod_0();
     }
 }
예제 #20
0
        internal override void Read(Class434 or, Class259 ob)
        {
            base.Read(or, ob);
            Interface30 objectBitStream = or.ObjectBitStream;

            this.dxfPattern_0 = new DxfPattern();
            this.dxfPattern_0.Read(objectBitStream);
            this.double_0   = objectBitStream.imethod_8();
            this.vector3D_0 = objectBitStream.imethod_51();
            int num = objectBitStream.imethod_11();

            for (int index = 0; index < num; ++index)
            {
                DxfHatch.BoundaryPath boundaryPath = new DxfHatch.BoundaryPath();
                boundaryPath.Read(or, false);
                this.list_0.Add(boundaryPath);
            }
        }
예제 #21
0
        internal override void Read(Class434 or, Class259 ob)
        {
            base.Read(or, ob);
            Interface30 objectBitStream = or.ObjectBitStream;

            this.AttachmentPoint = (AttachmentPoint)objectBitStream.imethod_11();
            this.XDirection      = objectBitStream.imethod_51();
            this.Location        = objectBitStream.imethod_39();
            this.size2D_0.X      = objectBitStream.imethod_8();
            this.size2D_0.Y      = objectBitStream.imethod_8();
            this.size2D_1.X      = objectBitStream.imethod_8();
            this.size2D_1.Y      = objectBitStream.imethod_8();
            DxfMTextObjectContextData.ColumnType columnType = (DxfMTextObjectContextData.ColumnType)objectBitStream.imethod_11();
            if (columnType == DxfMTextObjectContextData.ColumnType.NoColumns)
            {
                this.Columns = (DxfMTextObjectContextData.ColumnsData)null;
            }
            else
            {
                this.Columns = new DxfMTextObjectContextData.ColumnsData()
                {
                    Type           = columnType,
                    ColumnsCount   = objectBitStream.imethod_11(),
                    ColumnWidth    = objectBitStream.imethod_8(),
                    Gutter         = objectBitStream.imethod_8(),
                    IsAutoHeight   = objectBitStream.imethod_6(),
                    IsFlowReversed = objectBitStream.imethod_6()
                };
                if (this.Columns.IsAutoHeight || this.Columns.Type != DxfMTextObjectContextData.ColumnType.DynamicColumns || this.Columns.ColumnsCount == 0)
                {
                    return;
                }
                this.Columns.ColumnHeights = new List <double>();
                for (int index = 0; index < this.Columns.ColumnsCount; ++index)
                {
                    this.Columns.ColumnHeights.Add(objectBitStream.imethod_8());
                }
            }
        }
예제 #22
0
    protected void method_25(Class148 A_0, Class148 A_1)
    {
        int num = base.method_4();

        for (int i = 0; i < num; i++)
        {
            int      num4   = base.method_16(i);
            Class434 class3 = (Class434)base.method_18(i);
            class3.int_0 = 0;
            for (int j = 0; j < num; j++)
            {
                Class760 class2 = new Class760(A_0.method_16(j), A_1.method_16(j));
                if (!class2.method_1() && class2.method_0(num4))
                {
                    class3.int_0++;
                }
                if (class2.method_2() > num4)
                {
                    break;
                }
            }
        }
    }
예제 #23
0
 internal void Read(Class434 or, DxfVisualStyle.Class486 pr)
 {
     if (or.Version < DxfVersion.Dxf24)
     {
         this.faceLightingModel_0   = (FaceLightingModel)pr.vmethod_3();
         this.faceLightingQuality_0 = (FaceLightingQuality)pr.vmethod_3();
         this.faceColorMode_0       = (FaceColorMode)pr.vmethod_3();
         this.double_0            = pr.vmethod_4();
         this.double_1            = pr.vmethod_4();
         this.color_1             = pr.vmethod_5();
         this.faceModifierFlags_0 = (FaceModifierFlags)pr.vmethod_3();
     }
     else
     {
         this.faceLightingModel_0   = (FaceLightingModel)pr.vmethod_3();
         this.faceLightingQuality_0 = (FaceLightingQuality)pr.vmethod_3();
         this.faceColorMode_0       = (FaceColorMode)pr.vmethod_3();
         this.faceModifierFlags_0   = (FaceModifierFlags)pr.vmethod_3();
         this.double_0 = pr.vmethod_4();
         this.double_1 = pr.vmethod_4();
         this.color_1  = pr.vmethod_5();
     }
 }
예제 #24
0
        internal override void Read(Class434 or, Class259 ob)
        {
            base.Read(or, ob);
            Interface30 objectBitStream = or.ObjectBitStream;

            this.point2D_0 = objectBitStream.imethod_38();
            this.bool_2    = objectBitStream.imethod_6();
            this.double_0  = objectBitStream.imethod_8();
            ((DxfDimensionObjectContextData.Class313)ob).BlockHandle = or.method_100();
            this.bool_1   = objectBitStream.imethod_6();
            this.bool_4   = objectBitStream.imethod_6();
            this.bool_3   = objectBitStream.imethod_6();
            this.short_1  = objectBitStream.imethod_6() ? (short)1 : (short)0;
            this.bool_5   = objectBitStream.imethod_6();
            this.short_2  = objectBitStream.imethod_6() ? (short)1 : (short)0;
            this.enum33_0 = (DxfDimensionObjectContextData.Enum33)objectBitStream.imethod_18();
            this.bool_6   = objectBitStream.imethod_6();
            this.bool_7   = objectBitStream.imethod_6();
            if (this.bool_6)
            {
                this.bool_7 = !this.bool_7;
            }
            this.bool_8 = objectBitStream.imethod_6();
        }
예제 #25
0
 internal override void Read(Class434 or, Class259 ob)
 {
     base.Read(or, ob);
     this.method_10(or, ob);
 }
예제 #26
0
 internal virtual void vmethod_11(Class434 or, Class285 entityBuilder, long imageSize)
 {
     or.ObjectBitStream.imethod_52((int)imageSize);
 }
예제 #27
0
 internal override void Read(Class434 or, Class259 objectBuilder)
 {
     or.method_90((Class285)objectBuilder);
 }
예제 #28
0
 internal override void vmethod_8(Class434 or, Class259 objectBuilder)
 {
 }
 public abstract void Visit(Class434 c);
예제 #30
0
 internal void method_4(Class434 or, Class259 objectBuilder)
 {
     this.vmethod_8(or, objectBuilder);
     this.Read(or, objectBuilder);
 }
 public override void Visit(Class434 c) { }
예제 #32
0
 internal override void Read(Class434 or, Class259 ob)
 {
     or.method_8((Class260)ob, false);
     ((Class266)ob).Dependency = or.method_100();
 }