try {
htmlPrintElement = HtmlPrintElementUtils.getHtmlPrintElement();
ImageDrawer imageDrawer = new ImageDrawer(); // FIXME maybe the ImageDrawer should be passed in from the PrintDrawVisitor
imageDrawer.draw(
grx,
htmlPrintElement.createImageFromElement(element),
offset.getX(),
offset.getY()
);