public override void DrawInternal( DrawContext.Surface context, Graphics graphics, IGraphicElementBlock parentGraphicElementBlock) { ArgbColor plotColor = context.GetPlotColor((DxfEntity)this); if (!graphics.AddExistingGraphicElement1(parentGraphicElementBlock, (DxfEntity)this, plotColor)) { return; } GraphicElement1 graphicElement = new GraphicElement1(plotColor); graphics.AddNewGraphicElement((DxfEntity)this, parentGraphicElementBlock, graphicElement); WW.Math.Geometry.Polyline3D polyline = this.method_13(); if (this.double_1 != 0.0) { Class940.Extrude(graphicElement.Geometry, polyline, this.Model.Header.FillMode, this.Thickness * this.ZAxis); } else { Class940.smethod_21((DxfEntity)this, context, graphicElement.Geometry, polyline, this.Model.Header.FillMode); } }