}
// draw image
org.eclipse.swt.graphics.Rectangle rect = image.getBounds();
Rectangle newRect = new Rectangle(0, 0, rect.width, rect.height);
newRect.scale(getZoomLevel());
newRect.x = getBounds().x + ((getBounds().width - newRect.width) / 2);
newRect.y = getBounds().y + ((getBounds().height - newRect.height) / 2);
graphics.drawImage(image, rect.x, rect.y, rect.width, rect.height, newRect.x, newRect.y, newRect.width, newRect.height);
image.dispose();