Examples of concatCTM()


Examples of com.itextpdf.text.pdf.PdfContentByte.concatCTM()

      String t = "<?xml version='1.0' encoding='ISO-8859-1'"
                 + " standalone='no'?>" + s1.toString();
      PdfContentByte cb = writer.getDirectContent();
      cb.saveState();
      cb.concatCTM(1.0f, 0, 0, 1.0f, 36, 0);
      float width = document.getPageSize().getWidth() - 20;
      float height = document.getPageSize().getHeight() - 20;
      Graphics2D g2 = cb.createGraphics(width, height);
      //g2.rotate(Math.toRadians(-90), 100, 100);
      PrintTranscoder prm = new PrintTranscoder();
View Full Code Here

Examples of com.lowagie.text.pdf.PdfContentByte.concatCTM()

            cb.lineTo(336.448f, 119.386f);
            cb.curveTo(331.072f, 128.643f, 323.346f, 137.376f, 316.789f, 140.311f);
            cb.clip();
            cb.newPath();
            cb.saveState();
            cb.concatCTM(27.7843f, 0, 0, -27.7843f, 310.2461f, 121.1521f);
            cb.paintShading(shading);
            cb.restoreState();
           
            cb.sanityCheck();
           
View Full Code Here

Examples of com.lowagie.text.pdf.PdfContentByte.concatCTM()

            // step 3: we open the document
            document.open();
           
            // step 4:
            PdfContentByte cb = writer.getDirectContent();
            cb.concatCTM(1f, 0f, 0f, -1f, 0f, LwgPageSize.A4.getHeight());
           
            // we create a PdfTemplate
            PdfTemplate template = cb.createTemplate(25, 25);
           
            // we add some crosses to visualize the coordinates
View Full Code Here

Examples of com.lowagie.text.pdf.PdfContentByte.concatCTM()

        String t = "<?xml version='1.0' encoding='ISO-8859-1'"
                   + " standalone='no'?>" + s1.toString();
        PdfContentByte cb = writer.getDirectContent();
        cb.saveState();
        cb.concatCTM(1.0f, 0, 0, 1.0f, 36, 0);
        float width = document.getPageSize().getWidth() - 20;
        float height = document.getPageSize().getHeight() - 20;
        Graphics2D g2 = cb.createGraphics(width, height);
        //g2.rotate(Math.toRadians(-90), 100, 100);
        PrintTranscoder prm = new PrintTranscoder();
View Full Code Here

Examples of com.lowagie.text.pdf.PdfContentByte.concatCTM()

            // step 3: we open the document
            document.open();
           
            // step 4:
            PdfContentByte cb = writer.getDirectContent();
            cb.concatCTM(1f, 0f, 0f, -1f, 0f, PageSize.A4.getHeight());
           
            // we create a PdfTemplate
            PdfTemplate template = cb.createTemplate(25, 25);
           
            // we add some crosses to visualize the coordinates
View Full Code Here

Examples of com.lowagie.text.pdf.PdfContentByte.concatCTM()

            cb.lineTo(336.448f, 119.386f);
            cb.curveTo(331.072f, 128.643f, 323.346f, 137.376f, 316.789f, 140.311f);
            cb.clip();
            cb.newPath();
            cb.saveState();
            cb.concatCTM(27.7843f, 0, 0, -27.7843f, 310.2461f, 121.1521f);
            cb.paintShading(shading);
            cb.restoreState();
           
            cb.sanityCheck();
           
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.