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); }
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); }
public PdfGraphicsState Clone() { PdfGraphicsState state = (PdfGraphicsState)MemberwiseClone(); return(state); }