Package com.itextpdf.awt.geom

Examples of com.itextpdf.awt.geom.AffineTransform


     * @deprecated use com.itextpdf.text.geom.AffineTransform as parameter
     */
    public void addImage(final Image image, final java.awt.geom.AffineTransform transform) throws DocumentException {
      double matrix[] = new double[6];
      transform.getMatrix(matrix);
      addImage(image, new AffineTransform(matrix));
    }
View Full Code Here


     * @deprecated use com.itextpdf.text.geom.AffineTransform as parameter
     */
    public void addTemplate(final PdfTemplate template, final java.awt.geom.AffineTransform transform) {
      double matrix[] = new double[6];
      transform.getMatrix(matrix);
      addTemplate(template, new AffineTransform(matrix));
    }
View Full Code Here

     * @deprecated use com.itextpdf.text.geom.AffineTransform as parameter
     */
    public void concatCTM(final java.awt.geom.AffineTransform transform) {
      double matrix[] = new double[6];
      transform.getMatrix(matrix);
      concatCTM(new AffineTransform(matrix));
    }
View Full Code Here

     * @deprecated use com.itextpdf.text.geom.AffineTransform as parameter
     */
    public void setTextMatrix(final java.awt.geom.AffineTransform transform) {
      double matrix[] = new double[6];
      transform.getMatrix(matrix);
      setTextMatrix(new AffineTransform(matrix));
    }
View Full Code Here

     * @deprecated use com.itextpdf.text.geom.AffineTransform as parameter
     */
    public void transform(final java.awt.geom.AffineTransform af) {
        double matrix[] = new double[6];
        af.getMatrix(matrix);
        transform(new AffineTransform(matrix));
    }
View Full Code Here

                translationY = bottom;
            } else {
                translationY = 0f;
            }
            compositeColumn.getCanvas().saveState();
            compositeColumn.getCanvas().transform(new AffineTransform(1f, 0, 0, 1f, translationX, translationY));
        }

        if (!simulate) {
            if (backgroundColor != null && getActualWidth() > && getActualHeight() > 0) {
                float backgroundWidth = getActualWidth();
View Full Code Here

            if (image.getLayer() != null)
                beginLayer(image.getLayer());
            if (isTagged()) {
                if (inText)
                    endText();
                AffineTransform transform = new AffineTransform(a, b, c, d, e, f);
                Point2D[] src = new Point2D.Float[] {new Point2D.Float(0, 0), new Point2D.Float(1, 0), new Point2D.Float(1, 1), new Point2D.Float(0, 1)};
                Point2D[] dst = new Point2D.Float[4];
                transform.transform(src, 0, dst, 0, 4);
                float left = Float.MAX_VALUE;
                float right = -Float.MAX_VALUE;
                float bottom = Float.MAX_VALUE;
                float top = -Float.MAX_VALUE;
                for (int i = 0; i < 4; i++) {
View Full Code Here

     **/
    public void concatCTM(final float a, final float b, final float c, final float d, final float e, final float f) {
        if (inText && isTagged()) {
            endText();
        }
        state.CTM.concatenate(new AffineTransform(a, b, c, d, e, f));
        content.append(a).append(' ').append(b).append(' ').append(c).append(' ');
        content.append(d).append(' ').append(e).append(' ').append(f).append(" cm").append_i(separator);
    }
View Full Code Here

     * @deprecated use com.itextpdf.text.geom.AffineTransform as parameter
     */
    public void addImage(final Image image, final java.awt.geom.AffineTransform transform) throws DocumentException {
      double matrix[] = new double[6];
      transform.getMatrix(matrix);
      addImage(image, new AffineTransform(matrix));
    }
View Full Code Here

     * @deprecated use com.itextpdf.text.geom.AffineTransform as parameter
     */
    public void addTemplate(final PdfTemplate template, final java.awt.geom.AffineTransform transform) {
      double matrix[] = new double[6];
      transform.getMatrix(matrix);
      addTemplate(template, new AffineTransform(matrix));
    }
View Full Code Here

TOP

Related Classes of com.itextpdf.awt.geom.AffineTransform

Copyright © 2015 www.massapicom. 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.