public override void ResolveReferences(Class374 modelBuilder) { base.ResolveReferences(modelBuilder); DxfShape handledObject = (DxfShape)this.HandledObject; if (this.ulong_6 != 0UL) { DxfTextStyle textStyle = modelBuilder.method_4 <DxfTextStyle>(this.ulong_6); if (textStyle == null) { return; } handledObject.SetShape(modelBuilder.Model, textStyle, handledObject.ShapeIndex, true); } else { if (handledObject.Name == null) { return; } foreach (DxfTextStyle textStyle in (DxfHandledObjectCollection <DxfTextStyle>)modelBuilder.Model.TextStyles) { if (textStyle.IsShape) { ShxFile shxFile = modelBuilder.Model.GetShxFile(textStyle.FontFilename); if (shxFile != null) { ushort?indexByDescription = shxFile.GetShapeIndexByDescription(handledObject.Name); if (indexByDescription.HasValue) { handledObject.SetShape(modelBuilder.Model, textStyle, indexByDescription.Value, false); break; } } } } } }
public void Visit(DxfShape shape) { this.method_0((DxfEntity)shape); }
public void Visit(DxfShape shape) { this.bool_0 = true; }
public Class300(DxfShape shape) : base((DxfEntity)shape) { }
/// <summary> /// Visits the specified entity. /// See the <see cref="IEntityVisitor"/> for more details. /// </summary> public override void Visit(DxfShape shape) { HandleEntity(shape); }