Beispiel #1
0
 public override void DrawInternal(
     DrawContext.Wireframe context,
     IWireframeGraphicsFactory graphicsFactory)
 {
     if (context.Config.TryDrawingTextAsText && graphicsFactory.SupportsText)
     {
         graphicsFactory.CreateMText(this, context);
     }
     else
     {
         this.method_16((DrawContext)context, (IPathDrawer) new ns0.Class0((DxfEntity)this, context, graphicsFactory));
         if (!context.Config.ShowTextAlignmentPoints)
         {
             return;
         }
         IList <Polyline4D> polylines = DxfUtil.smethod_36(this.method_18(), false, context.GetTransformer());
         if (polylines.Count <= 0)
         {
             return;
         }
         graphicsFactory.CreatePath((DxfEntity)this, context, context.GetPlotColor((DxfEntity)this), true, polylines, false, true);
     }
 }
Beispiel #2
0
 public void Draw(IWireframeGraphicsFactory graphicsFactory)
 {
     graphicsFactory.CreateMText(this.dxfMText_0, this.wireframe_0);
 }