Package org.foray.area

Examples of org.foray.area.ExternalGraphicArea


        assertEquals(1, node.getChildCount());
        node = node.getChildAt(0);
        assertTrue(node instanceof ExternalGraphicArea);

        /* First test the size of the viewport. */
        final ExternalGraphicArea ega = (ExternalGraphicArea) node;
        final int width = ega.crIpd();
        /* 200 pixels @ 96 pixels per inch = (200 / 96) * 72,000 millipoints
         * = 150,000 millipoints. */
        assertEquals(150000, width);

        /* Now test the size of the content. */
 
View Full Code Here

TOP

Related Classes of org.foray.area.ExternalGraphicArea

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.