コード例 #1
0
 public XGraphicsPdfRenderer(XForm form, XGraphics gfx)
 {
     _form = form;
     _colorMode = form.Owner.Options.ColorMode;
     _gfx = gfx;
     _content = new StringBuilder();
     form.PdfRenderer = this;
     _gfxState = new PdfGraphicsState(this);
 }
コード例 #2
0
 public XGraphicsPdfRenderer(PdfPage page, XGraphics gfx, XGraphicsPdfPageOptions options)
 {
     _page = page;
     _colorMode = page._document.Options.ColorMode;
     _options = options;
     _gfx = gfx;
     _content = new StringBuilder();
     page.RenderContent._pdfRenderer = this;
     _gfxState = new PdfGraphicsState(this);
 }
コード例 #3
0
        public PdfGraphicsState Clone()
        {
            PdfGraphicsState state = (PdfGraphicsState)MemberwiseClone();

            return(state);
        }