Package org.foray.graphic

Examples of org.foray.graphic.Graphic4a


    /**
     * {@inheritDoc}
     */
    public GraphicPdf4a createGraphicOutput(final Graphic graphic)
            throws GraphicException {
        final Graphic4a graphic4a = super.getGraphic4a(graphic);
        if (graphic4a instanceof SVGGraphic) {
            final SVGGraphic svgGraphic = (SVGGraphic) graphic4a;
            return new SvgPdf(svgGraphic);
        }
        if (graphic4a instanceof MathGraphic4a) {
View Full Code Here


     */
    public Graphic4a makeGraphic(final URL url,
            final BufferedInputStream bis) throws IOException {
        // Mark the stream so that it can be reset after the attempt.
        bis.mark(maxBytesToVerify());
        final Graphic4a graphic = attemptCreate(url, bis);
        // Reset the stream so that is can be reused later.
        bis.reset();
        return graphic;
    }
View Full Code Here

    /**
     * {@inheritDoc}
     */
    public GraphicPs4a createGraphicOutput(final Graphic graphic)
            throws GraphicException {
        final Graphic4a graphic4a = super.getGraphic4a(graphic);
        if (graphic4a instanceof SVGGraphic) {
            final SVGGraphic svgGraphic = (SVGGraphic) graphic4a;
            return new SvgPs(svgGraphic);
        }
        return null;
View Full Code Here

    /**
     * {@inheritDoc}
     */
    public GraphicJava2d4a createGraphicOutput(final Graphic graphic)
            throws GraphicException {
        final Graphic4a graphic4a = super.getGraphic4a(graphic);
        if (graphic4a instanceof SVGGraphic) {
            final SVGGraphic svgGraphic = (SVGGraphic) graphic4a;
            return new SvgJava2d(svgGraphic);
        }
        return null;
View Full Code Here

TOP

Related Classes of org.foray.graphic.Graphic4a

Copyright © 2018 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.