Exemplo n.º 1
0
 public void ResolveReferences(CloneContext context)
 {
     this.dxfDimensionStyle_1.ArrowBlock                  = Class906.smethod_0(context, this.dxfDimensionStyle_0.ArrowBlock, false);
     this.dxfDimensionStyle_1.FirstArrowBlock             = Class906.smethod_0(context, this.dxfDimensionStyle_0.FirstArrowBlock, false);
     this.dxfDimensionStyle_1.SecondArrowBlock            = Class906.smethod_0(context, this.dxfDimensionStyle_0.SecondArrowBlock, false);
     this.dxfDimensionStyle_1.LeaderArrowBlock            = Class906.smethod_0(context, this.dxfDimensionStyle_0.LeaderArrowBlock, false);
     this.dxfDimensionStyle_1.TextStyle                   = Class906.GetTextStyle(context, this.dxfDimensionStyle_0.TextStyleInternal);
     this.dxfDimensionStyle_1.DimensionLineLineType       = Class906.GetLineType(context, this.dxfDimensionStyle_0.DimensionLineLineType);
     this.dxfDimensionStyle_1.FirstExtensionLineLineType  = Class906.GetLineType(context, this.dxfDimensionStyle_0.FirstExtensionLineLineType);
     this.dxfDimensionStyle_1.SecondExtensionLineLineType = Class906.GetLineType(context, this.dxfDimensionStyle_0.SecondExtensionLineLineType);
 }
Exemplo n.º 2
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfEntity dxfEntity = (DxfEntity)from;

            this.Layer          = Class906.GetLayer(cloneContext, dxfEntity.Layer);
            this.entityColor_0  = dxfEntity.entityColor_0;
            this.transparency_0 = dxfEntity.transparency_0;
            this.DxfColor       = Class906.smethod_10(cloneContext, dxfEntity.DxfColor);
            this.LineType       = Class906.GetLineType(cloneContext, dxfEntity.LineType);
            this.double_0       = dxfEntity.double_0;
            this.short_0        = dxfEntity.short_0;
            this.bool_0         = dxfEntity.bool_0;
            this.bool_1         = dxfEntity.bool_1;
        }
Exemplo n.º 3
0
 private void method_8(CloneContext context, DxfMLeaderStyle from)
 {
     this.contentType_0      = from.contentType_0;
     this.drawMLeaderOrder_0 = from.drawMLeaderOrder_0;
     this.drawLeaderOrder_0  = from.drawLeaderOrder_0;
     this.int_0                     = from.int_0;
     this.double_0                  = from.double_0;
     this.double_1                  = from.double_1;
     this.leaderType_0              = from.leaderType_0;
     this.color_0                   = from.color_0;
     this.LineType                  = Class906.GetLineType(context, from.LineType);
     this.int_1                     = from.int_1;
     this.bool_0                    = from.bool_0;
     this.double_2                  = from.double_2;
     this.bool_1                    = from.bool_1;
     this.double_3                  = from.double_3;
     this.string_0                  = from.string_0;
     this.ArrowHeadBlock            = Class906.smethod_0(context, from.ArrowHeadBlock, false);
     this.double_4                  = from.double_4;
     this.string_1                  = from.string_1;
     this.TextStyle                 = Class906.GetTextStyle(context, from.TextStyle);
     this.textAttachment_0          = from.textAttachment_0;
     this.textAngleType_0           = from.textAngleType_0;
     this.textAlignment_0           = from.textAlignment_0;
     this.textAttachment_1          = from.textAttachment_1;
     this.color_1                   = from.color_1;
     this.double_5                  = from.double_5;
     this.bool_2                    = from.bool_2;
     this.bool_3                    = from.bool_3;
     this.double_6                  = from.double_6;
     this.Block                     = Class906.smethod_0(context, from.Block, false);
     this.color_2                   = from.color_2;
     this.vector3D_0                = from.vector3D_0;
     this.bool_4                    = from.bool_4;
     this.double_7                  = from.double_7;
     this.bool_5                    = from.bool_5;
     this.blockConnectionType_0     = from.blockConnectionType_0;
     this.double_8                  = from.double_8;
     this.bool_6                    = from.bool_6;
     this.bool_7                    = from.bool_7;
     this.double_9                  = from.double_9;
     this.textAttachmentDirection_0 = from.textAttachmentDirection_0;
     this.textAttachment_2          = from.textAttachment_2;
     this.textAttachment_3          = from.textAttachment_3;
     this.bool_8                    = from.bool_8;
 }
Exemplo n.º 4
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfLayer dxfLayer = (DxfLayer)from;

            this.string_9       = dxfLayer.string_9;
            this.layerFlags_0   = dxfLayer.layerFlags_0;
            this.bool_0         = dxfLayer.bool_0;
            this.color_0        = dxfLayer.color_0;
            this.transparency_0 = dxfLayer.transparency_0;
            this.LineType       = Class906.GetLineType(cloneContext, dxfLayer.LineType);
            this.short_0        = dxfLayer.short_0;
            this.bool_1         = dxfLayer.bool_1;
            this.bool_2         = dxfLayer.bool_2;
            if (dxfLayer.Handle != 16UL)
            {
                return;
            }
            this.SetHandle(16UL);
        }
Exemplo n.º 5
0
 public void Visit(DxfLineType value)
 {
     this.dxfHandledObject_0 = (DxfHandledObject)Class906.GetLineType(this.cloneContext_0, value);
 }
Exemplo n.º 6
0
 public void CopyFrom(DxfMLineStyle.Element from, CloneContext cloneContext)
 {
     this.double_0 = from.double_0;
     this.color_0  = from.color_0;
     this.LineType = Class906.GetLineType(cloneContext, from.LineType);
 }