public override void DrawInternal( DrawContext.Surface context, ISurfaceGraphicsFactory graphicsFactory) { Interface41 transformer = (Interface41)context.GetTransformer().Clone(); transformer.SetPreTransform(this.Transform); IList <WW.Math.Geometry.Polyline3D> polylines; IList <FlatShape4D> shapes; this.method_13((DrawContext)context, transformer.LineTypeScaler, out polylines, out shapes); IList <Polyline4D> polyline4DList = DxfUtil.smethod_51(polylines, transformer); if (polyline4DList.Count > 0) { graphicsFactory.SetColor(context.GetPlotColor((DxfEntity)this)); foreach (Polyline4D polyline4D in (IEnumerable <Polyline4D>)polyline4DList) { graphicsFactory.CreatePolyline((IList <Vector4D>)polyline4D, polyline4D.Closed); } } if (shapes == null) { return; } Class940.smethod_24((IPathDrawer) new Class473((DxfEntity)this, context, graphicsFactory), (IEnumerable <FlatShape4D>)shapes, this.Color.ToColor(), context.GetLineWeight((DxfEntity)this), 0.0); }