Esempio n. 1
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;
        }
Esempio n. 2
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfViewport dxfViewport = (DxfViewport)from;

            this.point3D_0  = dxfViewport.point3D_0;
            this.size2D_0   = dxfViewport.size2D_0;
            this.point2D_0  = dxfViewport.point2D_0;
            this.point2D_1  = dxfViewport.point2D_1;
            this.vector2D_0 = dxfViewport.vector2D_0;
            this.vector2D_1 = dxfViewport.vector2D_1;
            this.vector3D_0 = dxfViewport.vector3D_0;
            this.point3D_1  = dxfViewport.point3D_1;
            this.double_1   = dxfViewport.double_1;
            this.double_2   = dxfViewport.double_2;
            this.double_3   = dxfViewport.double_3;
            this.double_4   = dxfViewport.double_4;
            this.double_5   = dxfViewport.double_5;
            this.double_6   = dxfViewport.double_6;
            this.double_7   = dxfViewport.double_7;
            foreach (DxfLayer from1 in dxfViewport.dxfHandledObjectCollection_1)
            {
                DxfLayer layer = Class906.GetLayer(cloneContext, from1);
                if (!this.dxfHandledObjectCollection_1.Contains(layer))
                {
                    this.dxfHandledObjectCollection_1.Add(layer);
                }
            }
            this.StatusFlags          = dxfViewport.viewportStatusFlags_0;
            this.dxfObjectReference_6 = DxfObjectReference.Null;
            this.string_1             = dxfViewport.string_1;
            this.renderMode_0         = dxfViewport.renderMode_0;
            this.bool_2               = dxfViewport.bool_2;
            this.bool_3               = dxfViewport.bool_3;
            this.dxfUcs_0             = Class906.smethod_2(cloneContext, dxfViewport.dxfUcs_0);
            this.orthographicType_0   = dxfViewport.orthographicType_0;
            this.shadePlotMode_0      = dxfViewport.shadePlotMode_0;
            this.short_1              = dxfViewport.short_1;
            this.bool_4               = dxfViewport.bool_4;
            this.lightingType_0       = dxfViewport.lightingType_0;
            this.double_8             = dxfViewport.double_8;
            this.double_9             = dxfViewport.double_9;
            this.color_0              = dxfViewport.color_0;
            this.ViewportEntityHeader = dxfViewport.dxfViewportEntityHeader_0 != null ? (DxfViewportEntityHeader)dxfViewport.dxfViewportEntityHeader_0.Clone(cloneContext) : (DxfViewportEntityHeader)null;
            this.method_23();
        }
Esempio n. 3
0
 public void Visit(DxfLayer value)
 {
     this.dxfHandledObject_0 = (DxfHandledObject)Class906.GetLayer(this.cloneContext_0, value);
 }