Esempio n. 1
0
        public override IGraphCloneable Clone(CloneContext cloneContext)
        {
            DxfView dxfView = (DxfView)cloneContext.GetExistingClone((IGraphCloneable)this);

            if (dxfView == null)
            {
                dxfView = new DxfView();
                cloneContext.RegisterClone((IGraphCloneable)this, (IGraphCloneable)dxfView);
                dxfView.CopyFrom((DxfHandledObject)this, cloneContext);
            }
            return((IGraphCloneable)dxfView);
        }
Esempio n. 2
0
        public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext)
        {
            base.CopyFrom(from, cloneContext);
            DxfView dxfView = (DxfView)from;

            this.string_0           = dxfView.string_0;
            this.viewFlags_0        = dxfView.viewFlags_0;
            this.point2D_0          = dxfView.point2D_0;
            this.size2D_0           = dxfView.size2D_0;
            this.vector3D_0         = dxfView.vector3D_0;
            this.point3D_0          = dxfView.point3D_0;
            this.double_0           = dxfView.double_0;
            this.double_1           = dxfView.double_1;
            this.double_2           = dxfView.double_2;
            this.double_3           = dxfView.double_3;
            this.ViewMode           = dxfView.viewMode_0;
            this.renderMode_0       = dxfView.renderMode_0;
            this.bool_0             = dxfView.bool_0;
            this.Ucs                = Class906.smethod_2(cloneContext, dxfView.Ucs);
            this.orthographicType_0 = dxfView.orthographicType_0;
        }
Esempio n. 3
0
 internal Class469(DxfView view)
 {
     this.dxfView_0 = view;
 }