iTextSharp.text.pdf.parser.PdfContentStreamProcessor.ModifyCurrentTransformationMatrix.Invoke C# (CSharp) Method

Invoke() public method

public Invoke ( PdfContentStreamProcessor processor, PdfLiteral oper, List operands ) : void
processor PdfContentStreamProcessor
oper iTextSharp.text.pdf.PdfLiteral
operands List
return void
            public void Invoke(PdfContentStreamProcessor processor, PdfLiteral oper, List<PdfObject> operands)
            {
                float a = ((PdfNumber)operands[0]).FloatValue;
                float b = ((PdfNumber)operands[1]).FloatValue;
                float c = ((PdfNumber)operands[2]).FloatValue;
                float d = ((PdfNumber)operands[3]).FloatValue;
                float e = ((PdfNumber)operands[4]).FloatValue;
                float f = ((PdfNumber)operands[5]).FloatValue;
                Matrix matrix = new Matrix(a, b, c, d, e, f);
                GraphicsState gs = processor.gsStack.Peek();
                gs.ctm = matrix.Multiply(gs.ctm);
            }
PdfContentStreamProcessor.ModifyCurrentTransformationMatrix