示例#1
0
        public override void DrawInternal(
            DrawContext.Surface context,
            ISurfaceGraphicsFactory graphicsFactory)
        {
            if (!this.IsVisible((DrawContext)context))
            {
                return;
            }
            DxfMText dxfMtext = this.method_20(context.Config);

            if (dxfMtext != null)
            {
                dxfMtext.DrawInternal(context, graphicsFactory);
            }
            else
            {
                base.DrawInternal(context, graphicsFactory);
            }
        }
示例#2
0
        public override void DrawInternal(
            DrawContext.Wireframe context,
            IWireframeGraphicsFactory2 graphicsFactory)
        {
            if (!this.IsVisible((DrawContext)context))
            {
                return;
            }
            DxfMText dxfMtext = this.method_21();

            if (dxfMtext != null)
            {
                dxfMtext.DrawInternal(context, graphicsFactory);
            }
            else
            {
                base.DrawInternal(context, graphicsFactory);
            }
        }
示例#3
0
        public override void DrawInternal(
            DrawContext.Surface context,
            Graphics graphics,
            IGraphicElementBlock parentGraphicElementBlock)
        {
            if (!this.IsVisible((DrawContext)context))
            {
                return;
            }
            DxfMText dxfMtext = this.method_20(context.Config);

            if (dxfMtext != null)
            {
                dxfMtext.DrawInternal(context, graphics, parentGraphicElementBlock);
            }
            else
            {
                base.DrawInternal(context, graphics, parentGraphicElementBlock);
            }
        }