コード例 #1
0
ファイル: TextFrameRenderer.cs プロジェクト: GorelH/PdfSharp
 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);
 }
コード例 #2
0
ファイル: TextFrameRenderer.cs プロジェクト: Sl0vi/MigraDoc
 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);
 }
コード例 #3
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);
        }
コード例 #4
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);
        }
コード例 #5
0
        void RenderContent()
        {
            FormattedTextFrame formattedTextFrame = ((TextFrameFormatInfo)_renderInfo.FormatInfo).FormattedTextFrame;

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

            XGraphicsState state = Transform();

            RenderByInfos(renderInfos);
            ResetTransform(state);
        }