int w = area.getContentWidth();
int h = area.getHeight();
this.currentYPosition -= h;
FopImage img = area.getImage();
if (img instanceof SVGImage) {
/*
* try {
* SVGSVGElement svg =
* ((SVGImage) img).getSVGDocument().getRootElement();
* currentStream.add("ET\nq\n" + (((float) w) / 1000f) +
* " 0 0 " + (((float) h) / 1000f) + " " +
* (((float) x) / 1000f) + " " +
* (((float)(y - h)) / 1000f) + " cm\n");
* // renderSVG(svg, (int) x, (int) y);
* currentStream.add("Q\nBT\n");
* } catch (FopImageException e) {
* }
*/
log.warn("SVG images not supported in this version");
} else {
String url = img.getURL();
this.mifDoc.addImage(url, x, pageHeight - y, w, h);
}
}