Package org.axsl.graphic

Examples of org.axsl.graphic.MathGraphic


        } else if (img instanceof SvgGraphic) {
            final SvgGraphic svgGraphic = (SvgGraphic) img;
            xObject = new PDFXFormSvg(pdfDoc, svgGraphic, fontConsumer,
                    strokeText);
        } else if (img instanceof MathGraphic) {
            final MathGraphic mathGraphic = (MathGraphic) img;
            xObject = new PdfXFormMath(pdfDoc, mathGraphic, fontConsumer,
                    strokeText);
        } else if (img.getGraphicType() == Graphic.Type.PDF) {
            xObject = new PDFXReference(pdfDoc, img);
        } else {
View Full Code Here


        final ForeignObjectArea foreign = area.getParent();
        final Rectangle2D.Float contentRectangle = new Rectangle2D.Float(
                toPoints(foreign.crOriginX()), toPoints(foreign.crOriginY()),
                toPoints(foreign.referenceIpd()),
                toPoints(foreign.referenceBpd()));
        final MathGraphic mathGraphic = area.getGraphic();
        try {
            getContentStream().drawGraphic(mathGraphic,
                    contentRectangle, null, this.getFontConsumer(),
                    getStrokeSVGText());
        } catch (final PdfException e) {
View Full Code Here

TOP

Related Classes of org.axsl.graphic.MathGraphic

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.