Exemplo n.º 1
0
 /// <summary>Copy constructor.</summary>
 /// <param name="source">the Graphics State to copy from</param>
 internal ParserGraphicsState(iText.Kernel.Pdf.Canvas.Parser.ParserGraphicsState source)
     : base(source)
 {
     if (source.clippingPath != null)
     {
         clippingPath = new Path(source.clippingPath);
     }
 }
Exemplo n.º 2
0
 /// <summary>Copy constructor.</summary>
 /// <param name="source">the Graphics State to copy from</param>
 internal ParserGraphicsState(iText.Kernel.Pdf.Canvas.Parser.ParserGraphicsState source)
     : base(source)
 {
     // NOTE: From the spec default value of this field should be the boundary of the entire imageable portion of the output page.
     if (source.clippingPath != null)
     {
         clippingPath = new Path(source.clippingPath);
     }
 }