public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext) { base.CopyFrom(from, cloneContext); DxfLayout dxfLayout = (DxfLayout)from; this.bool_0 = dxfLayout.bool_0; this.string_8 = dxfLayout.string_8; this.layoutOptions_0 = dxfLayout.layoutOptions_0; this.int_0 = dxfLayout.int_0; this.rectangle2D_1 = dxfLayout.rectangle2D_1; this.point3D_0 = dxfLayout.point3D_0; this.point3D_1 = dxfLayout.point3D_1; this.point3D_2 = dxfLayout.point3D_2; this.double_7 = dxfLayout.double_7; this.Ucs = Class906.smethod_2(cloneContext, dxfLayout.Ucs); this.orthographicType_0 = dxfLayout.orthographicType_0; DxfBlock ownerBlock = dxfLayout.OwnerBlock; if (ownerBlock != null && ownerBlock.BlockBegin != null) { this.OwnerBlock = Class906.smethod_0(cloneContext, ownerBlock, true); } foreach (DxfHandledObject dxfHandledObject in (DxfHandledObjectCollection <DxfViewport>)dxfLayout.dxfViewportCollection_0) { this.dxfViewportCollection_0.Add((DxfViewport)dxfHandledObject.Clone(cloneContext)); } this.LastActiveViewport = (DxfHandledObject)cloneContext.GetExistingClone((IGraphCloneable)dxfLayout.LastActiveViewport); switch (dxfLayout.Handle) { case 30: case 34: this.SetHandle(dxfLayout.Handle); break; } }
public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext) { base.CopyFrom(from, cloneContext); DxfMText dxfMtext = (DxfMText)from; this.string_1 = dxfMtext.string_1; this.Style = Class906.GetTextStyle(cloneContext, dxfMtext.Style); this.point3D_0 = dxfMtext.point3D_0; this.double_1 = dxfMtext.double_1; this.double_2 = dxfMtext.double_2; this.double_3 = dxfMtext.double_3; this.attachmentPoint_0 = dxfMtext.attachmentPoint_0; this.drawingDirection_0 = dxfMtext.drawingDirection_0; this.vector3D_0 = dxfMtext.vector3D_0; this.vector3D_1 = dxfMtext.vector3D_1; this.lineSpacingStyle_0 = dxfMtext.lineSpacingStyle_0; this.double_4 = dxfMtext.double_4; this.backgroundFillFlags_0 = dxfMtext.backgroundFillFlags_0; if (dxfMtext.backgroundFillInfo_0 == null) { this.backgroundFillInfo_0 = (BackgroundFillInfo)null; } else { this.backgroundFillInfo_0 = dxfMtext.backgroundFillInfo_0.Clone(cloneContext); } }
public void CopyFrom(Class551 from, CloneContext cloneContext) { this.bool_0 = true; this.vector3D_0 = from.vector3D_0; this.TableStyle = from.TableStyle != null?Class906.smethod_4(cloneContext, from.TableStyle) : (DxfTableStyle)null; this.nullable_0 = from.nullable_0; this.nullable_1 = from.nullable_1; this.nullable_2 = from.nullable_2; this.nullable_3 = from.nullable_3; this.nullable_4 = from.nullable_4; this.class984_0.CopyFrom(from.class984_0, cloneContext); this.class984_1.CopyFrom(from.class984_1, cloneContext); this.class984_2.CopyFrom(from.class984_2, cloneContext); this.dxfTableBorderOverrides_0.CopyFrom(from.dxfTableBorderOverrides_0, cloneContext); this.dxfTableBorderOverrides_1.CopyFrom(from.dxfTableBorderOverrides_1, cloneContext); this.dxfTableBorderOverrides_2.CopyFrom(from.dxfTableBorderOverrides_2, cloneContext); this.dxfTableBorderOverrides_3.CopyFrom(from.dxfTableBorderOverrides_3, cloneContext); this.dxfTableBorderOverrides_4.CopyFrom(from.dxfTableBorderOverrides_4, cloneContext); this.dxfTableBorderOverrides_5.CopyFrom(from.dxfTableBorderOverrides_5, cloneContext); this.int_0 = from.int_0; foreach (Class430 class430 in (ActiveList <Class430>)from.class429_0) { this.class429_0.Add(class430.Clone(cloneContext)); } foreach (Class736 column in (ActiveList <Class736>)from.Columns) { this.class912_0.Add(column.Clone(cloneContext)); } this.bool_0 = false; }
public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext) { base.CopyFrom(from, cloneContext); DxfVPort dxfVport = (DxfVPort)from; this.string_0 = dxfVport.string_0; this.point2D_0 = dxfVport.point2D_0; this.point2D_1 = dxfVport.point2D_1; this.point2D_2 = dxfVport.point2D_2; this.point2D_3 = dxfVport.point2D_3; this.vector2D_0 = dxfVport.vector2D_0; this.vector2D_1 = dxfVport.vector2D_1; this.vector3D_0 = dxfVport.vector3D_0; this.point3D_0 = dxfVport.point3D_0; this.double_0 = dxfVport.double_0; this.double_1 = dxfVport.double_1; this.double_2 = dxfVport.double_2; this.double_3 = dxfVport.double_3; this.double_4 = dxfVport.double_4; this.double_5 = dxfVport.double_5; this.double_6 = dxfVport.double_6; this.standardFlags_0 = dxfVport.standardFlags_0; this.ViewMode = dxfVport.viewMode_0; this.short_0 = dxfVport.short_0; this.short_1 = dxfVport.short_1; this.bool_0 = dxfVport.bool_0; this.bool_1 = dxfVport.bool_1; this.snapStyle_0 = dxfVport.snapStyle_0; this.short_2 = dxfVport.short_2; this.renderMode_0 = dxfVport.renderMode_0; this.bool_2 = dxfVport.bool_2; this.bool_3 = dxfVport.bool_3; this.Ucs = Class906.smethod_2(cloneContext, dxfVport.Ucs); this.orthographicType_0 = dxfVport.orthographicType_0; }
internal Class14(FormatBase A_0, int A_1) : base(A_0, A_1) { this.frameDividerPositionType_0 = FrameDividerPositionType.Relative; this.int_8 = 1; this.class906_0 = new Class906(); this.color_0 = Color.Empty; this.framesetBorderType_0 = FramesetBorderType.Simple; }
internal Class14() { this.frameDividerPositionType_0 = FrameDividerPositionType.Relative; this.int_8 = 1; this.class906_0 = new Class906(); this.color_0 = Color.Empty; this.framesetBorderType_0 = FramesetBorderType.Simple; }
public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext) { base.CopyFrom(from, cloneContext); DxfBlockRepresentationData representationData = (DxfBlockRepresentationData)from; this.Version = representationData.Version; this.DynamicBlock = Class906.smethod_0(cloneContext, representationData.DynamicBlock, false); }
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); }
public void CopyFrom(DxfLineType.Element from, CloneContext cloneContext) { this.double_0 = from.double_0; this.elementType_0 = from.elementType_0; this.short_0 = from.short_0; this.TextStyle = Class906.GetTextStyle(cloneContext, from.TextStyle); this.double_1 = from.double_1; this.double_2 = from.double_2; this.vector2D_0 = from.vector2D_0; this.string_0 = from.string_0; cloneContext.CloneBuilders.Add((ICloneBuilder) new DxfLineType.Element.Class467(this)); }
public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext) { base.CopyFrom(from, cloneContext); DxfSortEntsTable dxfSortEntsTable = (DxfSortEntsTable)from; this.OwnerBlock = cloneContext.SourceModel != cloneContext.TargetModel ? Class906.smethod_0(cloneContext, dxfSortEntsTable.OwnerBlock, false) : (DxfBlock)cloneContext.GetExistingClone((IGraphCloneable)dxfSortEntsTable.OwnerBlock); foreach (DxfEntitySortWrapper from1 in dxfSortEntsTable.list_0) { DxfEntitySortWrapper entitySortWrapper = new DxfEntitySortWrapper(); entitySortWrapper.CopyFrom(cloneContext, from1); this.list_0.Add(entitySortWrapper); this.dictionary_0[entitySortWrapper.Entity.Reference] = entitySortWrapper; } }
public void CopyFrom(Class984 from, CloneContext cloneContext) { this.TextStyle = Class906.GetTextStyle(cloneContext, from.TextStyle); this.nullable_0 = from.nullable_0; this.nullable_1 = from.nullable_1; this.nullable_2 = from.nullable_2; this.nullable_3 = from.nullable_3; this.nullable_4 = from.nullable_4; this.dxfValueFormat_0 = from.dxfValueFormat_0 == null ? (DxfValueFormat)null : from.dxfValueFormat_0.Clone(); this.dxfTableBorderOverrides_0.CopyFrom(from.dxfTableBorderOverrides_0, cloneContext); this.dxfTableBorderOverrides_1.CopyFrom(from.dxfTableBorderOverrides_1, cloneContext); this.dxfTableBorderOverrides_2.CopyFrom(from.dxfTableBorderOverrides_2, cloneContext); this.dxfTableBorderOverrides_3.CopyFrom(from.dxfTableBorderOverrides_3, cloneContext); }
private void CopyFrom(DxfInsertBase from, CloneContext cloneContext) { base.CopyFrom((DxfHandledObject)from, cloneContext); this.Block = Class906.smethod_0(cloneContext, from.Block, false); this.activeDxfHandledObjectCollection_0.Clear(); foreach (DxfHandledObject dxfHandledObject in (DxfHandledObjectCollection <DxfAttribute>)from.activeDxfHandledObjectCollection_0) { this.activeDxfHandledObjectCollection_0.Add((DxfAttribute)dxfHandledObject.Clone(cloneContext)); } this.insertionPoint = from.insertionPoint; this.scaleFactor = from.scaleFactor; this.rotation = from.rotation; this.vector3D_0 = from.vector3D_0; this.AttributesSeqEnd.CopyFrom((DxfHandledObject)from.AttributesSeqEnd, cloneContext); }
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; }
public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext) { base.CopyFrom(from, cloneContext); DxfProxyEntity dxfProxyEntity = (DxfProxyEntity)from; this.dxfClass_0 = dxfProxyEntity.dxfClass_0 != null?Class906.smethod_9(cloneContext, dxfProxyEntity.dxfClass_0) : (DxfClass)null; this.proxyGraphics_0 = dxfProxyEntity.proxyGraphics_0 != null ? (ProxyGraphics)dxfProxyEntity.proxyGraphics_0.Clone(cloneContext) : (ProxyGraphics)null; this.dwgVersion_0 = dxfProxyEntity.dwgVersion_0; this.short_1 = dxfProxyEntity.short_1; this.bool_2 = dxfProxyEntity.bool_2; this.long_0 = dxfProxyEntity.long_0; if (dxfProxyEntity.stream_0 == null) { this.stream_0 = (Stream)null; } else { long position = dxfProxyEntity.stream_0.Position; dxfProxyEntity.stream_0.Position = 0L; this.stream_0 = (Stream) new PagedMemoryStream(dxfProxyEntity.stream_0, (long)(int)dxfProxyEntity.stream_0.Length); dxfProxyEntity.stream_0.Position = position; } this.uint_0 = dxfProxyEntity.uint_0; if (dxfProxyEntity.stream_1 == null) { this.stream_1 = (Stream)null; } else { long position = dxfProxyEntity.stream_1.Position; dxfProxyEntity.stream_1.Position = 0L; this.stream_1 = (Stream) new PagedMemoryStream(dxfProxyEntity.stream_1, (long)(int)dxfProxyEntity.stream_1.Length); dxfProxyEntity.stream_1.Position = position; } this.list_0.Clear(); foreach (DxfTypedObjectReference typedObjectReference in dxfProxyEntity.list_0) { if (typedObjectReference.ObjectReference.Value == null) { this.list_0.Add(new DxfTypedObjectReference(typedObjectReference.ReferenceType, DxfObjectReference.Null)); } else { this.list_0.Add(new DxfTypedObjectReference(typedObjectReference.ReferenceType, cloneContext.CloneReference((DxfHandledObject)typedObjectReference.ObjectReference.Value).Reference)); } } }
public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext) { base.CopyFrom(from, cloneContext); DxfShape dxfShape = (DxfShape)from; this.TextStyle = Class906.GetTextStyle(cloneContext, dxfShape.TextStyle); this.ushort_0 = dxfShape.ushort_0; this.double_1 = dxfShape.double_1; this.point3D_0 = dxfShape.point3D_0; this.double_2 = dxfShape.double_2; this.double_3 = dxfShape.double_3; this.double_4 = dxfShape.double_4; this.double_5 = dxfShape.double_5; this.vector3D_0 = dxfShape.vector3D_0; this.string_0 = dxfShape.string_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(); }
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; }
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); }
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; }
public override void CopyFrom(DxfHandledObject from, CloneContext cloneContext) { base.CopyFrom(from, cloneContext); DxfGeoData dxfGeoData = (DxfGeoData)from; this.int_0 = dxfGeoData.int_0; this.designCoordinatesType_0 = dxfGeoData.designCoordinatesType_0; this.HostBlock = Class906.smethod_0(cloneContext, dxfGeoData.HostBlock, false); this.point3D_0 = dxfGeoData.point3D_0; this.point3D_1 = dxfGeoData.point3D_1; this.vector2D_0 = dxfGeoData.vector2D_0; this.vector2D_1 = dxfGeoData.vector2D_1; this.unitsValue_0 = dxfGeoData.unitsValue_0; this.unitsValue_1 = dxfGeoData.unitsValue_1; this.vector3D_0 = dxfGeoData.vector3D_0; this.scaleEstimationMethod_0 = dxfGeoData.scaleEstimationMethod_0; this.bool_0 = dxfGeoData.bool_0; this.double_0 = dxfGeoData.double_0; this.double_1 = dxfGeoData.double_1; this.double_2 = dxfGeoData.double_2; this.string_0 = dxfGeoData.string_0; this.string_1 = dxfGeoData.string_1; this.string_2 = dxfGeoData.string_2; this.string_3 = dxfGeoData.string_3; this.string_4 = dxfGeoData.string_4; this.list_0.Clear(); foreach (GeoMeshPoint geoMeshPoint in dxfGeoData.list_0) { this.list_0.Add(new GeoMeshPoint(geoMeshPoint.Source, geoMeshPoint.Destination)); } this.list_1.Clear(); foreach (GeoMeshFace geoMeshFace in dxfGeoData.list_1) { this.list_1.Add(new GeoMeshFace(geoMeshFace.FaceIndex1, geoMeshFace.FaceIndex2, geoMeshFace.FaceIndex3)); } }
public DxfExtendedData Clone(CloneContext cloneContext) { return(new DxfExtendedData(Class906.smethod_3(cloneContext, this.AppId), (DxfExtendedData.ValueCollection) this.values.Clone(cloneContext))); }
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); }
public void Visit(DxfVPort value) { this.dxfHandledObject_0 = (DxfHandledObject)Class906.smethod_7(this.cloneContext_0, value); }
public void Visit(DxfBlock value) { this.dxfHandledObject_0 = (DxfHandledObject)Class906.smethod_0(this.cloneContext_0, value, false); }
public void Visit(DxfViewportEntityHeader value) { this.dxfHandledObject_0 = (DxfHandledObject)Class906.smethod_8(this.cloneContext_0, value); }
public void Visit(DxfTextStyle value) { this.dxfHandledObject_0 = (DxfHandledObject)Class906.GetTextStyle(this.cloneContext_0, value); }
public void Visit(DxfLineType value) { this.dxfHandledObject_0 = (DxfHandledObject)Class906.GetLineType(this.cloneContext_0, value); }
public void Visit(DxfLayer value) { this.dxfHandledObject_0 = (DxfHandledObject)Class906.GetLayer(this.cloneContext_0, value); }
public void Visit(DxfDimensionStyle value) { this.dxfHandledObject_0 = (DxfHandledObject)Class906.smethod_5(this.cloneContext_0, value); }