Beispiel #1
0
 internal override void Format(Area area, FormatInfo previousFormatInfo)
 {
   FormattedTextFrame formattedTextFrame = new FormattedTextFrame(this.textframe, this.documentRenderer, this.fieldInfos);
   formattedTextFrame.Format(this.gfx);
   ((TextFrameFormatInfo)this.renderInfo.FormatInfo).formattedTextFrame = formattedTextFrame;
   base.Format(area, previousFormatInfo);
 }
Beispiel #2
0
 internal override void Format(Area area, FormatInfo previousFormatInfo)
 {
     FormattedTextFrame formattedTextFrame = new FormattedTextFrame(_textframe, _documentRenderer, _fieldInfos);
     formattedTextFrame.Format(_gfx);
     ((TextFrameFormatInfo)_renderInfo.FormatInfo).FormattedTextFrame = formattedTextFrame;
     base.Format(area, previousFormatInfo);
 }
        internal override void Format(Area area, FormatInfo previousFormatInfo)
        {
            FormattedTextFrame formattedTextFrame = new FormattedTextFrame(_textframe, _documentRenderer, _fieldInfos);

            formattedTextFrame.Format(_gfx);
            ((TextFrameFormatInfo)_renderInfo.FormatInfo).FormattedTextFrame = formattedTextFrame;
            base.Format(area, previousFormatInfo);
        }
        internal override void Format(Area area, FormatInfo previousFormatInfo)
        {
            FormattedTextFrame formattedTextFrame = new FormattedTextFrame(this.textframe, this.documentRenderer, this.fieldInfos);

            formattedTextFrame.Format(this.gfx);
            ((TextFrameFormatInfo)this.renderInfo.FormatInfo).formattedTextFrame = formattedTextFrame;
            base.Format(area, previousFormatInfo);
        }
        void RenderContent()
        {
            FormattedTextFrame formattedTextFrame = ((TextFrameFormatInfo)_renderInfo.FormatInfo).FormattedTextFrame;

            RenderInfo[] renderInfos = formattedTextFrame.GetRenderInfos();
            if (renderInfos == null)
            {
                return;
            }

            XGraphicsState state = Transform();

            RenderByInfos(renderInfos);
            ResetTransform(state);
        }