url = new File(".").toURI().toURL();
}
final SVGDocument document = (SVGDocument) loader.loadDocument
(url.toURI().toASCIIString(), data.getResourceAsStream(caller));
final BridgeContext ctx = new BridgeContext(userAgent, loader);
final GVTBuilder builder = new GVTBuilder();
final GraphicsNode node = builder.build(ctx, document);
final Rectangle2D bounds = node.getBounds();
final SVGDrawable drawable = new SVGDrawable(node);
final BufferedImage bi = new BufferedImage((int) bounds.getWidth(), (int) bounds.getHeight(), BufferedImage.TYPE_INT_ARGB);
final Graphics2D graphics = (Graphics2D) bi.getGraphics();