Examples of EpsGraphic


Examples of org.axsl.graphic.EpsGraphic

            return xObject;
        }

        /* ... otherwise, create a new one. */
        if (img instanceof EpsGraphic) {
            final EpsGraphic epsGraphic = (EpsGraphic) img;
            xObject = new PDFXFormEps(pdfDoc, epsGraphic);
        } else if (img instanceof SvgGraphic) {
            final SvgGraphic svgGraphic = (SvgGraphic) img;
            xObject = new PDFXFormSvg(pdfDoc, svgGraphic, fontConsumer,
                    strokeText);
View Full Code Here

Examples of org.axsl.graphic.EpsGraphic

    /**
     * {@inheritDoc}
     */
    public float getHorizontalScaling(
            final Rectangle2D.Float contentRectangle) {
        final EpsGraphic eps = this.getGraphic();
        final float graphicWidth = eps.getBoundingBox().width();
        return contentRectangle.width / graphicWidth;
    }
View Full Code Here

Examples of org.axsl.graphic.EpsGraphic

    /**
     * {@inheritDoc}
     */
    public float getVerticalScaling(final Rectangle2D.Float contentRectangle) {
        final EpsGraphic eps = this.getGraphic();
        final float graphicHeight = eps.getBoundingBox().height();
        return contentRectangle.height / graphicHeight;
    }
View Full Code Here

Examples of org.foray.graphic.EPSGraphic

         * indicates that it is needed.
         */
        if (! isEPS) {
            return null;
        }
        return new EPSGraphic(this.getServer(), url, bis, isAscii);
    }
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.