Package org.apache.batik.bridge

Examples of org.apache.batik.bridge.SVGViewport


    /**
     * Returns the viewport to use to compute the percentages and the units.
     */
    public Viewport getViewport() {
        return new SVGViewport((SVGSVGElement)
            HiddenChildElementSupport.getParentElement(element),
                               this);
    }
View Full Code Here


        // <!> TODO only when binding is enabled
        BridgeEventSupport.addDOMListener(ctx, element);
        ctx.bind(element, node);

        ctx.setCurrentViewport(new SVGViewport(svgElement, uctx));
        return node;
    }
View Full Code Here

TOP

Related Classes of org.apache.batik.bridge.SVGViewport

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.